Releases: basisjs/basisjs
Releases · basisjs/basisjs
1.11.1
1.11.0
- Changed
basis.asset()andasset()to take second argumentinline(optional). When parameter istrue(other values are treats asfalse) those functions return a resource content instead of resource reference. Good for file content inlining into JavaScript source.basisjs-tools-build1.9.0+ is required to work propertly on build. (@lahmatiy) - Reworked
basis.routerto make possible to create a parametrized route via passing second argument tobasis.router.route(). Many thanks to @istrel for his awesome work on the feature (#150, #153). Some highlight on new routes:- Added
route.paramswhich contains typed reactive values two-way bound with location - Added automatic parsing and stringifying of query params
- Added ability to normalize parameters via
normalizeparam 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 updateroute.params
- Added
- Tracker
- Devpanel
- Changed
basis.entity.is(value, type)to work forEntitySetTypeinstances (@rdvornov) - Changed
basis.ui.field.Comboboxto close its popup by Esc (@prostoandrei, #176) - Fixed styles
sourceUrlresolving in template declaration info (@smelukov, #163) - Use headless Chrome for unit testing that makes results stable (@istrel)
1.10.3
1.10.2
1.10.1
- Changed the way to inject
SVGinto document bybasis.resource(), now it's storingSVGin invisible container to avoid browser specific bugs (@tyanas, #141) - Added
keypressto input event list inbasis.tracker(@MammaSonnim, #134) - Added role to
basis.ui.ScrollPanel(@MammaSonnim, #136) - Implemented missed
ruleEventsforbasis.data.vector.Vector(@lahmatiy) - Fixed arguments order for
basis.data.index.percentOfSum()(@lahmatiy) - Fixed object comparation in
MapFilterby using safeisEqual()function (@smelukov, #148) - Fixed object comparation in
Extractby using safeisEqual()function (@smelukov, #149)
1.10.0 basis.type, extensions for basis.tracker and fixes
Core
- Implemented new module
basis.type(#100, @istrel) - Added warning when no
basis-configmarker is found (#120, @tyanas) - Fixed edge case for
basis.path.resolve()when base path is/(@lahmatiy)
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
itemsChangedevents onAbstractDataset#destroy()(#116, @istrel) - Fixed
basis.data.dataset.Mergecreate behavior in accumulate state (#118, @istrel) - Fixed
basis.data.dataset.Subtractbehavior in accumulate state (#121, @istrel)
UI
- Implemented
AbstractNode#getSatellitesDataset()method (#95, @smelukov) - Make charts work correctly with fractional numbers (#107, @wuzyk)
- Fixed setting
defaultOrderfor auto-sorting header cell ofbasis.ui.table(#105, @lahmatiy)
Devtools
- Added
window.$b0..$b3references 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 sourcefails (#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
roleIdtracking (#110, @tyanas) - Implemented network activity tracking (#115, @tyanas)
- Implemented user input with roles tracking (#122, #124, @tyanas)
- Added
requestUrltorequestDataofbasis.net.soap.Request(#109, @fateevv) - Added roles to
basis.ui.slider.Slidercomponent (#125, @MammaSonnim) - Fixed
node.js7 issue (bump karma version to use new version ofsocket.io) (#133, @smelukov)
1.9.2
1.9.1
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
Edgewhen stanalone loads in iframe with newsrc(usingwindow.nameas workaround) - Fixed various source warnings
1.9.0 Remote devtools
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
implicitExtinbasis-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 viabasis.getter() - Fixed value deep wrapping by
basis.data.devWrap() - Added reference to source object for
basis.data.index.IndexMapmembers
Template
- Implemented
basis.template.resolveInfoByNode()andbasis.template.resolveInfoById()functions to simplify access to template instance description - Made
basis.template.themeabasis.Token-like to complimentbasis.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.appto accept non-factory functions as valid value forcreatemethod - Changed
basis.dom.resizeto usesrcdocandsrcto prevent net activity blinking onIFRAME'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.slideron touch devices (@fateevv, #97) - Extended
basis.dom.eventto support touch and pointer events (@fateevv, #99) - Fixed warning in
basis.dom.eventabout deprecatedkeyIdentifier - Fixed wrong warnings (#93)
Emitterinstances don't warn on handler removing when already destroyed since it all its handlers already droppedReadOnlyValueinstances 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
- Fixed issues with
undefinedornullas template source (now it converts to empty string) - Fixed using
basis.template.SourceWrapperas cell template value inbasis.ui.table - Fixed navigation up from
basis.dom.wrapper.PartitionNodeinstance to parent in template inspector - Added the button to navigate up to group node in template inspector