Skip to content

Releases: samchon/typia

v5.4.14

29 Feb 18:22
1d2fbfc
Compare
Choose a tag to compare

What's Changed

  • Fix constant and tagged atomic type case. by @samchon in #983

Full Changelog: v5.4.13...v5.4.14

v5.4.13

27 Feb 15:16
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.4.12...v5.4.13

v5.4.12

23 Feb 14:36
cefa989
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.4.10...v5.4.12

v5.4.10

19 Feb 19:35
d167cac
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.4.9...v5.4.10

v5.4.9

15 Feb 14:36
6e6290f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.4.8...v5.4.9

v5.4.8

09 Feb 15:15
2cf31d7
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.4.7...v5.4.8

v5.4.7

07 Feb 21:07
237f4da
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.4.6...v5.4.7

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