Releases: samchon/typia
v9.1.1
9.1.0
What's Changed
- Bump the ecosystem group across 1 directory with 3 updates by @dependabot in #1565
- Bump typescript from 5.8.2 to 5.8.3 in /test in the ecosystem group by @dependabot in #1566
- New function
typia.json.schema<T>()
by @samchon in #1567
Full Changelog: v9.0.1...9.1.0
v9.0.1
Major update from @samchon/openapi
: https://github.com/samchon/openapi/releases/tag/v4.0.0
export namespace JsonSchema {
export interface INumber {
type: "number";
minimum?: number;
maximum?: number;
exclusiveMinimum?: number; // boolean -> number
exclusiveMaximum?: number; // boolean -> number;
examples?: Record<string, any> | Array<any>; // object -> array | object
}
}
Anthropic Claude has banned boolean
typed exclusiveMinimum
and exclusiveMaximum
properties. So @samchon/openapi
has changed them to number
type to support Anthropic Claude perflectly, and it is a typical major update taking a break change on types.
Also, in the JSON schema specifications, examples
property has been changed from Array<any>
type to Record<string, any>
type since OpenAPI v3 update. However, too much people and frameworks are not responding such specification change. So, many of users validating OpenAPI specification by typia.assert<OpenApiV3_1.IDocument>(doc)
function had been failed due to such JsonSchema.examples
reason.
@samchon/openapi
's new release allows non-standard example
type (Array<any>
) considering the industrial environments, and supports polyfill methods instead.
To respond such break changes with major update from @samchon/openapi
, typia
has released new major update v9. Also, realising a new major update, typia
has enhanced number & tags.Type<"uint32">
like unsigned integer type about JSON schema generation. From now on, when define a number & tags.Type<"int32">
like tag, it would also contain the minimum: 0
constraint in the JSON schema.
What's Changed
exclusiveMinimum
/exclusiveMaximum
asnumber
type by @samchon in #1562- Enhance
uint
type's JSON schema property. by @samchon in #1563 - Fix comment tag written
@exclusiveMinimum
case. by @samchon in #1564
Full Changelog: v8.2.0...v9.0.1
v8.2.0
What's Changed
- Prepare example codes for nextra v4 mdx compiling by @samchon in #1558
- fix typo: validatae -> validate by @dengkunli in #1560
- Bump up openapi version by @samchon in #1561
New Contributors
- @dengkunli made their first contribution in #1560
Full Changelog: v8.1.1...v8.2.0
v8.1.1
What's Changed
- fix: more accurate target file patterns on
typia generate
by @sushichan044 in #1557
New Contributors
- @sushichan044 made their first contribution in #1557
Full Changelog: v8.1.0...v8.1.1
v8.1.0
v8.0.4
What's Changed
- Detailing of validation feedback strategy by @samchon in #1543
- Bump typedoc from 0.27.9 to 0.28.0 in /website in the ecosystem group by @dependabot in #1545
- feat: emit .d.mts declaration files by @ryoppippi in #1551
- chore: remove preinstall script (fixes: #1547) by @ryoppippi in #1554
Full Changelog: v8.0.3...v8.0.4
v8.0.3
What's Changed
- fix: typo by @amorriscode in #1538
- fix(rollup): remove external property by @ryoppippi in #1539
- Fix typo of
@deprecated
tag. by @samchon in #1540 - Detailed explanation of validation feedback strategy by @samchon in #1541
- Fix
typia.llm.schema<T, Model>()
not to properly assign$defs
. by @samchon in #1542
New Contributors
- @amorriscode made their first contribution in #1538
Full Changelog: v8.0.2...v8.0.3
v8.0.2
v8.0.1
What's Changed
- Bump @samchon/openapi from 3.0.0-dev.20250301 to 3.0.0 in the ecosystem group across 1 directory by @dependabot in #1525
- feat: only allow pnpm for project by @ryoppippi in #1526
- Re-wrote AI chatbot page by @samchon in #1528
- docs: deprecated unplugin-typia jsr by @ryoppippi in #1529
- rollup fix by @ryoppippi in #1527
- fix(ci): use
npm pkg delete
to removeprivate
instead ofjq
by @ryoppippi in #1491 - Fix #1532: private class member with JsDoc commented. by @samchon in #1533
Full Changelog: v8.0.0...v8.0.1