This repository has been archived by the owner on Feb 21, 2020. It is now read-only.
Releases: apicart/brackets
Releases · apicart/brackets
v1.0.0-alpha2
Tests
- Updated existing tests
- Added filters tests
- Added macros tests
- Added components tests
- Added mixed and complex tests
Templates
- Template parameter can be now a function. It can return selected template element or string based on variables.
Rendering instances
- Refactored statuses. Removed the base statuses and added create, pending, redrawing, renderingToString, renderingToStringDone, bindingEventHandlers, destroy statuses
- Disabled redrawing in before and afterRender methods
- Children instances are now removed if the parent is going to be redrawed
- Statuses are now exposed under the Brackets.renderingInstancesStatuses
Render to string
- Removed before and afterRender methods. They are now available only in components and the render method.
Macros
- Added forEach, returnIf, continueIf, continue, break, breakIf macros
Cache Manager
- Added cache manager
- Cache manager is accessible under Brackets.cacheManager
- It encapsulates all caching processes and provides methods for work with cache
Cache
- Added resultCacheEnabled option that allows to cache the whole rendering process result
Configuration
- Added Brackets.configure method that accepts object with parameters as value. Now is possible to set delimiters.
Utils
- Added and exposed utils object under the Brackets.utils
Other
- Bug fixes
- Functionality Improvements
- Performance improvements
v1.0.0-alpha1
Initial release 🎉!