Skip to content

Releases: johnfairh/swift-sass

3.0.0

10 Oct 10:30
077ecab
Compare
Choose a tag to compare

Changes relative to 2.0.0:

  • Require Swift 6 / Xcode 16 - already committed to actors and too much work to
    maintain support for earlier language versions. Various interface changes
    around Sendability.

  • Bundle the 1.79.4 dart-sass binaries.

  • Add CompilerWarningLevel for more control over compiler warnings.

  • Support the Node Package Importer via ImportResolver.nodePackageImporter.

  • Support the Sass Deprecations API via DeprecationControl.

  • Rearrange how URLs are passed to Importers with ImporterContext.

  • Update SassColor to support CSS Color Module Level 4 functionality. The
    Swift API here does not offer any helpers for manipulating these new color
    spaces - perhaps an addition in future, but I am conflicted about whether
    this package is the right place for this deep function.

3.0.0-pre1

24 Sep 09:27
34be0bc
Compare
Choose a tag to compare
3.0.0-pre1 Pre-release
Pre-release

First and hopefully only prerelease. This takes Dart Sass 1.78.0 which is before their large "css color level 4" rework. When this settles down a bit I will add at least skeleton support for the new SassColor and release this package properly: hopefully additions to flesh that out will be non-breaking.

  • Require Swift 6 / Xcode 16 - already committed to actors and too much work to
    maintain support for earlier language versions. Various interface changes
    around Sendability.

  • Bundle the 1.80.0 dart-sass binaries.

  • Add CompilerWarningLevel for more control over compiler warnings.

  • Support the Node Package Importer via ImportResolver.nodePackageImporter.

  • Support the Sass Deprecations API via DeprecationControl.

  • Rearrange how URLs are passed to Importers with ImporterContext.

2.0.0

28 Oct 10:21
Compare
Choose a tag to compare

Changes relative to 1.7.0:

  • Rewrite Compiler to be an actor and use NIOAsyncChannel to communicate
    with the compiler. Interface is approximately the same; syncShutdownGracefully()
    is gone though to match NIO's approach

  • Shutdown behaviour has changed slightly: if you have compiler jobs running
    concurrently to a shutdown request then they are likely to be cancelled rather
    than left to run before actioning the shutdown

  • Make all Sass functions async: delete SassFunction types and then rename
    SassAsyncFunction types

  • Add loadedURLs to CompilerError

  • Add SassMixin SassScript type

  • Add containingURL and noncanonicalURLSchemes to importers

  • Bundle the 1.69.4 dart-sass binaries

2.0.0-pre3

20 Oct 12:53
a6a639c
Compare
Choose a tag to compare
2.0.0-pre3 Pre-release
Pre-release
  • Bundle the 1.69.4 dart-sass binaries
  • Add SassMixin SassScript type
  • Add containingURL and noncanonicalURLSchemes to importers

2.0.0-pre2

15 Jun 12:32
08274a4
Compare
Choose a tag to compare
2.0.0-pre2 Pre-release
Pre-release
  • Update to latest version of upstream dependencies, Dart Sass 1.63.2 now includes the embedded version

  • Add loaded_urls to CompilerError

2.0.0-pre1

20 May 09:41
5e199b9
Compare
Choose a tag to compare
2.0.0-pre1 Pre-release
Pre-release
  • Rewrite Compiler to be an actor and use NIOAsyncChannel to communicate
    with the compiler. Interface is approximately the same; syncShutdownGracefully()
    is gone though to match NIO's approach.

  • Shutdown behaviour has changed slightly: if you have compiler jobs running
    concurrently to a shutdown request then they are likely to be cancelled rather
    than left to run before actioning the shutdown.

  • Make all Sass functions async: delete SassFunction types and then rename
    SassAsyncFunction types.

I expect to end the 'pre' series when NIOAsyncChannel is officially blessed;
there is also activity on the Sass side to do with reworking the protocol for
higher performance that may get rolled in here depending on timing and impact.

1.7.0

06 Apr 10:03
Compare
Choose a tag to compare
  • Bundle the 1.60.0 dart_sass_embedded binaries

1.6.0

04 Aug 10:19
2adb5b7
Compare
Choose a tag to compare
  • Bundle the 1.54.2 dart_sass_embedded binaries.

This is the first release to include binaries for both arm64 and x86 architectures for both macOS and Linux, selecting the right one when the package is built.

1.5.0

23 Jun 10:19
4686021
Compare
Choose a tag to compare
  • Bundle the 1.53.0 dart_sass_embedded binaries

1.4.0

21 Apr 09:06
75b78bb
Compare
Choose a tag to compare
  • Bundle the 1.50.1 dart_sass_embedded binaries