- upgrading to libsass 3.6.2
- upgrading to emscripten 1.39.0
- fixing path resolver in node - Issue #122
- upgrading to libsass 3.6.0
- upgrading to emscripten 1.38.31
- fixing
sass.configure.paths.js
to restore ES5 compatibility - Issue #109
- fixing
sass.configure.paths.js
for angular compiler - Issue #105 Issue #100 - upgrading to libsass 3.5.5
- upgrading to emscripten 1.38.18
- upgrading to emscripten 1.38.12 - (Issue #85)
- fixing IE11 compatibility by adding
-s LEGACY_VM_SUPPORT=1
- (Issue #96)
- upgrading to libsass 3.5.4
- upgrading to emscripten 1.37.35
- upgrading to libsass 3.4.9
- upgrading to emscripten 1.37.33
- upgrading to libsass 3.4.8
- fixing
sass.node.js
to allow raw CSS imports - (PR #94)
- upgrading to libsass 3.4.7
- fixing
sass.node.js
to work on windows - (Issue #86)
- upgrading to libsass 3.4.5
- upgrading to libsass 3.4.4
- upgrading to libsass 3.4.3
- upgrading to libsass 3.4.2
- upgrading to emscripten 1.37.0
- upgrading to libsass 3.4.1
- Deprecating the synchronous
Sass.lazyFiles()
- as this can be achieved asynchronously with an Importer Callback - upgrading to libsass 3.4.0
- fixing Importer to properly process UTF8 strings - (Issue #72)
- adding
sass.node.js
for convenient compilation of SCSS and SASS files in Node - (Issue #72)
- fixing Importer to allow passing empty strings - (Issue #63)
- refactoring Importer to expose
Sass.findPathVariation()
andSass.getPathVariations()
in the Synchronous API - (Issue #61)
- fixing Importer callback to handle nested imports when running asynchronously - (Issue #59)
- upgrading to emscripten 1.36.5
- upgrading to libsass 3.3.6
- upgrading to libsass 3.3.5
- upgrading to libsass 3.3.4
- upgrading to emscripten 1.36.1
- refactoring sass.js initialization when emscripten is ready
- adding option
importer
to provide data to importer callbacks - (Issue #43)
- upgrading to libsass 3.3.3
- upgrading to emscripten 1.35.22
- inline memory init file and drop
libsass.js.mem
- (Issue #42)
- upgrading to libsass 3.3.1
- upgrading to emscripten 1.35.4
- upgrading to libsass 3.3.0
- upgrading to emscripten 1.35.2
- upgrading to libsass 3.2.5
- fixing automatic path detection (for loading
sass.worker.js
andlibsass.js.mem
), to makesass.sync.js
loadlibsass.js.mem
relative to itself (Node and browser) - (Issue #33)
NOTE: This release contains breaking changes!
- upgrading to libsass 3.2.4
- fixing worker API to avoid throwing
DataCloneError
becausepostMessage
can't handleError
instances - improving worker API to find
sass.worker.js
itself when loaded through simple<script>
element - (Issue #32) - improving worker API to allow multiple parallel workers to be initialized - Breaking Change
- improving
Sass.compile()
to queue multiple invocations for serialized execution rather than throwing an error - adding
sass.destroy()
to terminate a worker and free its resources - adding
Sass.setWorkerUrl()
to define the path of the worker before a Sass instance is created
- The worker API used to be initialized with
Sass.initialize('path/to/sass.worker.js')
, but as of v0.9.0 requires proper instantiation:var sass = new Sass('path/to/sass.worker.js')
.
- upgrading to libsass 3.2.3
- fixing build to cope with
emcc --version
not naming a commit - (Issue #30) - fixing build to not minify distributables (very little gain, but breaks asm in Firefox) - (Issue #29)
- fixing
.compile()
to wait until emscripten is ready - (Issue #29)
- upgrading to libsass 3.2.2
- adding
Sass.compileFile()
to compile directly from file system - fixing
Sass.options('defaults', callback)
to actually fire the callback - improving
Sass.compile()
to accept options to temporarily set for that invocation, extending the signature toSass.compile(source, callback)
Sass.compile(source, options, callback)
- improving
Sass.writeFile()
to accept a map of files to write - improving
Sass.readFile()
to accept an array of files to read - improving
Sass.removeFile()
to accept an array of files to remove
(failed and unpublished from npm, removed tag, see 0.8.1, I'm sorry)
- fixing option
precision
so that by default Sass.js won't overwrite libsass default precision (5
)
- upgrading to libsass 3.2.1
NOTE: This release contains several breaking changes!
- Upgrading build infrastructure
- compile libsass 3.2.0
- allowing builds without forced download of libsass.git every time
- providing emscripten debug mode
- improving
emscripten_wrapper.cpp
to usesass_context.h
instead of the deprecatedsass_interface.h
- renaming files to make more sense
- improving synchronous API to perfectly mirror the worker API
- adding
.options('defaults')
to reset options to Sass.js defaults - adding
dist/libsass.js.mem
, optimized memory file created by emscripten - adding
Sass.lazyFiles()
andSass.preloadFiles()
- adding
Sass.clearFiles()
to wipe all files known toSass.listFiles()
- adding
Sass.importer()
to intercept file loading requests from libsass - adding configuration options
precision
- Precision for outputting fractional numbers (0
using libsass default)indentedSyntax
- Treat source string as SASS (as opposed to SCSS)indent
- String to be used for indentation (2 spaces)linefeed
- String to be used to for line feeds (\n
)sourceMapRoot
- Pass-through as sourceRoot propertysourceMapFile
- Path to source map file (enables generating source maps)sourceMapContents
- embed include contents in mapssourceMapEmbed
- embed sourceMappingUrl as data URIsourceMapOmitUrl
- Disable sourceMappingUrl in CSS outputinputPath
- source map generation source (stdin
)outputPath
- source map generation target
- synchronous API (formerly
dist/sass.js
anddist/sass.min.js
) is now required to be loaded from a directory calleddist
relative todocument.URL
(irrelevant for use in Node!) - synchronous API now has the exact same signature as the worker API, meaning responses are not returned, but passed to callback functions instead.
Sass.compile()
used to return the compiled CSS as string, it now returns an object- distribution files renamed or removed for clarity
dist/worker.js
removeddist/sass.worker.js
removeddist/sass.min.js
removeddist/sass.worker.js
renamed todist/sass.js
(public API for the browser)dist/worker.min.js
renamed todist/sass.worker.js
(emscripted libsass for the web worker)dist/sass.js
renamed todist/sass.sync.js
(emscripted libsass synchronous API)
- source files renamed for clarity
src/libsass.worker.js
renamed tosrc/sass.worker.js
(contains the worker'sonmessage
handler)src/sass.js
renamed tosrc/sass.api.js
(abstraction of libsass and emscription)src/sass.worker.js
renamed tosrc/sass.js
(public API usingpostMessage
to talk to worker internally)
- example files renamed for clarity
sass.sync.html
addedconsole.html
renamed tosass.source.html
worker.html
renamed tosass.worker.html
- fixing invalid source error handling (#23)
- fixing
Makefile.patch
for "memory file" to work with emscripten 1.29
- fixing
Makefile.patch
to work with libsass 3.1.0 - upgrading to libsass 3.1.0
- upgrading to libsass 2.1.0-beta
- upgrading to libsass v2.0 - Sending #386, #387, #388
- upgrading to libsass @1122ead... (to be on par with node-sass v.0.8.3)
- using libsass at v1.0.1 (instead of building from master)
- adding
grunt build
to generatedist
files - adding mocha tests
grunt test
- Initial Sass.js