Skip to content

Releases: leafo/scssphp

v0.2.0

25 Aug 15:42
Compare
Choose a tag to compare

Announcements:

  • archives no longer include tests; use composer's --prefer-source to get the test suite

Compatibility:

  • Compiler: detect import loops

Bug fixes:

  • add guard to loop (regression from v0.1.10 bug fix)

Maintenance:

  • php doc blocks everywhere!

v0.1.10

23 Aug 16:19
Compare
Choose a tag to compare

Compatibility Bug Fixes:

  • fix 3 year old extend bug
  • autoloader fix

v0.1.9

01 Aug 16:06
Compare
Choose a tag to compare

Announcements:

Compatibility Bug Fixes:

  • Nested selector fixes with lists, interpolated string, and parent selector
  • Implement list-separator() and set-nth() built-ins
  • Implement @warn and @error
  • Removed spaceship operator pending discussion with reference implementators

v0.1.8

18 Jul 14:49
Compare
Choose a tag to compare

Announcements:

Compatibility Bug Fixes:

  • index() - map support; now returns null (instead of false) when value not found
  • lighten(), darken() - percentages don't require % unit
  • str-slice() - edge cases when starts-at or ends-at is 0
  • type-of() - returns arglist for variable arguments
  • !=
  • @return inside @each

New Features:

  • Box support to generate .phar

v0.1.7

02 Jul 01:34
Compare
Choose a tag to compare

Announcements:

  • simplified licensing (MIT)

Enhancements:

  • bin/pscss: added --line-numbers and --debug-info options
  • Compiler: added setLineNumberStyle() and 'q' unit

Maintenance:

  • Parser: deprecated show() and to() methods
  • refactoring internals and misc bug fixes (maps, empty list, function-exists())

v0.1.6

23 Jun 02:42
Compare
Choose a tag to compare
  • !global
  • more built-in functions
  • Server: checkedCachedCompile() (@zimzat)
  • Server: showErrorsAsCSS() to display errors in a pseudo-element (@khamer)
  • misc bug fixes

v0.1.5

02 Jun 14:17
Compare
Choose a tag to compare

Maintenance:

Bug fix:

  • bin/pscss: fix inclusion of scss.inc.php (@etu)
  • bin/pscss: fix namespace for formatters (@etu)
  • @import protocol-relative paths (reported by @antiphp)
  • Color names should be case-insensitive (reported by @varun21)
  • Fix the return value in case of a parse error (@bgarret)
  • placeholder support

Enhancement:

  • bin/pscss: @imports relative to explicit input file (suggested by lweel)
  • bin/pscss: add -i option to bin/pscss to add import path (@etu)
  • bin/pscss: add -p option to specify precision (suggested by @kevinklika)

Increasing parity with reference implementation:

  • expression evaluation changes
  • color division now truncates instead of rounding
  • add "compact" formatter

v0.1.4

31 Jul 02:50
Compare
Choose a tag to compare

Compatibility:

  • add new string functions (okj579)

Enhancements:

  • add compileFile() and checkCompile() (NoxNebula, saas786, panique)

Other Bugs:

  • fix regular expression in findImport() (lucvn)
  • needsCompile() shouldn’t compare meta-etag with browser etag (edwinveldhuizen)

v0.1.3

31 Jul 02:51
Compare
Choose a tag to compare

Bumped version number and retagged.

v0.1.2

31 May 19:41
Compare
Choose a tag to compare

Compatibility:

  • map support (map_get, map_keys, map_values, map_remove, map_has_key, map_merge) (@okj579)

Enhancements:

  • bin/pscss: set import path via -i=path (@etu)

Bug fixes:

  • fix formatter namespace (@etu)
  • fix return value in case of parse error (@bgarret)
  • check callback (@aaukt)