Skip to content

Releases: oddbird/true

v10.1.0

15 Dec 20:27
83311d0

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v10.0.1...v10.1.0

v10.0.1

04 Dec 18:54
eb736be

Choose a tag to compare

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

18 Nov 20:14
7c8cdd4

Choose a tag to compare

What's Changed

  • BREAKING: Remove the $inspect option from assertions, since Sass has improved comparisons and changed inspection. #332
  • FEATURE: Multiple contains() and contains-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 the meta.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

18 Nov 19:33
713f236

Choose a tag to compare

v10.0.0-alpha.1 Pre-release
Pre-release

What's Changed

  • NEW: Multiple contains() and contains-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

10 Nov 23:34
01c80ab

Choose a tag to compare

v10.0.0-alpha.0 Pre-release
Pre-release

What's Changed

  • BREAKING: Remove the $inspect option 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

01 Jul 20:13
c8edb05

Choose a tag to compare

v9.1.0-alpha.0 Pre-release
Pre-release

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

23 Jun 18:41
e4ec1a7

Choose a tag to compare

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

02 Oct 18:09
fffef3e

Choose a tag to compare

  • FEATURE: If True sass option is not specified, True will automatically attempt to use embedded-sass, then sass #290
  • INTERNAL: Add sass and sass-embedded as optional peer-dependencies
  • INTERNAL: Update dependencies

Full Changelog: v8.0.0...v8.1.0

v8.0.0

23 Feb 16:51
b630bf0

Choose a tag to compare

  • FEATURE: Add True sass option (string or Sass implementation instance, defaults to 'sass') to allow using either sass or embedded-sass.
  • FEATURE: Add the Node.js package importer to the Sass importers option by default, if Dart Sass v1.71 or later is available. Users can opt out by providing their own importers option, e.g. { importers: [] }.
  • BREAKING: Drop support for node < 18
  • INTERNAL: Remove sass as a peer-dependency.
  • INTERNAL: Update dependencies

Full Changelog: v7.0.1...v8.0.0

v7.0.1

04 Jan 17:44
540ebe0

Choose a tag to compare

  • FEATURE: Validate runSass arguments 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