Skip to content

Releases: oddbird/true

Dependency Changes

09 Apr 14:21
Compare
Choose a tag to compare

v4.0.0 (04/09/18)

  • BREAKING: Move node-sass to peerDependencies
  • Update dependencies
  • Add JS coverage reporting

Feature: `contains()` mixin for output comparisons

06 Mar 20:10
Compare
Choose a tag to compare
  • NEW: Add contains() mixin for more minute output comparisons.
    Works the same as expect(), but doesn't require a complete match.
  • Update docs

Dependency Update

06 Oct 20:58
Compare
Choose a tag to compare
v3.0.2

v3.0.2 - Minor dependency update

True 3.0!

27 Aug 01:01
Compare
Choose a tag to compare

(copied from 3-beta release notes…)

  • Added describe and it mixins,
    as alias for test-module and test respectively.
  • Added $inspect argument to assert-equal and assert-unequal mixins,
    for comparing inspect($assert) == inspect($expected)
    instead of $assert == $expected.
    This helps with several of the equality edge-cases listed below
    (rounding and units).
  • BREAKING: No more Ruby gem or Ruby CLI
  • BREAKING: No more bower package
  • BREAKING: Removes special-handling of equality,
    in favor of allowing Sass to determine the best comparisons.
    There are a few edge-cases to be aware of:
    • In some versions of Sass,
      manipulated numbers and colors are compared without rounding,
      so 1/3 != 0.333333 and lighten(#246, 15%) != #356a9f.
      Use the $inspect argument to compare rounded output values.
    • In all versions of Sass,
      unitless numbers are considered comparable to all units,
      so 1 == 1x where x represents any unit.
      Use the $inspect argument to compare output values with units.
    • Lists compare both values and delimiter,
      so (one two three) != (one, two, three).
      This can be particularly confusing for single-item lists,
      which still have a delimiter assigned,
      even though it is not used.

v3.0.0-beta.1

01 Jun 17:13
Compare
Choose a tag to compare
v3.0.0-beta.1 Pre-release
Pre-release
  • Added describe and it mixins,
    as alias for test-module and test respectively.
  • Added $inspect argument to assert-equal and assert-unequal mixins,
    for comparing inspect($assert) == inspect($expected)
    instead of $assert == $expected.
    This helps with several of the equality edge-cases listed below
    (rounding and units).
  • BREAKING: No more Ruby gem or Ruby CLI
  • BREAKING: No more bower package
  • BREAKING: Removes special-handling of equality,
    in favor of allowing Sass to determine the best comparisons.
    There are a few edge-cases to be aware of:
    • In some versions of Sass,
      manipulated numbers and colors are compared without rounding,
      so 1/3 != 0.333333 and lighten(#246, 15%) != #356a9f.
      Use the $inspect argument to compare rounded output values.
    • In all versions of Sass,
      unitless numbers are considered comparable to all units,
      so 1 == 1x where x represents any unit.
      Use the $inspect argument to compare output values with units.
    • Lists compare both values and delimiter,
      so (one two three) != (one, two, three).
      This can be particularly confusing for single-item lists,
      which still have a delimiter assigned,
      even though it is not used.

2.2.2

20 Apr 19:40
Compare
Choose a tag to compare
Version 2.2.2

Bug fixes & dependency updates

22 Dec 18:18
Compare
Choose a tag to compare
2.1.4

Bump version 2.1.4