Skip to content

Releases: Snowflyt/typroof

v0.5.1

19 Mar 06:20
Compare
Choose a tag to compare
  • 🐳 chore(dep): Add typescript as explicit dependency in package.json. (7e19182)
  • 🐳 chore: Specify minimum Node.js engine version in package.json. (7dd962b)

v0.5.0

19 Mar 06:01
Compare
Choose a tag to compare

This major version update primarily removes the dependency on ts-morph to create a more lightweight package. While this change affects the plugin API (necessitating the major version bump), most users who don’t use the plugin API should experience no breaking changes to existing matcher functionality.

  • 🦄 refactor: Remove dependency on ts-morph. (c6cb997)
  • 🐞 fix: Ensure proper error handling when plugin analyzers throw non-string values. (8d27dc4)
  • 📃 docs(README): Reorganize documentation to be more beginner-friendly. (8272bdd)

v0.4.3

18 Mar 07:52
Compare
Choose a tag to compare
  • ✨ feat: Update icons for test results to improve consistenty with Jest/Vitest. (6cc583f)
  • ✨ feat: Include file path in assertion failure results for better debugging. (a5602d3)

v0.4.2

09 Mar 07:29
Compare
Choose a tag to compare
  • 🐞 fix(cli): Nested describes occur multiple times in the output (#1). (1f9fa5f)
  • 🐳 chore(dep): Update version of ts-morph (to support TypeScript 5.8). (d67a27e)

v0.4.1

06 Feb 12:15
Compare
Choose a tag to compare
  • 🐞 fix: Simply compile-time error message in edge cases to prevent deep type instantiation. (3491d69)

v0.4.0

06 Feb 11:37
Compare
Choose a tag to compare
  • ✨ feat!: Use type-level functions instead to define validators and serializers, aiming to boost compile-time performance. The newly introduced type-level functions (Validator and Serializer) are compatible with the hkt-core V1 standard. As part of this update, the original Validator is now renamed to ValidatorRegistry and StringifySerializer to StringifySerializerRegistry, and these have been migrated from typroof to typroof/plugin for better modularity. (4e48a45)
  • 🦄 refactor!: Relocate several type exports—including Stringify and its related types, ValidatorRegistry, Analyzer, AnalyzerMeta, Match, and ToAnalyze—from typroof to typroof/plugin, enhancing code organization and clarity. (a584e4e)

v0.3.8

29 Jan 08:20
Compare
Choose a tag to compare
  • 🐞 fix: Add (Async)Generator support for Stringify utility type. (e821b89)

v0.3.7

29 Jan 07:13
Compare
Choose a tag to compare
  • ✨ feat: Support custom serializer for Stringify.
  • 🐞 fix: Improve Stringify with wrapped types (Boolean/Number/BigInt/String/Symbol/Object), special types (object, Function, etc.) and global objects (Math, JSON, etc.).

v0.3.6

28 Jan 09:41
Compare
Choose a tag to compare
  • 🐳 chore(dep): Update version of ts-morph (to support TypeScript 5.7).

v0.3.5

22 Dec 09:27
Compare
Choose a tag to compare
  • 🐞 fix: Fix the BUG that Stringify cannot handle {} type correctly.