Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Releases: google/closure-stylesheets

Closure Stylesheets 1.5.0

19 Jul 00:05
v1.5.0
Compare
Choose a tag to compare

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

Closure Stylesheets 1.4.0

21 Sep 13:07
v1.4.0
Compare
Choose a tag to compare

Packaging changes since 1.3.0:

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

Improvements since 1.3.0:

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

Closure Stylesheets 1.3.0

30 Aug 17:15
Compare
Choose a tag to compare

Packaging changes since 1.2.0:

  • bb4ce4d 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:

  • 1bdf5f8 Conditional statements (@if) are usable inside blocks, including @mixin.
  • d674936, 713aff4, d4476e5 Sourcemaps should now work correctly.
  • 7f70cee @override annotations can now take JsDoc style comments (/** @override */).
  • Other cleanup and CSS properties.

Closure Stylesheets 1.2.0

09 Mar 21:14
Compare
Choose a tag to compare

Improvements since 1.1.0:

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

Several new CSS3 properties are recognized as well.

Closure Stylesheets 1.1.0

06 Nov 14:52
Compare
Choose a tag to compare

Improvements since 1.0:

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

Bugs fixed:

  • f2d1877
    #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.

Google Closure Stylesheets Compiler

23 Oct 17:45
Compare
Choose a tag to compare
Implement a string concatenation gss function: concat(...)

This allows to dynamically construct urls, e.g.

@def HOST static.example.com
.img {
  background-image: url(concat('//', HOST, '/image.png');
}
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=105082418