Skip to content

Releases: beforesemicolon/cwco

Release 1.7.8

19 Nov 06:55
40f54bf
Compare
Choose a tag to compare

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

10 Apr 20:45
Compare
Choose a tag to compare

🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊

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

New Contributors

Full Changelog: 1.5.0...1.6.0

Release 1.5.0

05 Feb 13:34
5a33326
Compare
Choose a tag to compare

🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊

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 is none 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

Full Changelog: 1.4.0...1.5.0

Release 1.4.0

19 Jan 16:11
418629d
Compare
Choose a tag to compare

🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊🎉🥳🎊

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 of document.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

Full Changelog: 1.3.0...1.4.0

Release 1.3.0

09 Jan 00:19
24d1103
Compare
Choose a tag to compare

🥳 👊🏽 🎉 🎊 🍾 🥂 🎁

Fixes 🛠

  • examples-tab offset for firefox
  • Binding attribute will no longer keep the attribute with curly braces in the value

New 🤩 🤯

Improvements 🦾

  • More efficient context data propagation
  • Prevent unnecessary updates when directive value did not change

What's Changed

New Contributors

  • @dym-sh made their first contribution in #7

Full Changelog: 1.2.0...1.3.0

Release 1.2.0

02 Jan 10:51
Compare
Choose a tag to compare

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 the stylesheet property and concat CSS style in the style tag to a single style tag.
  • Update docs broken links;
  • Several docs text fixes including improved examples and explanation of features;

What's Changed

New Contributors

Release 1.1.1

01 Jan 02:28
Compare
Choose a tag to compare
  • improved tracking
  • ability to define observed attributes default value
  • read-write template and stylesheet property
  • updated docs