Skip to content

Releases: samchon/typia

v7.3.0

12 Dec 17:41
8285dcc
Compare
Choose a tag to compare

What's Changed

Full Changelog: v7.2.0...v7.3.0

v7.2.0

10 Dec 02:42
0e115d5
Compare
Choose a tag to compare

What's Changed

  • Report TransformError in website playground. by @samchon in #1420
  • Update typedoc requirement from ^0.27.3 to ^0.27.4 in /website in the ecosystem group by @dependabot in #1419
  • Add IValidation.IError.data property. by @samchon in #1421

Full Changelog: v7.1.0...v7.2.0

v7.1.0

09 Dec 01:27
97589c7
Compare
Choose a tag to compare

What's Changed

  • Bump typedoc from 0.26.11 to 0.27.3 in /website in the ecosystem group across 1 directory by @dependabot in #1416
  • New function typia.llm.applicationOfValidate(). by @samchon in #1418

Full Changelog: v7.0.2...v7.1.0

v7.0.2

05 Dec 02:43
75fe450
Compare
Choose a tag to compare

TypeScript v5.7 has occured many break changes on its filesystem, and it had broken the ts-patch. And today, @nonara has fixed the problem by upgrading the ts-patch. This PR allows to install TypeScript 5.7+ version following the ts-patch update.

Also, TypeScript v5.7 has changed another break change on the Uint8Array like native class type to have a generic argument Uint8Array. This PR also solves the problem of it.

Special thanks to @nonara, the transformation ecosystem builder.

What's Changed

Full Changelog: v7.0.1...v7.0.2

v7.0.1

03 Dec 07:40
9d8d55c
Compare
Choose a tag to compare

Emergent patch for frontend applications with unplugin-typia, especially for below cases.

Special thanks to @ryoppippi

  1. Dynamic import statements must be injected after "use server" like statements
  2. Remove $ starting variable for SvelteKit 5.

What's Changed

Full Changelog: v7.0.0...v7.0.1

v7.0.0

02 Dec 06:36
9358cd1
Compare
Choose a tag to compare

LLM Models Supporting

LLM schema generator functions have become suitable to LLM provider models.

import { ILlmApplication, ILlmSchema } from "@samchon/openapi";
import typia from "typia";

const app: ILlmApplication<"chatgpt"> = typia.llm.application<MyApp, "chatgpt">();
const parameters: ILlmSchema.IParameters<"claude"> = typia.llm.parameters<MyParameters, "claude">();
const schema: ILlmSchema<"gemini"> = typia.llm.schema<MyType, "gemini">();
image

Optimized for Frontend Bundlers

Typia v7 compiler has been optimized for frontend bundlers.

From now on, internal functions would be dynamically imported like below.

cc @ryoppippi: please check unplugin-typia works in the new major update.

import typia, { tags } from "typia";
import { v4 } from "uuid";

const matched: boolean = typia.is<IMember>({
  id: v4(),
  email: "[email protected]",
  age: 30,
});

console.log(matched); // true

interface IMember {
  id: string & tags.Format<"uuid">;
  email: string & tags.Format<"email">;
  age: number &
    tags.Type<"uint32"> &
    tags.ExclusiveMinimum<19> &
    tags.Maximum<100>;
}
import * as __typia_transform__isFormatUuid from "typia/lib/internal/_isFormatUuid.js";
import * as __typia_transform__isFormatEmail from "typia/lib/internal/_isFormatEmail.js";
import * as __typia_transform__isTypeUint32 from "typia/lib/internal/_isTypeUint32.js";
import typia from "typia";
import { v4 } from "uuid";
const matched = (() => {
  const _io0 = (input) =>
    "string" === typeof input.id &&
    __typia_transform__isFormatUuid._isFormatUuid(input.id) &&
    "string" === typeof input.email &&
    __typia_transform__isFormatEmail._isFormatEmail(input.email) &&
    "number" === typeof input.age &&
    __typia_transform__isTypeUint32._isTypeUint32(input.age) &&
    19 < input.age &&
    input.age <= 100;
  return (input) => "object" === typeof input && null !== input && _io0(input);
})()({
  id: v4(),
  email: "[email protected]",
  age: 30,
});
console.log(matched); // true

What's Changed

Full Changelog: v6.12.2...v7.0.0

v6.12.2

25 Nov 20:37
7bac37a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.12.1...v6.12.2

v6.12.1

24 Nov 16:19
bf1fa42
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v6.12.0...v6.12.1

v6.12.0

11 Nov 12:29
9cdb790
Compare
Choose a tag to compare

What's Changed

  • Recursive type supporting from the LLM schema. by @samchon in #1354

Full Changelog: v6.11.4...v6.12.0

v6.11.4

10 Nov 15:57
b12380e
Compare
Choose a tag to compare

What's Changed

  • build(deps): update @samchon/openapi requirement from ^1.1.1 to ^1.1.2 in the ecosystem group by @dependabot in #1341
  • build(deps-dev): update typedoc requirement from ^0.26.10 to ^0.26.11 in /website in the ecosystem group by @dependabot in #1347
  • Fix wrong $ref address for recursive array type. by @samchon in #1351

Full Changelog: v6.11.3...v6.11.4