Skip to content

Releases: samchon/typia

v5.4.6

05 Feb 19:02
d4e2a3d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.4.5...v5.4.6

v5.4.5

04 Feb 17:05
03822cc
Compare
Choose a tag to compare

What's Changed

  • Add binary value on the IJsonSchema.IString.format. by @samchon in #948

Full Changelog: v5.4.4...v5.4.5

v5.4.4

02 Feb 18:52
516945d
Compare
Choose a tag to compare

Added more format tags like below.

export interface TypeTagFormat {
  // SPECIAL CHARACTERS
  byte: string & tags.Format<"byte">;
  password: string & tags.Format<"password">;
  regex: string & tags.Format<"regex">;
  uuid: string & tags.Format<"uuid">;

  // ADDRESSES
  email: string & tags.Format<"email">;
  hostname: string & tags.Format<"hostname">;
  idnEmail: string & tags.Format<"idn-email">;
  idnHostname: string & tags.Format<"idn-hostname">;
  iri: string & tags.Format<"iri">;
  iriReference: string & tags.Format<"iri-reference">;
  ipv4: string & tags.Format<"ipv4">;
  ipv6: string & tags.Format<"ipv6">;
  uri: string & tags.Format<"uri">;
  uriReference: string & tags.Format<"uri-reference">;
  uriTemplate: string & tags.Format<"uri-template">;
  url: string & tags.Format<"url">;

  // TIMESTAMPS
  datetime: string & tags.Format<"date-time">;
  date: string & tags.Format<"date">;
  time: string & tags.Format<"time">;
  duration: string & tags.Format<"duration">;

  // POINTERS
  jsonPointer: string & tags.Format<"json-pointer">;
  relativeJsonPointer: string & tags.Format<"relative-json-pointer">;
}

Also, new function typia.http.assertFormData<T>(input: FormData): Resolved<T> function added.

With the function, you can parse the FormData instance even including the Blob or File property.

import typia, { tags } from "typia";

interface ObjectHttpFormData {
  id: string & tags.Format<"uuid">;
  strings: string[];
  number: number;
  integers: Array<number & tags.Type<"int32">>;
  blob: Blob;
  blobs: Blob[];
  file: File;
  files: File[];
}
const data: ObjectHttpFormData = typia.http.assertFormData<ObjectHttpFormData>();

What's Changed

Full Changelog: v5.3.12...v5.4.4

v5.3.12

21 Jan 14:55
Compare
Choose a tag to compare

@EloB has contributed typia to generate much less bundling sized code by optimizing to be tree shaking friendly.

According to his claim, the patch reduces the bundling size about 90% down.

Thanks for his smart contribution, and let's wait his next module esbuild plugin for typia.

What's Changed

  • [Draft] Improved tree shaking code by @EloB in #928

New Contributors

  • @EloB made their first contribution in #928

Full Changelog: v5.3.11...v5.3.12

v5.3.11

16 Jan 16:24
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.3.10...v5.3.11

v5.3.10

14 Jan 05:57
5bdefe2
Compare
Choose a tag to compare

What's Changed

  • typia.reflect.metadata<Types>() function. by @samchon in #922

Full Changelog: v5.3.9...v5.3.10

v5.3.9

09 Jan 07:02
781c8e1
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.3.8...v5.3.9

v5.3.8

03 Jan 15:52
d22d2ca
Compare
Choose a tag to compare

Made JSON schema lighten for LLM reason.

What's Changed

Full Changelog: v5.3.7...v5.3.8

v5.3.7

30 Dec 15:55
5ee0a5e
Compare
Choose a tag to compare

What's Changed

  • IJsonSchema.IObject for object literal expression. by @samchon in #914
  • Enhance guide documents of setup page by @samchon in #915

Full Changelog: v5.3.6...v5.3.7

v5.3.6

29 Dec 05:43
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.3.5...v5.3.6