Releases: BadIdeaException/object-selectors
Releases · BadIdeaException/object-selectors
v.2.3.0
v2.2.0
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
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
Changelog:
- Renamed
apply
toperform
to avoid overwriting methodapply
inherited fromFunction.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
v1.0.1
Initial release.