Releases: oddbird/true
Releases · oddbird/true
v10.1.0
What's Changed
- Replace uses of deprecated Sass
if()function by @MizouziE in #340 - INTERNAL: Update dependencies
New Contributors
Full Changelog: v10.0.1...v10.1.0
v10.0.1
What's Changed
- DOCUMENTATION: Rewrite README documentation by @jgerigmeyer in #339
- INTERNAL: Update dependencies
Full Changelog: v10.0.0...v10.0.1
v10.0.0
What's Changed
- BREAKING: Remove the
$inspectoption from assertions, since Sass has improved comparisons and changed inspection. #332 - FEATURE: Multiple
contains()andcontains-string()expectations can be used in a single assertion. #333 - FEATURE: Do not fail on non-standard at-rules (switch to postcss for css parsing). #314
- INTERNAL: Update dependencies
Migration:
It seems that most tests can be updated by simply removing the $inspect argument entirely, with no other changes. In some cases, you may still need one of the following:
- Numeric tests with long decimals should use
math.round()to explicitly compare values at the desired level of precision, rather than relying on the unreliable precision of themeta.inspect()function. - Tests that rely on map output might throw an error since 'maps' are not a defined CSS syntax. In this case you can use
meta.inspect()to compare the string representations of maps.
Full Changelog: v9.0.0...v10.0.0
v10.0.0-alpha.1
What's Changed
- NEW: Multiple
contains()andcontains-string()expectations can be used in a single assertion. #333
Full Changelog: v10.0.0-alpha.0...v10.0.0-alpha.1
v10.0.0-alpha.0
What's Changed
- BREAKING: Remove the
$inspectoption from assertions, since Sass has improved comparisons and changed inspection. #332 - INTERNAL: Update dependencies
Full Changelog: v9.1.0-alpha.0...v10.0.0-alpha.0
v9.1.0-alpha.0
What's Changed
- FEATURE: Do not fail on non-standard at-rules (switch to postcss for css parsing) by @jgerigmeyer in #314
- INTERNAL: Update dependencies
Full Changelog: v9.0.0...v9.1.0-alpha.0
v9.0.0
What's Changed
- FEATURE:
contains-string()supports substring matching #311 - BREAKING: Drop support for node < 20
- INTERNAL: Update dependencies
New Contributors
Full Changelog: v8.1.0...v9.0.0
v8.1.0
- FEATURE: If True
sassoption is not specified, True will automatically attempt to useembedded-sass, thensass#290 - INTERNAL: Add
sassandsass-embeddedas optional peer-dependencies - INTERNAL: Update dependencies
Full Changelog: v8.0.0...v8.1.0
v8.0.0
- FEATURE: Add True
sassoption (stringor Sass implementation instance, defaults to'sass') to allow using eithersassorembedded-sass. - FEATURE: Add the Node.js package importer to the Sass
importersoption by default, if Dart Sass v1.71 or later is available. Users can opt out by providing their ownimportersoption, e.g.{ importers: [] }. - BREAKING: Drop support for node < 18
- INTERNAL: Remove
sassas a peer-dependency. - INTERNAL: Update dependencies
Full Changelog: v7.0.1...v8.0.0
v7.0.1
- FEATURE: Validate
runSassarguments and warn if using v6 API -- #268 - DOCUMENTATION: Add note that
{ style: 'compressed' }is not supported. - DOCUMENTATION: Add note about possible Jest error and workaround.
- INTERNAL: Update dependencies
New Contributors
Full Changelog: v7.0.0...v7.0.1