Releases: beforesemicolon/cwco
Release 1.7.8
What's Changed
- build(deps): bump minimist from 1.2.5 to 1.2.6 by @dependabot in #28
- build(deps): bump minimatch from 3.0.4 to 3.1.2 by @dependabot in #32
Full Changelog: 1.6.0...1.7.8
Release 1.6.0
🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊
This release tackled a lot of internal code cleanup and refactoring, bug fixes and speed and tracking improvements for an even smoother experience. Some of these are:
Improvements 👌
- Improved tracking mechanism to better know when and where to update elements
- Better detect which properties need to be watched for changes;
- Improved rendering of slot tags to be faster and happen during the component mounting and not after
New 🎉
- Added support for stylesheet as an object (beta) learn more
What's Changed
- fix: should update trackers before adding them to the dom by @ECorreia45 in #24
- Bump minimist from 1.2.5 to 1.2.6 by @dependabot in #25
- Css json by @ECorreia45 in #26
- Release 1.6.0 by @ECorreia45 in #27
New Contributors
- @dependabot made their first contribution in #25
Full Changelog: 1.5.0...1.6.0
Release 1.5.0
🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊
This new release improves the internal code organization and introduced a better node tracking system which delivers 25% better node updates even for complex context data setup.
Improvements 👌
- improved style data binding anywhere inside the
stylesheet
body so even properties can be conditionally set; - better handling of
:host
selector and now support for:host-context
as well; - styles added to the head tag of the document body when
mode
isnone
will receive data-bind updates as well. - Improved tracking system which delivers faster DOM updates in a much easier to maintain code re-organization
Fixes 🔨
- a case where default property value inside the class was being ignored when the attribute was not present;
- JSON string provided via attribute is not parsed to JSON object as it was doing on previous versions
- slot tags now only trigger updates once instead of twice every time the component was added to the DOM;
- When a special case of nested repeated tags with inner if attributes were throwing maximum call stack dues to a weird nesting of tracked nodes
What's Changed
- Develop by @ECorreia45 in #20
- Simplified and improved tracking and context system by @ECorreia45 in #21
- Release 1.5.0 by @ECorreia45 in #22
Full Changelog: 1.4.0...1.5.0
Release 1.4.0
🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊
Fixes: 🔨
- Non-data-like objects were being proxied. These are things like DOM elements, class instances, etc. Now, only pure data objects are proxied. Things like Array, TypedArrays, Set, Map, and Object literals properties.
- Components in
none
mode that are used many times on the page will have a global style in the header and inside the shadow DOM as well. This is no longer the case. Their style will be included once in the document head tag. - Inline event handling has better support and works just like web standards for inline event handling on tags now. This includes proper mapping of the
this
keyword and complex logic. - Stylesheet CSS selector grouping now works properly
- Stylesheet CSS data binding for context web components restored. It stopped working with a previous update to support
link
in the stylesheet. - SVG tags are now parsed correctly. Previously they were being created with
document.createElement
instead ofdocument.createElementNS
Improvements: 👌
- Internal type and enums are now exposed for usage under the
CWCO
namespace - Now anything can be passed via attributes including class instances, Set, Map, functions, etc.
- Non-primitive value attribute is no longer kept on the element which would expose complex stringified data objects
New: 🆕
- New html utility for VSCode developers
What's Changed
- code of conduct by @ECorreia45 in #13
- Support for more data type pass via attr by @ECorreia45 in #14
- Release 1.4.0 by @ECorreia45 in #18
Full Changelog: 1.3.0...1.4.0
Release 1.3.0
🥳 👊🏽 🎉 🎊 🍾 🥂 🎁
Fixes 🛠
- examples-tab offset for firefox
- Binding attribute will no longer keep the attribute with curly braces in the value
New 🤩 🤯
- bind directive
- Getting started documentation
- Exposed internal types under CWCO namespace for typescript based projects
Improvements 🦾
- More efficient context data propagation
- Prevent unnecessary updates when directive value did not change
What's Changed
- fix
current-tab-indicator
offset in firefox by @dym-sh in #7 - Release 1.3.0 by @ECorreia45 in #11
New Contributors
Full Changelog: 1.2.0...1.3.0
Release 1.2.0
This release makes small internal improvements addressing some bugs and introducing small features:
Improvements
- Better handle multiple dom element references with
ref
directive where the list would contain duplicated entries of the same node; - Better support
link
tags in thestylesheet
property and concat CSS style in the style tag to a singlestyle
tag. - Update docs broken links;
- Several docs text fixes including improved examples and explanation of features;
What's Changed
- Release 1.1.1 by @ECorreia45 in #1
New Contributors
- @ECorreia45 made their first contribution in #1
Release 1.1.1
- improved tracking
- ability to define observed attributes default value
- read-write template and stylesheet property
- updated docs