Skip to content

Releases: BadIdeaException/object-selectors

v.2.3.0

18 Feb 17:57
Compare
Choose a tag to compare

Changelog:

  • Added meta properties

Full Changelog: v2.2.0...v2.3.0

v2.2.0

17 Feb 17:03
Compare
Choose a tag to compare

Changelog:

  • Terminology change: pseudo elements are now called pseudo properties, as this more accurately describes their nature.
  • Massive performance boost of about 100%.
  • object-selectors is now built with a source map included, so errors generated by it will reference their corresponding lines in the source grammar instead of the generated parser. Run node with the --enable-source-maps option to benefit from this.
  • Whitespace may now appear before and after the accessor character (.) and between a property and its condition. This allows very long selectors to be broken up into several lines.

Full Changelog: v2.1.0...v2.2.0

v2.1.0

07 Jan 13:09
Compare
Choose a tag to compare

Changelog:

  • Added selection modes to options
  • Added selector union
  • Added not-strictly-equal and not-loosely-equal operators for conditions
  • Added pseudo-elements ::root, ::first, and ::last
  • Added uniqueness filtering to options
  • Added possibility to specify an appraisal function for options.collate
  • Fixed a bug that caused read operations to fail on getter properties returning a new object on each access
  • Fixed a bug that caused inherited properties to be ignored by wildcard selectors
  • Deprecated the use of the empty selector in favor of ::root

Full Changelog: v2.0.0...v2.1.0

v2.0.0

19 Nov 14:44
Compare
Choose a tag to compare

Changelog:

  • Renamed apply to perform to avoid overwriting method apply inherited from Function.prototype on compiled selectors
  • Changed the semantics of the empty selector: The empty selector now selects the input object

Full Changelog: v1.0.2...v2.0.0

v1.0.2

19 Nov 14:42
Compare
Choose a tag to compare

Changelog:

  • Fixed a bug that caused importing to fail

Full Changelog: v1.0.1...v1.0.2

v1.0.1

19 Nov 14:41
Compare
Choose a tag to compare

Initial release.