Commit Graph
890 Commits
Author SHA1 Message Date
TimandGiulio Canti 1ceed149dc add Schema.ArrayEnsure & Schema.NonEmptyArrayEnsure (#3448)
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
2024-08-12 19:24:45 +12:00
Giulio Canti c1987e25c8 Make json schema output more compatible with Open AI structured outpu… (#3433) 2024-08-12 07:03:44 +02:00
Giulio Canti 99ad841529 Fix return types for attachPropertySignature function (#3430) 2024-08-08 10:15:12 +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
Giulio Canti 7411eaafb3 chore: fix DateTime since tags (#3388) 2024-07-31 08:19:06 +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 2fc0ff4c59 export isPropertySignature guard (#3363) 2024-07-27 08:42:54 +02:00
Giulio Canti 9bbe7a6814 add NonEmptyTrimmedString, OptionFromNonEmptyTrimmedString, close… (#3343) 2024-07-26 14:35:28 +02:00
Giulio Canti 7c0da5050d Add Context field to Schema interface, closes #3356 (#3359) 2024-07-26 12:08:33 +02:00
Giulio Canti f262665c27 Improve annotation retrieval from Class APIs, closes #3348 (#3357) 2024-07-26 08:05:00 +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 6921c4fb8c Remove incorrect static override type annotations in class definitions (#3311) 2024-07-20 15:04:30 +02:00
Giulio Canti 8ec49555ed remove type-level error message from optional signature, closes #3290 (#3291) 2024-07-17 19:28:01 +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
Tim cb22726568 add PersistedCache module to /experimental (#3149) 2024-07-03 22:17:23 +12: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 0b47fdfe44 Revert the 0.67.22 patch as it is causing issues with other array fil… (#3074) 2024-06-24 14:52:54 +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 eb341b3eb3 Replace Types.Simplify with a custom Simplify to restore nice typ… (#3024) 2024-06-20 16:00:34 +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 0ff11d7199 fix typo (isExact -> exact) and make internal toASTAnnotations more general (#2998) 2024-06-16 17:17:11 +02:00
Giulio Canti 3b15e1b505 Improve error handling (type-level) for improper usage of optional,… (#2997) 2024-06-16 16:41:28 +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 01171bc24e add internal mergeSchemaAnnotations (#2992) 2024-06-15 16:16:23 +02:00
Giulio Canti 2ee4f2be7f Remove Simplify from extend, pick, omit, pluck APIs, closes… (#2991) 2024-06-14 19:11:42 +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
Giulio Canti b64b6ed152 Schema: fix Redacted since tag (#2941) 2024-06-06 17:39:06 +02:00