Skip to content

Releases: phax/ph-css

v8.2.1

16 May 19:19

Choose a tag to compare

  • Optimized output now compacts the box-model shorthand properties (margin, padding, border-width, border-style, border-color) so that e.g. padding:10px 10px 10px 10px is written as padding:10px. See #126 - thx @cjohansen
    • New extension point CSSShortHandDescriptor.getOptimizedExpression for descriptors that want to rewrite their expression on optimized write
    • Formatted (non-optimized) output is unchanged

Full Changelog: ph-css-parent-pom-8.2.0...ph-css-parent-pom-8.2.1

v8.2.0

27 Apr 18:58

Choose a tag to compare

  • Updated to ph-commons 12.2.0
  • Removed OSGI bundling
  • Added support for CSS Nesting (CSS Nesting Module Level 1). See #94 and #123 - thx @blutorange
    • New interface ICSSNestedRule as a marker for all nested CSS elements
    • New interface IHasCSSNestedRules for managing nested rules
    • New class CSSNestedDeclarations to represent nested style declarations
    • Added support for relative selectors in nested style rules
    • Updated CSSVisitor and ICSSVisitor with onBeginNestedDeclarations/onEndNestedDeclarations callbacks
    • Updated the CSS 3.0 grammar to support nested rules and the nesting selector (&)
  • Added support for the CSS @property rule. See #121 and #122 - thx @shagkur and @blutorange
    • New class CSSPropertyRule representing an @property at-rule with its descriptors
    • Invalid descriptors are silently dropped during parsing
  • Allow bare identifiers as values inside calc(). This fixes parsing of CSS Color Module 5 relative-color syntax such as oklch(from var(--c) 0.18 calc(c * 0.3) h). See #125 - thx @Artur-

What's Changed

New Contributors

Full Changelog: ph-css-parent-pom-8.1.1...ph-css-parent-pom-8.2.0

v8.1.1

09 Dec 11:59

Choose a tag to compare

  • Added new CSS units dvw and dvh. See #118 - thx @shagkur
  • Added new CSS units dvmin, dvmax, svw, svh, svmin, svmax, lvw, lvh, lvmin, lvmax

What's Changed

Full Changelog: ph-css-parent-pom-8.1.0...ph-css-parent-pom-8.1.1

v8.1.0

16 Nov 12:58

Choose a tag to compare

  • Updated to ph-commons 12.1.0
  • Using JSpecify annotations

Full Changelog: ph-css-parent-pom-8.0.1...ph-css-parent-pom-8.1.0

ph-css 8.0.1

28 Oct 19:55

Choose a tag to compare

  • Add support for case sensitivity in attribute selector. See #116 - thx @Aditi-1400

What's Changed

  • Add support for case sensitivity in attribute selector by @Aditi-1400 in #116

New Contributors

Full Changelog: ph-css-parent-pom-8.0.0...ph-css-parent-pom-8.0.1

ph-css 8.0.0

25 Aug 15:22

Choose a tag to compare

  • Requires Java 17 as the minimum version
  • Updated to ph-commons 12.0.0
  • Removed all deprecated methods marked for removal
  • Removed the separation between CSS2 and CSS3 - all one now
  • Removed class ECSSVersion and interface ICSSVersionAware because they have no real role anymore

Full Changelog: ph-css-parent-pom-7.1.0...ph-css-parent-pom-8.0.0

ph-css 7.1.0

20 Aug 16:26

Choose a tag to compare

  • Improved the selector list handling in the grammar and added @layer support. See #111 - thx @shagkur and @jmini
    • This also fixes the issue #110

What's Changed

Full Changelog: ph-css-parent-pom-7.0.5...ph-css-parent-pom-7.1.0

ph-css 7.0.5

19 Aug 09:23

Choose a tag to compare

  • Extended the enum ECSSUnit with additional new units
  • Changed the parser to accept any kind of dimension. See #114 - thx @shapiroronny
    • This was basically necessary, because the internal parse method created would exceed 64KB :-/

Full Changelog: ph-css-parent-pom-7.0.4...ph-css-parent-pom-7.0.5

ph-css 7.0.4

17 Feb 19:10

Choose a tag to compare

  • Added additional media query features. See [#104}(https://github.com//pull/104) - thx @nhubbard
  • Added new setting CSSReaderSettings.setKeepDeprecatedProperties(boolean) to customize if they should be read or discarded. See #107 - thx @hrozhkov1
  • Added the property keepDeprecatedProperties to the Maven plugin
  • Changed the default reading charset of the Maven plugin from UTF-8 to ISO-8859-1 to comply to the API based reading
  • Added the targetDirectory property to the Maven plugin. See #106 - thx @isochronous

What's Changed

  • Add additional media query features found in some newer CSS files by @nhubbard in #104

New Contributors

Full Changelog: ph-css-parent-pom-7.0.3...ph-css-parent-pom-7.0.4

ph-css 7.0.3

23 Sep 11:52

Choose a tag to compare

Full Changelog: ph-css-parent-pom-7.0.2...ph-css-parent-pom-7.0.3