Commit Graph
750 Commits
Author SHA1 Message Date
Giulio Canti b6e357d897 Add instructions for adding annotations to a Schema.Class usage (#3395) 2024-08-01 09:38:44 +02:00
Giulio Canti 3dce357efe Enhanced Parsing with TemplateLiteralParser, closes #3307 (#3347) 2024-07-31 08:56:37 +02:00
Giulio Canti 657fc48bb3 Implement DecodingFallbackAnnotation to manage decoding errors (#3346) 2024-07-31 08:39:49 +02:00
TimandTim Smart 8135294b59 add DateTime module (#3296)
Co-authored-by: Tim Smart <tim.smart@arisechurch.com>
2024-07-30 16:20:48 +12:00
Tim 3eb8c4789c Revert "Release queue: minor" (#3379) 2024-07-30 16:17:02 +12:00
+2 9c058c9833 Release queue: minor (#3248)
Co-authored-by: ecyrbe <ecyrbe@gmail.com>
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
Co-authored-by: Michael Arnaldi <michael.arnaldi@effectful.co>
Co-authored-by: Dmitry <dilame@users.noreply.github.com>
Co-authored-by: Tim <hello@timsmart.co>
Co-authored-by: Sebastian Lorenz <fubhy@fubhy.com>
Co-authored-by: Milan Suk <Milansuk@email.cz>
Co-authored-by: Vincent François <vincent.francois@inato.com>
Co-authored-by: Tim Smart <tim.smart@arisechurch.com>
Co-authored-by: Maxim Khramtsov <khraks.mamtsov@gmail.com>
Co-authored-by: maksim.khramtsov <maksim.khramtsov@btsdigital.kz>
2024-07-30 16:14:18 +12:00
Giulio Canti 727ce89191 schema: add userland tests (#3370) 2024-07-29 08:01:08 +02:00
Giulio Canti 9bbe7a6814 add NonEmptyTrimmedString, OptionFromNonEmptyTrimmedString, close… (#3343) 2024-07-26 14:35:28 +02:00
Giulio Canti f241154add Expose success and failure schemas on TaggedRequestClass interface,… (#3333) 2024-07-24 14:56:21 +02:00
Giulio Canti 20807a45ed schema next minor (#3227) 2024-07-23 12:54:04 +02:00
Giulio Canti f0285d3af6 JSON Schema: change default behavior for property signatures containi… (#3287) 2024-07-17 19:01:20 +02:00
Giulio Canti 3ac2d76048 Fix: Correct Handling of JSON Schema Annotations in Refinements (#3284) 2024-07-17 17:36:42 +02:00
Tim edb0da3837 ensure Schema.TaggedError renders a .cause correctly (#3234) 2024-07-12 17:54:01 +12:00
Giulio Canti f7534b94cb Add toString to AST.PropertySignature and AST.IndexSignature an… (#3198) 2024-07-08 12:58:54 +02:00
Maxim Khramtsovandmaksim.khramtsov 5d5cc6cfd7 Support Capitalize Uncapitalize filters and schemas (#3192)
Co-authored-by: maksim.khramtsov <maksim.khramtsov@btsdigital.kz>
2024-07-07 20:07:27 +02:00
Giulio Canti 359ff8aa2e add Serializable docs (#3148) 2024-07-04 18:50:48 +02:00
Giulio Canti 15967cf189 Add filterEffect API, closes #3165 (#3166) 2024-07-04 12:11:09 +02:00
Giulio Canti 2328e17577 Add pick and omit members to Struct interface, closes #3152 (#3163) 2024-07-04 08:00:58 +02:00
Giulio Canti 64e1a16266 suppress ajv warnings in tests (#3151) 2024-07-03 15:52:59 +02:00
Giulio Canti d006cec022 Enhance JSON Schema Support for Refinements in Record Parameters (#3143) 2024-07-02 14:25:04 +02:00
Giulio Canti e911cfdc79 Optimize JSON Schema output for homogeneous tuples (such as non empty… (#3139) 2024-07-02 07:26:14 +02:00
Giulio Canti 8513d7edba README: Recommend using the strict: true option to get better error… (#3132) 2024-06-30 16:44:04 +02:00
Giulio Canti 34faeb6305 Add ReadonlyMapFromRecord and MapFromRecord, closes #3119 (#3130) 2024-06-30 11:43:28 +02:00
Giulio Canti 61e59640fd Add support for Union, Suspend, and Refinement as the second argument… (#3125) 2024-06-29 12:16:40 +02:00
Giulio Canti cb76bcb2f8 Modified JSONSchema.make to selectively ignore the title and `des… (#3117) 2024-06-28 18:55:31 +02:00
Giulio Canti d9905444b9 Generate JSON Schemas correctly for a schema created by extending two… (#3101) 2024-06-27 08:50:40 +02:00
Giulio Canti d71c192b89 Special case S.parseJson to generate JSON Schemas by targeting the … (#3087) 2024-06-26 09:27:28 +02:00
Giulio Canti 192261b2ae Add refineTypeId unique symbol to the refine interface to ensure … (#3070) 2024-06-24 13:15:14 +02:00
Giulio Canti 530fa9e36b Fix error message display for composite errors when overwrite = false (#3046) 2024-06-22 16:13:21 +02:00
Giulio Canti 1d62815a50 Add make constructor to Class-based APIs, closes #3042 (#3043) 2024-06-21 18:35:12 +02:00
Giulio Canti d47380012c Introducing Customizable Parsing Behavior at the Schema Level, closes… (#3028) 2024-06-20 19:57:36 +02:00
Giulio Canti b51e26662b Fix handling of exact option overrides in AST.ParseOptions and im… (#3015) 2024-06-19 06:49:41 +02:00
Giulio Canti f6c79772e6 Schema: version 0.68.0 (#2906) 2024-06-17 15:14:25 +02:00
Giulio Canti 3a750b25b1 Expose exact option for strict decoding on missing properties, clos… (#2994) 2024-06-16 12:42:56 +02:00
Giulio Canti 9b3b4ac639 Add Schema.NonEmptyChunkFromSelf and Schema.NonEmptyChunk, closes… (#2971) 2024-06-10 16:31:24 +02:00
Giulio Canti d79ca17d9f The minItems filter now checks for an invalid argument (n < 1) an… (#2955) 2024-06-09 09:25:32 +02:00
67f160a213 Introduce Redacted<T> module (#2856)
Co-authored-by: maksim.khramtsov <maksim.khramtsov@btsdigital.kz>
Co-authored-by: Tim <hello@timsmart.co>
2024-06-06 22:10:40 +12:00
Giulio Canti 7fcdb92427 propertyOrder: do not add missing optional values (#2930) 2024-06-05 23:03:18 +02:00
Giulio Canti 4c6bc7f190 Add propertyOrder option to ParseOptions to control the order of … (#2926) 2024-06-05 20:11:15 +02:00
Giulio Canti cd7496ba21 Add support for AST.Literal in Schema.TemplateLiteral, closes #2913 (#2916) 2024-06-04 11:09:46 +02:00
Giulio Canti 349a036ffb Schema: align constructors arguments (#2915) 2024-06-04 10:13:51 +02:00
Giulio Canti 7d6d875007 add support for unions to rename, closes #2904 (#2905) 2024-06-03 08:58:26 +02:00
Giulio Canti c6ab27e46d encodedBoundSchema: preserve array stable filters (#2902) 2024-06-02 17:45:43 +02:00
Giulio Canti 3c080f74b2 add support for string literals to Schema.TemplateLiteral and `Temp… (#2901) 2024-06-02 15:53:41 +02:00
Giulio Canti d9d22e7c4d Schema: expose property signature schemas (#2892) 2024-06-02 12:03:11 +02:00
Giulio Canti 70cda704e8 Add encodedBoundSchema API (#2897) 2024-06-01 18:24:57 +02:00
Giulio Canti e2740fc4e2 add requiredToOptional function to Schema module, closes #2881 (#2882) 2024-05-30 17:32:05 +02:00
Giulio Canti 60fe3d5fb2 add missing makePropertySignature constructor (#2880) 2024-05-30 16:23:48 +02:00
Giulio Canti c5846e9913 Add tag and TaggedStruct constructors (#2851) 2024-05-27 09:58:01 +02:00
Giulio Canti e3766411b6 Add support for Config module, closes #2346 (#2816) 2024-05-22 21:06:02 +02:00