Releases: johnfairh/swift-sass
3.0.0
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
URL
s are passed toImporter
s withImporterContext
. -
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
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
URL
s are passed toImporter
s withImporterContext
.
2.0.0
Changes relative to 1.7.0:
-
Rewrite
Compiler
to be an actor and useNIOAsyncChannel
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
: deleteSassFunction
types and then rename
SassAsyncFunction
types -
Add
loadedURLs
toCompilerError
-
Add
SassMixin
SassScript type -
Add
containingURL
andnoncanonicalURLSchemes
to importers -
Bundle the 1.69.4
dart-sass
binaries
2.0.0-pre3
- Bundle the 1.69.4
dart-sass
binaries - Add
SassMixin
SassScript type - Add
containingURL
andnoncanonicalURLSchemes
to importers
2.0.0-pre2
-
Update to latest version of upstream dependencies, Dart Sass 1.63.2 now includes the embedded version
-
Add
loaded_urls
toCompilerError
2.0.0-pre1
-
Rewrite
Compiler
to be an actor and useNIOAsyncChannel
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
: deleteSassFunction
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.