Skip to content

Releases: hahmed/deadfire

v0.4.0

21 May 20:32
ebe2aba
Compare
Choose a tag to compare
  • Remove legacy parser
  • Fixes an issue where if there is a comment inside a ruleset declaration and comments are not to be included, the comment is still included
  • Replace 2 configs keep_comments and keep_newlines with 1 config compressed
  • Allow scss files to be used for pre-processing
  • Fix an issue with import statements that do not include an ending semicolon
  • Fixed an issue where the import value was missing when the import statement was not terminated correctly.
  • Add CI tests for Ruby 3.3
  • Add a logger with the ability to silence the logs

Full Changelog: v0.3.0...v0.4.0

v0.3.0

15 Nov 23:23
Compare
Choose a tag to compare
  • Redo the parser by splitting up the tokenizer, parser, interpreter and generator phases which makes each step simpler. It's still faster than sassc but much slower than it was previously which is something I hope to address soon.
  • Key thing to note is that Deadfire now only handles @imports and mixins. Nesting is now a feature of CSS, which means Deadfire is much simpler as a result.
  • In the next version I will drop the old parser and it's tests.

v0.2.0

25 Oct 21:32
Compare
Choose a tag to compare
  • Fixed a bug with a css ruleset after a nested block was being ignored, example;
.title {
  color: blue;
  & .text { padding: 3px; }
}
.image { padding: 2px; }
  • StringIO is now hidden and only visible on the buffer class.
  • Added build for ruby 3.0

Initial release

19 Oct 21:13
Compare
Choose a tag to compare

Initial release of Deadfire, a lightweight css preprocessor. The main features include;

  • Imports
  • Nesting
  • Mixins