Skip to content

Releases: basisjs/basisjs

1.11.1

26 Oct 00:52

Choose a tag to compare

  • Fixed wrongly placed warning in router, when no callback is removed from route (@sm0g, #179)
  • Fixed warning about using a require when using with webpack

1.11.0

06 Sep 16:07

Choose a tag to compare

  • Changed basis.asset() and asset() to take second argument inline (optional). When parameter is true (other values are treats as false) those functions return a resource content instead of resource reference. Good for file content inlining into JavaScript source. basisjs-tools-build 1.9.0+ is required to work propertly on build. (@lahmatiy)
  • Reworked basis.router to make possible to create a parametrized route via passing second argument to basis.router.route(). Many thanks to @istrel for his awesome work on the feature (#150, #153). Some highlight on new routes:
    • Added route.params which contains typed reactive values two-way bound with location
    • Added automatic parsing and stringifying of query params
    • Added ability to normalize parameters via normalize param in route config
    • Added method getPath(params) for getting url to route
    • Added method navigate(params, replace) to navigate to the route
    • Added method update(params, replace) for bulk update route.params
  • Tracker
    • Allow transform event data via custom handler transformWithUIEvent (@tyanas, #154)
    • Fixed loadMap() crash when tracked data is a string (@istrel, #155)
  • Devpanel
    • Fixed global events releasing by devpanel when attempt to inspect a new template being in inspect mode (@smelukov, #157)
    • Fixed long attribute value output in template viewer (@smelukov, #159)
  • Changed basis.entity.is(value, type) to work for EntitySetType instances (@rdvornov)
  • Changed basis.ui.field.Combobox to close its popup by Esc (@prostoandrei, #176)
  • Fixed styles sourceUrl resolving in template declaration info (@smelukov, #163)
  • Use headless Chrome for unit testing that makes results stable (@istrel)

1.10.3

17 May 12:33

Choose a tag to compare

  • Fixed basis.entity.EntitySet#setAndDestroyRemoved() to destroy items when an empty array or null passed
  • Fixed using basis.js on node.js (#53)

1.10.2

16 Mar 11:54

Choose a tag to compare

  • Fixed wrong warning on successful route handler removal (#151)

1.10.1

03 Mar 11:11

Choose a tag to compare

  • Changed the way to inject SVG into document by basis.resource(), now it's storing SVG in invisible container to avoid browser specific bugs (@tyanas, #141)
  • Added keypress to input event list in basis.tracker (@MammaSonnim, #134)
  • Added role to basis.ui.ScrollPanel (@MammaSonnim, #136)
  • Implemented missed ruleEvents for basis.data.vector.Vector (@lahmatiy)
  • Fixed arguments order for basis.data.index.percentOfSum() (@lahmatiy)
  • Fixed object comparation in MapFilter by using safe isEqual() function (@smelukov, #148)
  • Fixed object comparation in Extract by using safe isEqual() function (@smelukov, #149)

1.10.0 basis.type, extensions for basis.tracker and fixes

14 Nov 13:39

Choose a tag to compare

Core

Data

  • Fixed behaviour on dataset reseting by flushing accumulated dataset changes on basis.data.Dataset#clear() (#116, @istrel)
  • Fixed issues on dataset destroy in accumulate state by flushing accumulated changes and prevent further itemsChanged events on AbstractDataset#destroy() (#116, @istrel)
  • Fixed basis.data.dataset.Merge create behavior in accumulate state (#118, @istrel)
  • Fixed basis.data.dataset.Subtract behavior in accumulate state (#121, @istrel)

UI

  • Implemented AbstractNode#getSatellitesDataset() method (#95, @smelukov)
  • Make charts work correctly with fractional numbers (#107, @wuzyk)
  • Fixed setting defaultOrder for auto-sorting header cell of basis.ui.table (#105, @lahmatiy)

Devtools

  • Added window.$b0..$b3 references to selected object (and previously selected) in template viewer (#103, @naorunaoru)
  • Added ability to cancel inspect mode by ESC (#129, @smelukov)
  • Fixed layout by adding missing flexbox prefixes (#104, @smelukov)
  • Fixed show source fails (#108, @smelukov)
  • Fixed total file count in file graph statistics (@lahmatiy)
  • Fixed issue when inspect mode doesn't cancel after a role is selected (#131, @smelukov)
  • Fixed open file calls (#129, @smelukov)
  • Fixed issue when inspect mode doesn't cancel after a l10n token is selected (#129, @smelukov)
  • Fixed source panel visibility reset on the inspector closing (#129, @smelukov)
  • Fixed issues for IE (#129, @smelukov)
  • Fixed data flow connector drawing issue (#114, @smelukov)

Other

  • Implemented roleId tracking (#110, @tyanas)
  • Implemented network activity tracking (#115, @tyanas)
  • Implemented user input with roles tracking (#122, #124, @tyanas)
  • Added requestUrl to requestData of basis.net.soap.Request (#109, @fateevv)
  • Added roles to basis.ui.slider.Slider component (#125, @MammaSonnim)
  • Fixed node.js 7 issue (bump karma version to use new version of socket.io) (#133, @smelukov)

1.9.2

31 Aug 16:56

Choose a tag to compare

  • Fixed .npmignore not to ignore src/devpanel/standalone/index.html

1.9.1

31 Aug 14:59

Choose a tag to compare

Devtools

  • Fixed warning grouping by source file
  • Fixed spinner overlay after first profile loading on warnings view
  • Fixed opening file in editor by click in template DOM tree view
  • Fixed file graph alignment to center in Firefox
  • Fixed edge arrows in file graph in Firefox
  • Fixed stanalone toolbar layout for old Webkit browsers (flexbox prefix issue)
  • Fixed issue with old location in Edge when stanalone loads in iframe with new src (using window.name as workaround)
  • Fixed various source warnings

1.9.0 Remote devtools

29 Aug 12:20

Choose a tag to compare

Work in this release was focused on reworking devpanel and inspectors to support remote inspection. Starting this version UI may to be transferred into any WebView as all-sufficient bundle that communicate with app to get data and pass commands to it. It's dramatically simplify developing and debugging of devtools and provides common UX for any remote tool developer uses (on page tools, another tab, browser plugin, embedded WebView etc).
Currently most important work on devtools platform has been done. In future versions devtools will be extended to support more features and better application state representation.

Core

  • Disabled implicitExt in basis-config (i.e. basis-config="explicitExt:false" by default now)
  • Core is now sync files update with dev-server by itself (it makes work file sync with noConflict:true)

Data

  • Improved basis.data.Value#as() method to convert string parameter to function via basis.getter()
  • Fixed value deep wrapping by basis.data.devWrap()
  • Added reference to source object for basis.data.index.IndexMap members

Template

  • Implemented basis.template.resolveInfoByNode() and basis.template.resolveInfoById() functions to simplify access to template instance description
  • Made basis.template.theme a basis.Token-like to compliment basis.l10n.culture
  • Fixed edge case when source of isolated style is reset

Devtools

  • Reworked to work on page and as remote tool
    • UI can to be build to bundle now
    • Improved transport protocols with dev-server and plugins
    • Drop legacy functionality
    • Various improvements and fixes
  • Implemented basic UI tree viewer
  • Implemented app warnings viewer
  • Implemented app file graph viewer

Other

  • Changed basis.app to accept non-factory functions as valid value for create method
  • Changed basis.dom.resize to use srcdoc and src to prevent net activity blinking on IFRAME's document load (#92)
  • Relaxing some checks for basis.ui.scroller (@naorunaoru, #98)
  • Fixed typo in basis.ui.pageslider (@wuzyk, #88)
  • Fixed issue with scrolling on basis.ui.slider on touch devices (@fateevv, #97)
  • Extended basis.dom.event to support touch and pointer events (@fateevv, #99)
  • Fixed warning in basis.dom.event about deprecated keyIdentifier
  • Fixed wrong warnings (#93)
    • Emitter instances don't warn on handler removing when already destroyed since it all its handlers already dropped
    • ReadOnlyValue instances don't add destroy handler on its value since they can't drop value anyway (and shouldn't)
    • Prevented double handler removing for Value.from() instances
  • Added link to remote devtool on index page if supported

1.8.3

19 Jul 15:57

Choose a tag to compare

  • Fixed issues with undefined or null as template source (now it converts to empty string)
  • Fixed using basis.template.SourceWrapper as cell template value in basis.ui.table
  • Fixed navigation up from basis.dom.wrapper.PartitionNode instance to parent in template inspector
  • Added the button to navigate up to group node in template inspector