assertthat
Version:
assertthat provides fluent TDD.
278 lines (122 loc) • 13 kB
Markdown
## [6.5.2](https://github.com/thenativeweb/assertthat/compare/6.5.1...6.5.2) (2022-03-24)
### Bug Fixes
* Update dependencies and remove skipLibCheck. ([#420](https://github.com/thenativeweb/assertthat/issues/420)) ([2120f01](https://github.com/thenativeweb/assertthat/commit/2120f01f1cc8f2edde17cb4472aad2e7d204455c))
## [6.5.1](https://github.com/thenativeweb/assertthat/compare/6.5.0...6.5.1) (2022-03-24)
### Bug Fixes
* Update dependencies (defekt, roboter, typescript). ([#419](https://github.com/thenativeweb/assertthat/issues/419)) ([1a5ac41](https://github.com/thenativeweb/assertthat/commit/1a5ac419cf342aba5c665d26d4b561b7fc5e1020))
# [6.5.0](https://github.com/thenativeweb/assertthat/compare/6.4.0...6.5.0) (2022-03-22)
### Features
* Add each-assertions. ([#408](https://github.com/thenativeweb/assertthat/issues/408)) ([0bcaac6](https://github.com/thenativeweb/assertthat/commit/0bcaac68f53d5eee47810682ab868fad666194e3))
# [6.4.0](https://github.com/thenativeweb/assertthat/compare/6.3.14...6.4.0) (2022-01-25)
### Features
* Release updated dependencies. ([#410](https://github.com/thenativeweb/assertthat/issues/410)) ([49cc784](https://github.com/thenativeweb/assertthat/commit/49cc784c84556a91d0cb245644e780fbe7a7f011))
## [6.3.14](https://github.com/thenativeweb/assertthat/compare/6.3.13...6.3.14) (2021-11-04)
### Bug Fixes
* Empty arrays/objects now have size 1. ([#398](https://github.com/thenativeweb/assertthat/issues/398)) ([7f44bd3](https://github.com/thenativeweb/assertthat/commit/7f44bd3d7fb168d94c15a9da359c11e0058cc5c8))
## [6.3.13](https://github.com/thenativeweb/assertthat/compare/6.3.12...6.3.13) (2021-08-16)
### Bug Fixes
* bump typedescriptor from 4.0.11 to 4.0.12 ([#386](https://github.com/thenativeweb/assertthat/issues/386)) ([e15d2d4](https://github.com/thenativeweb/assertthat/commit/e15d2d4d77daa32dc77e803013722bbd74c67798))
## [6.3.12](https://github.com/thenativeweb/assertthat/compare/6.3.11...6.3.12) (2021-08-16)
### Bug Fixes
* Add missing configuration file. ([#385](https://github.com/thenativeweb/assertthat/issues/385)) ([0ab1fc6](https://github.com/thenativeweb/assertthat/commit/0ab1fc6a2f7eb959b8d77fc566490808f463ab37))
## [6.3.11](https://github.com/thenativeweb/assertthat/compare/6.3.10...6.3.11) (2021-08-02)
### Bug Fixes
* bump chalk from 4.1.1 to 4.1.2 ([#383](https://github.com/thenativeweb/assertthat/issues/383)) ([5e36dd3](https://github.com/thenativeweb/assertthat/commit/5e36dd352956566acdd65d3c7ce6f6364adf6ec7))
## [6.3.10](https://github.com/thenativeweb/assertthat/compare/6.3.9...6.3.10) (2021-08-02)
### Bug Fixes
* bump typedescriptor from 4.0.10 to 4.0.11 ([#382](https://github.com/thenativeweb/assertthat/issues/382)) ([9763cf7](https://github.com/thenativeweb/assertthat/commit/9763cf7947c5328b6e3c41dc409947d881a5966f))
## [6.3.9](https://github.com/thenativeweb/assertthat/compare/6.3.8...6.3.9) (2021-07-23)
### Bug Fixes
* Update dependencies. ([#381](https://github.com/thenativeweb/assertthat/issues/381)) ([89d5657](https://github.com/thenativeweb/assertthat/commit/89d56571e91d8b63cf7e5e4e0ea825a73908cc75))
## [6.3.8](https://github.com/thenativeweb/assertthat/compare/6.3.7...6.3.8) (2021-07-21)
### Bug Fixes
* bump typedescriptor from 4.0.9 to 4.0.10 ([#380](https://github.com/thenativeweb/assertthat/issues/380)) ([20bdd13](https://github.com/thenativeweb/assertthat/commit/20bdd1318d9efb681caa58d09347dd03d67bcfce))
## [6.3.7](https://github.com/thenativeweb/assertthat/compare/6.3.6...6.3.7) (2021-07-12)
### Bug Fixes
* bump typedescriptor from 4.0.8 to 4.0.9 ([#378](https://github.com/thenativeweb/assertthat/issues/378)) ([171335b](https://github.com/thenativeweb/assertthat/commit/171335b89d0c8a4ae7a3c25314c8d952d4b413b9))
## [6.3.6](https://github.com/thenativeweb/assertthat/compare/6.3.5...6.3.6) (2021-07-06)
### Bug Fixes
* bump @types/uuid from 8.3.0 to 8.3.1 ([#376](https://github.com/thenativeweb/assertthat/issues/376)) ([1a4a7ba](https://github.com/thenativeweb/assertthat/commit/1a4a7bad860a0b44e2a1c62817e632aa420017a2))
* bump defekt from 7.2.0 to 7.2.3 ([#370](https://github.com/thenativeweb/assertthat/issues/370)) ([0d65a72](https://github.com/thenativeweb/assertthat/commit/0d65a720355e3db7d3eac5a365f69a50240ad97c))
* bump defekt from 7.2.3 to 7.3.0 ([#375](https://github.com/thenativeweb/assertthat/issues/375)) ([c4f408b](https://github.com/thenativeweb/assertthat/commit/c4f408bb680e2b366c32fdb615d56ae3dcd599f9))
## [6.3.5](https://github.com/thenativeweb/assertthat/compare/6.3.4...6.3.5) (2021-06-28)
### Bug Fixes
* bump typedescriptor from 4.0.7 to 4.0.8 ([#374](https://github.com/thenativeweb/assertthat/issues/374)) ([ce89c0c](https://github.com/thenativeweb/assertthat/commit/ce89c0c5afa7f7369dda0bf4715fdc7d9fcfa7c3))
## [6.3.4](https://github.com/thenativeweb/assertthat/compare/6.3.3...6.3.4) (2021-06-28)
### Bug Fixes
* bump typedescriptor from 4.0.4 to 4.0.7 ([#369](https://github.com/thenativeweb/assertthat/issues/369)) ([b8d52cc](https://github.com/thenativeweb/assertthat/commit/b8d52cc24bf3c1e3dc7f342155d5dc023d79d02f))
## [6.3.3](https://github.com/thenativeweb/assertthat/compare/6.3.2...6.3.3) (2021-06-08)
### Bug Fixes
* bump trim-newlines from 3.0.0 to 3.0.1 ([#366](https://github.com/thenativeweb/assertthat/issues/366)) ([607f57f](https://github.com/thenativeweb/assertthat/commit/607f57fc0d976efea745628cb519af4b30eda04c))
## [6.3.2](https://github.com/thenativeweb/assertthat/compare/6.3.1...6.3.2) (2021-06-07)
### Bug Fixes
* bump typedescriptor from 4.0.3 to 4.0.4 ([#364](https://github.com/thenativeweb/assertthat/issues/364)) ([7071409](https://github.com/thenativeweb/assertthat/commit/707140903265966c0121e70835ccd7382466a89e))
## [6.3.1](https://github.com/thenativeweb/assertthat/compare/6.3.0...6.3.1) (2021-05-31)
### Bug Fixes
* bump defekt from 7.1.2 to 7.2.0 ([#361](https://github.com/thenativeweb/assertthat/issues/361)) ([b67ec82](https://github.com/thenativeweb/assertthat/commit/b67ec827b72b4ff95758ea53b1dd863057b9471c))
# [6.3.0](https://github.com/thenativeweb/assertthat/compare/6.2.2...6.3.0) (2021-05-25)
### Features
* Benchmark and improve performance. ([#359](https://github.com/thenativeweb/assertthat/issues/359)) ([d94891d](https://github.com/thenativeweb/assertthat/commit/d94891d0f037a60303ca9531595615bc18ef2ffc))
## [6.2.2](https://github.com/thenativeweb/assertthat/compare/6.2.1...6.2.2) (2021-05-25)
### Bug Fixes
* bump typedescriptor from 4.0.1 to 4.0.3 ([#358](https://github.com/thenativeweb/assertthat/issues/358)) ([849eddf](https://github.com/thenativeweb/assertthat/commit/849eddf2500b3b7721aac51f5d35017f651a8fb0))
## [6.2.1](https://github.com/thenativeweb/assertthat/compare/6.2.0...6.2.1) (2021-05-24)
### Bug Fixes
* bump defekt from 7.1.1 to 7.1.2 ([#355](https://github.com/thenativeweb/assertthat/issues/355)) ([d8ba84e](https://github.com/thenativeweb/assertthat/commit/d8ba84ef357bd7455e491c37949620a35b9c18f9))
# [6.2.0](https://github.com/thenativeweb/assertthat/compare/6.1.1...6.2.0) (2021-05-17)
### Features
* Move dispel out of prettyPrint; Fix some mistakes in error messages. ([#352](https://github.com/thenativeweb/assertthat/issues/352)) ([25e5cf5](https://github.com/thenativeweb/assertthat/commit/25e5cf5533f68f6460e894c6973ba17dc8f9883b))
## [6.1.1](https://github.com/thenativeweb/assertthat/compare/6.1.0...6.1.1) (2021-05-17)
### Bug Fixes
* bump defekt from 7.1.0 to 7.1.1 ([#349](https://github.com/thenativeweb/assertthat/issues/349)) ([6d5370e](https://github.com/thenativeweb/assertthat/commit/6d5370e5aeabb7b6c2f9054c1b67f7470ba89af1))
# [6.1.0](https://github.com/thenativeweb/assertthat/compare/6.0.1...6.1.0) (2021-05-17)
### Features
* Use type-guards from package typedescriptor. ([#351](https://github.com/thenativeweb/assertthat/issues/351)) ([6cb20a5](https://github.com/thenativeweb/assertthat/commit/6cb20a58a91efc7aec45f251f9ecd620922ff7f8))
## [6.0.1](https://github.com/thenativeweb/assertthat/compare/6.0.0...6.0.1) (2021-05-12)
### Bug Fixes
* dispel values before pretty printing. ([#347](https://github.com/thenativeweb/assertthat/issues/347)) ([a5aaa5d](https://github.com/thenativeweb/assertthat/commit/a5aaa5dbec0fa2475553f5ed0e0c7d0ff9a18ab1))
# [6.0.0](https://github.com/thenativeweb/assertthat/compare/5.2.8...6.0.0) (2021-05-06)
### Features
* Rewrite - type-appropriate assertions and better diffs. ([#341](https://github.com/thenativeweb/assertthat/issues/341)) ([f6c430f](https://github.com/thenativeweb/assertthat/commit/f6c430f86fdf2fcbbd3ac949d15910a67303c051))
### BREAKING CHANGES
* Many assertions are now only usable with types they make sense for. This should probably not break much code, but also probably will. Not entirely sure about the repercussions these changes will have.
Some rarely used assertions have been removed (e.g. between).
Some have been added: Support for Results, Maps, Sets and Errors.
Recursions in asserted values are now recognized and in most cases even correctly compared (excluding maps and sets).
Error messages are now much more informational and dare I say beautiful, since the new implementation is based on an in-depth diffing algorithm based on value equality.
## [5.2.8](https://github.com/thenativeweb/assertthat/compare/5.2.7...5.2.8) (2021-03-25)
### Bug Fixes
* bump comparejs from 4.0.6 to 4.0.7 ([#332](https://github.com/thenativeweb/assertthat/issues/332)) ([08b3b60](https://github.com/thenativeweb/assertthat/commit/08b3b60d99263a90aab07e8bd2dd5caac155f228))
## [5.2.7](https://github.com/thenativeweb/assertthat/compare/5.2.6...5.2.7) (2021-03-25)
### Bug Fixes
* bump comparejs from 4.0.5 to 4.0.6 ([#329](https://github.com/thenativeweb/assertthat/issues/329)) ([4c5dff0](https://github.com/thenativeweb/assertthat/commit/4c5dff006db1d03fd2fe2e95db51719641fdd378))
## [5.2.6](https://github.com/thenativeweb/assertthat/compare/5.2.5...5.2.6) (2021-03-25)
### Bug Fixes
* Migrate from master to main. ([#327](https://github.com/thenativeweb/assertthat/issues/327)) ([88ce4f9](https://github.com/thenativeweb/assertthat/commit/88ce4f9e8b411e9592c19cb8395a10dbfb2d59ff))
## [5.2.5](https://github.com/thenativeweb/assertthat/compare/5.2.4...5.2.5) (2020-11-03)
### Bug Fixes
* bump comparejs from 4.0.3 to 4.0.4 ([#247](https://github.com/thenativeweb/assertthat/issues/247)) ([d6b81f3](https://github.com/thenativeweb/assertthat/commit/d6b81f3cf4b57f6edcf8f5b962fd6916998f1263))
## [5.2.4](https://github.com/thenativeweb/assertthat/compare/5.2.3...5.2.4) (2020-11-03)
### Bug Fixes
* bump comparejs from 4.0.2 to 4.0.3 ([#246](https://github.com/thenativeweb/assertthat/issues/246)) ([de2490d](https://github.com/thenativeweb/assertthat/commit/de2490d22a73e991c871e8465d24b595e572ea94))
## [5.2.3](https://github.com/thenativeweb/assertthat/compare/5.2.2...5.2.3) (2020-11-03)
### Bug Fixes
* bump comparejs from 4.0.1 to 4.0.2 ([#245](https://github.com/thenativeweb/assertthat/issues/245)) ([1062445](https://github.com/thenativeweb/assertthat/commit/106244516a1437ea6f9e6b4e6eb310ddea9dff99))
## [5.2.2](https://github.com/thenativeweb/assertthat/compare/5.2.1...5.2.2) (2020-11-03)
### Bug Fixes
* Fix headline for robot section in readme. ([#240](https://github.com/thenativeweb/assertthat/issues/240)) ([f8e3885](https://github.com/thenativeweb/assertthat/commit/f8e3885b0cd2c6827612f0022d7610f5dfac8bde))
## [5.2.1](https://github.com/thenativeweb/assertthat/compare/5.2.0...5.2.1) (2020-07-17)
### Bug Fixes
* Actually export typed assertions. ([#194](https://github.com/thenativeweb/assertthat/issues/194)) ([b43ffd2](https://github.com/thenativeweb/assertthat/commit/b43ffd26c661e52f8342fc3184f4b018aff9a210))
# [5.2.0](https://github.com/thenativeweb/assertthat/compare/5.1.1...5.2.0) (2020-07-17)
### Features
* Introduce option to type exception as custom errors. ([#193](https://github.com/thenativeweb/assertthat/issues/193)) ([4c91377](https://github.com/thenativeweb/assertthat/commit/4c9137792e088b42efa0675fd977c56bc8f4b277))
## [5.1.1](https://github.com/thenativeweb/assertthat/compare/5.1.0...5.1.1) (2020-03-19)
### Bug Fixes
* bump comparejs from 4.0.0 to 4.0.1 ([#170](https://github.com/thenativeweb/assertthat/issues/170)) ([c7b6c4b](https://github.com/thenativeweb/assertthat/commit/c7b6c4b7f4b95ac739bd8014fd199cc3bf4c733d))
# [5.1.0](https://github.com/thenativeweb/assertthat/compare/5.0.2...5.1.0) (2019-11-29)
### Bug Fixes
* Add missing release configuration file. ([ba6692e](https://github.com/thenativeweb/assertthat/commit/ba6692e9c383934935b97f0988b7d4d6df570da5))
* Compile TypeScript before releasing. ([b0b076c](https://github.com/thenativeweb/assertthat/commit/b0b076cc50e5c69f80e9de7fdba5babd83019acb))
### Features
* Introduce GitHub Actions. ([da377a5](https://github.com/thenativeweb/assertthat/commit/da377a5fda3f290f29a12052663a914401b974ed))