TyDy Versions Save

🚀 Runtime type dynamics, validation, reflection, code generation, and robust third-party library wrapping for enhanced type safety.

2.0.0

7 months ago

1.0.25

7 months ago

1.0.24.2

7 months ago

1.0.24

7 months ago

1.0.23

7 months ago

1.0.22

7 months ago

1.0.21

7 months ago

Full Changelog: https://github.com/Mervsy/TyDy/compare/1.0.20.2...1.0.21

Summary of Today's Changes to TyDy Library

New Features Added:

  1. Additional Type Checks:
  • Array Type Checks: Added tests to validate if the dynamic type can handle arrays of specific types.
  • Nested Object Checks: Added tests for nested objects and their type validation.
  1. Performance Testing:
  • Benchmark Tests: Added the capability to compare the performance of your dynamic type checks against native TypeScript type checks or other libraries.
  1. Error Handling:
  • Custom Error Messages: Implemented the ability to specify custom error messages and added tests for them.
  • Error Types: Added tests for different kinds of errors like TypeError, ReferenceError, etc.
  1. Default Value Assignment:
  • Added a new feature to automatically assign default values to object properties based on a schema. This feature is particularly useful for setting default configurations, API response handling, or data sanitization.
  1. Type Transformation:
  • Added a new feature to transform object properties to different types based on a schema. This is useful for data normalization and type coercion.

Documentation Updates:

  1. README: Updated the README to include examples and usage instructions for the new features.
  2. Mermaid Graph: Updated the Mermaid graph to visualize the new features in the library's architecture.

Test Enhancements:

  1. Added comprehensive tests for all the new features to ensure they work as expected.
  2. Fixed test failures related to nested objects and handling null and undefined values in the Default Value Assignment feature.

1.0.20.2

7 months ago

1.0.20

7 months ago

1.0.19

7 months ago