Skip to content

Releases: elycruz/rollup-plugin-sass

Dependency Updates and Watch Feature

21 Jul 14:47
Compare
Choose a tag to compare

In this Release

  • dev-deps - Upgraded packages reported to having vulnerabilities to their safe versions.
  • dev-deps - Updated 'ava' version to allow builds on certain versions (there was a "moderate" vulnerability in ava that was blocking our package from being built on *nix systems see #97 ).
  • dev-deps - Updated typescript version and added 'downlevel-dts' version of the project's '*.d.ts' files (the whole typescript backward compatibility setup is now in place).
  • plugin - Updated our plugin's custom 'sass file' importer to enforce file load order in the defined 'async' importer - the async importer can sometimes load files out of order, which could result in sass content being compiled in incorrect order (when using the plugin's output (as a function) feature) - This enforces the load order by chaining each legacy importer done call to a promise (which chained, and awaited for, on subsequent importer calls).
  • plugin - Merged in changes related to #96 "Add sass files to rollup watch list" - forces files to be added to rollup's watch list, when rollup is running in 'watch' mode.

Merged PRs

Thank you to our Contributers!

New Contributors

Full Changelog: 1.2.12...1.12.13

Typescript Downgrade and Node 16 (CI/CD) Race Condition Fix

25 Nov 10:08
9b2fff6
Compare
Choose a tag to compare

In this release:

Fixes:

  • #89 - (CI/CD) Race condition, in Node 16, fixed. Code in plugin implementation (surrounding sass module custom importer) now enforces sync calls to resolve module ensuring the same behavior across current versions of node.

Improvements:

  • #90 - Downgraded typescript version for library to ensure that *.d.ts files that are output are compatible with older versions of typescripts (namely for projects that use typescript versions as far back as typescript version 3.5.3).

--End of notes

Happy coding!
@elycruz

Dependency updates and option defaults patch

25 Aug 01:23
Compare
Choose a tag to compare

Fixes

  • commit 12c7e33-837ad0aaaf - #81 - Changed 'rollup-pluginutils' back to '@rollup/pluginutils' - Ensures we don't break applications that were already using new, allowed, formats for 'include' and 'exclude' props (via @rollup/pluginutils, which allows 'RegExp', as well as 'string | string[]', for these props).
    • Updated plugin source to ensure we have defaults for 'include' and 'exclude' options, even when merged, incoming options contain 'undefined' values set directly, for these props - feature was previously removed, it is now re-added in this commit.

Repo to Typescript and Deps Remove

22 Aug 16:52
9261866
Compare
Choose a tag to compare

In this release:

  • babel*, pify, fs-extra, and @rollup/pluginutils dependencies removed - Less requirements to use the plugin, less surface area for hassle - mostly in terms of dependency tree version conflicts etc..
  • Updated sources and tests to use typescript - Makes code easier to understand and update.
  • Separated code units into their own units, functions etc., within plugin source - Makes code easier to follow/work with.
  • Fixed bug where default sass importer was partially async and sync all at once - Since file loading is dependent on the OS file contents don't always complete their loading process in the same order - Indices are now associated with importer calls and are used when storing file id/content objects, internally - Ensures file output concatenations, always, happen in the correct order.

Happy coding!
@elycruz