Skip to content

Conversation

@cmath10
Copy link
Contributor

@cmath10 cmath10 commented Dec 22, 2024

No description provided.

@codecov
Copy link

codecov bot commented Dec 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (dcf5727) to head (af74d94).
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main        #2      +/-   ##
===========================================
+ Coverage   95.18%   100.00%   +4.81%     
===========================================
  Files          20         8      -12     
  Lines         187       167      -20     
  Branches       68        52      -16     
===========================================
- Hits          178       167      -11     
+ Misses          9         0       -9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

* Added Predicate type
* Added Meta type
* Added Assert type for combining Predicate and Meta
* Added assertions for booleans, email, dates, null, number, string, symbol
* Added ValidationRunner type for running complex checks

BREAKING CHANGE: validator object replaced with validate function, containing sub method sync for synchronous validation
BREAKING CHANGE: Length constraint replaced with HasLength functional assertion
BREAKING CHANGE: Exists constraint replaced with IsDefined functional assertion
BREAKING CHANGE: Each object replaced with Each runner
BREAKING CHANGE: Collection object replaced with HasProperties runner
BREAKING CHANGE: Type "Key" replaced with in-box "PropertyKey"
BREAKING CHANGE: ConstraintCollection type was removed
BREAKING CHANGE: ConstraintValidator was renamed to Validator
BREAKING CHANGE: ConstraintViolation was renamed to Violation
BREAKING CHANGE: d.ts files for exported logic units are now generated and available in dist catalogue
@cmath10 cmath10 merged commit b829a1e into main Dec 22, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants