Skip to content

v1.0.0

Compare
Choose a tag to compare
@kzu kzu released this 15 Jul 21:39
· 73 commits to main since this release

Changelog

v1.0.0 (2022-07-15)

Full Changelog

✨ Implemented enhancements:

  • Attribute value matching does not normalize single quote values #30
  • Document all supported selectors for text() in readme #28
  • Add nullable annotations to public surface API #26
  • Add text() pseudo-attribute selector #15
  • Add :has pseudo-class support #12
  • Add :nth-of-type pseudo class #11
  • Add :not pseudo-class #10
  • Add :first-of-type and :last-of-type pseudo classes #9
  • Add :empty pseudo-class support #8
  • Add :only-child pseudo-class selector #7
  • Add :first-child and :last-child pseudo-class selectors #6
  • Add support for :checked pseudo-class #5
  • Add minimal viable implementation of key selectors #1

🐛 Fixed bugs:

  • Child combinator selects only first child #36
  • If CSS identifier contains underscore, wrong XPath is built #34
  • If attribute value has quoted text with whitespace, fails to convert to XPath #22
  • If attribute value has quotes, XPath conversion fails #21

🔨 Other:

  • Add support for simplified syntax for nth-child #38
  • Add support for selector groups #32

🔀 Merged:

  • HTML > XML + CSS #48 (@kzu)
  • Add support for simplified syntax for nth-child #39 (@kzu)
  • Fix child combinator to XPath conversion #37 (@kzu)
  • Properly parse underscore in CSS identifiers #35 (@kzu)
  • Add support for selector groups #33 (@kzu)
  • Apply single quotes normalization to attribute value matching #31 (@kzu)
  • Add nullable annotations to public surface API #27 (@kzu)