Changes for version 0.034 - 2019-11-27
- INCOMPATIBLE CHANGE
- New naming scheme for coerce rule modules: Data::Sah::Coerce::To_<TargetType>::From_<SourceType>::<Description>; This makes the name significantly clearer. Metadata version is not bumped.
- This means the old name is not searched anymore. Any Sah schema that contains coercion rules must be updated so it refers to the new module. Any Sah coercion module with the new name must be renamed to the new one.
- New naming scheme for coerce rule modules: Data::Sah::Coerce::To_<TargetType>::From_<SourceType>::<Description>; This makes the name significantly clearer. Metadata version is not bumped.
- ENHANCEMENTS
- Add summary to meta. This makes it easier for script like 'list-sah-coerce-rule-modules` to display summary for each rule.
Modules
Coercion rules for Data::Sah
Coerce datenotime from number (assumed to be epoch)
Coerce datenotime from Date object
Coerce datenotime from string using Date.parse()
Coerce datetime from number (assumed to be epoch)
Coerce datetime from Date object
Coerce datetime from string
Coerce datenotime from number (assumed to be epoch)
Coerce datenotime from number (assumed to be epoch)
Coerce datenotime from DateTime object
Coerce datenotime from Time::Moment object
Coerce datetime from number (assumed to be epoch)
Coerce datetime from number (assumed to be epoch)
Coerce datetime from DateTime object
Coerce datetime from Time::Moment object
Common stuffs for Data::Sah::Coerce and Data::Sah::CoerceJS
Generate coercer code