All Versions
4
Latest Version
Avg Release Cycle
92 days
Latest Release
691 days ago
Changelog History
Changelog History
-
v0.2.1 Changes
July 26, 2024What's Changed
Full Changelog : v0.2.0...v0.2.1
-
v0.2.0 Changes
February 01, 2024๐ Features
Drops.Typemodule that allows you to define custom types (via #36)Drops.Type.Validatorprotocol that allows you to define custom validators for your types- โ Added built-in
Drops.Types.Numbertype (issue #33) - โ Added
unionto type definition DSL (issue #37)
๐ Fixes
- โ Warning about
conformcallback is gone (issue #34)
๐ Changes
- ๐จ All built-in types have been refactored to use the validator protocol
Drops.Types.Sumwas renamed toDrops.Types.Union
-
v0.1.1 Changes
October 27, 2023๐ Bug fixes
- [
Drops.Contract] Rules are now correctly applied only to the root map (via #32)
- [
-
v0.1.0 Changes
October 25, 2023- โ Added
Drops.Contractmodule for defining validation schemas with additional rules - โ Added
Drops.Validatormodule for running validation functions against input - โ Added
Drops.Validator.Messages.DefaultBackendthat's configured by default in contracts โ Added
Drops.Typesmodule with the following built-in types:Drops.Types.Type- basic typeDrops.Types.List- a list if member typeDrops.Types.Map- a map with typed keysDrops.Types.Sum- a composition of two typesDrops.Types.Cast- a type that defines from-to casting types and caster options
โ Added
Drops.Predicatesmodule which provides many common predicate functions likefilled?,gt?,size?etc.โ Added
Drops.Castersmodule which provides common type casting functions that can be used with the built-in types
- โ Added