github-actions
released this
19 Feb 18:16
·
18 commits
to main
since this release
1.0.0 (2024-2-19)
Bug Fixes
-
core: Allow arrays of plugins on usePlugin(..) (#116) (7dcef4c)
-
core: Export TypeFactories and remove default export (#67) (5d84a9e)
-
date-assertion: Solve .toMatchDateParts inconsistencies (#87) (f1002ed)
-
messages: Improve prettify(..) helper and assertion messages (#111) (df8a260)
-
type-factories: Correct types on instanceOf type factory (#79) (c00bd31)
-
feat(core)!: Rename package to assertive-ts/core (#105) (01e0aeb), closes #105
Features
- assertion: Add .toBeUndefined() matcher (#64) (5c24139)
- assertion: Add
.toBeInstanceOf(Constructor)
matcher (#57) (48c43f0) - assertion: Add typeof based matcher (#91) (6e07131)
- core: Add normalized() helper to Assertion base class (#106) (a30ae44)
- core: Extension mechanism (#81) (439eba3)
- DateAssertion: show DateAssertion error messages in ISO format (#40) (f0cbdde)
- deps: Update dependencies 2023.06.21 (#86) (d79c98c)
- deps: Update dependencies 2023.08.07 (#103) (f4900ee)
- deps: Update dependencies 2023.12.22 (#112) (9a18f36)
- deps: Updated dependencies 2024.02.19 (#121) (1a722ab)
- equallity: Use fast-deep-equal for faster deep equallity (#90) (25a7589)
- function-assertion: Add .toThrow(Error) overload (#65) (a32e820)
- function: Refactor FunctionAssertion and add ErrorAssertion (#30) (2baccd0)
- Include aliases toBeSameAs and toBe for toBeSame (#109) (c7a061a)
- object-assertion: Matchers use variadic arguments (#89) (9a019ff)
- object: Add .toHave[Keys|Values|Entries] methods (#93) (97425dd)
- sinon: Add @assertive-ts/sinon plugin (#118) (ca16230)
BREAKING CHANGES
- Deprecates the @stackbuilders/assertive-ts package in favor of assertive-ts/core so we can group plugins under the assertive-ts namespace