Closure Stylesheets Versions Save

A CSS+ transpiler that lints, optimizes, and I18n-izes

v1.5.0

6 years ago

Notable changes in 1.5.0

  • Support more rules nested in @media
  • Add CSS grid properties css3-grid-layout
  • Support more rules (media, keyframes, supports, font-face) nested in @media
  • Adds basic support for CSS custom properties css-variables
  • DefaultVisitController respects enterFunctionNode's return value
  • Support runtime vendor prefixing
  • Merge ChunkCompactPrinter with its only subclass, TemplateCompactPrinter
  • rm DefinitionPrinter. It has no users and no tests
  • BrowserPrefixGenerator: improve static initialization
  • Added CSS3 Transforms
  • Remove remaining JUnit 3 support
  • Migrate all remaining JUnit 3 tests to JUnit 4
  • BiDiFlipperFunctionalTest: document lack of support for border shorthand
  • Support referencing @defs in calc() expressions
  • Remove deprecated CssFunctionNode constants
  • Remove vacuous Create(ComponentNodes|ConditionalNodes|ConstantReferences|DefinitionNodes) passes in ast package
  • Add grabbing cursor property expansion
  • Don't reuse literal nodes in function argument fixup
  • Add CSS property expansions for text-size-adjust
  • Fix the way functions are evaluated in the templating compiler
  • Fix VisitCompositeValueState.replaceCurrentBlockChildWith
  • Add --input-renaming-map and --input-renaming-map-format options
  • Add support for '-webkit-writing-mode' in CSS compiler
  • Improve SourceCodeLocation accuracy

v1.4.0

7 years ago

Packaging changes since 1.3.0:

  • 8680bf2810be304b545ab85520e91da77962f5ee Guava is not assumed to be provided by the environment.

Improvements since 1.3.0:

  • b9852d228e200f00ef63fbe5eca484bc1500196f --allow_unrecognized_property=foo will now disable the warnings for recognized properties.
  • 456bbeea46043c4f2f45e05cbe714505192ff121 Sourcemaps don't cause crashes anymore, but there are still some issues. Follow issue #95 for updates.

v1.3.0

7 years ago

Packaging changes since 1.2.0:

  • bb4ce4d4c5ba3528340c9a86f28b3eac540ea300 Closure stylesheets builds using Apache Maven. See the updated instructions for building from source.
  • closure-stylesheets-library.jar in this release contains no dependencies.
  • closure-stylesheets.jar is still a runnable JAR that contains all of the dependencies.
  • Every release from now on will be pushed to Maven Central. This version can be accessed with:
<dependency>
  <groupId>com.google.closure-stylesheets</groupId>
  <artifactId>closure-stylesheets</artifactId>
  <version>1.3.0</version>
</dependency>

To find the latest version see maven central.

Improvements since 1.2.0:

  • 1bdf5f896398da4e035e0d547c26b1c5c12b2c53 Conditional statements (@if) are usable inside blocks, including @mixin.
  • d674936e1f665b69b656b7645d2b2a0e8cb58667, 713aff428d8ebff20935189a5c153c016a1f9dbf, d4476e5295f20780cf453df8e534ceeae991fcb9 Sourcemaps should now work correctly.
  • 7f70cee43a5e7374eea1f48c8220a58f28faf0c0 @override annotations can now take JsDoc style comments (/** @override */).
  • Other cleanup and CSS properties.

v1.2.0

8 years ago

Improvements since 1.1.0:

  • 2e059b00916fd197313ae5dfd15223596532e184 Allow .^classname to suppress prefixing in @components.
  • 0b446fd42c9e3aa29708e140adb0a4b75b273d11 Don't prefix classes in :not() in @components.

Several new CSS3 properties are recognized as well.

v1.1.0

8 years ago

Improvements since 1.0:

  • 270e6f47dd27748bb8b7e9f74b574e7604c97357 Preserve comments with @license or @preserve in TemplatesCompactPrinter.
  • 5e681fe82d57942003056786cfb797822ff66502 Add extra color methods:
  • saturateColor(color, amount)
  • desaturateColor(color, amount)
  • greyscale(color)
  • lighten(color, amount)
  • darken(color, amount)
  • spin(color, hue_angle)

Bugs fixed:

  • f2d187700a20e6ebee05fb21c685048313ce71dc #70 Defining and calling mixins from separate files causes "Compiler internal error"

Special thanks to Yves Brissaud (@eunomie) for the new color methods and @hochhaus for reporting bug #70.

1.0

8 years ago