Skip to content

Releases: samchon/typia

v3.0.10

05 Jul 17:48
520b042
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.9...v3.0.10

v3.0.9

04 Jul 18:00
0dc17c0
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.8...v3.0.9

v3.0.8

03 Jul 17:40
0317a90
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.7...v3.0.8

v3.0.7

01 Jul 19:10
212387c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.6...v3.0.7

v3.0.6

29 Jun 21:25
d7789fa
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.5...v3.0.6

v3.0.5

27 Jun 06:27
ebcfb6a
Compare
Choose a tag to compare

What's Changed

  • v3.0.5, have conquered extremely complicate union type by @samchon in #116

Full Changelog: v3.0.4...v3.0.5

v3.0.4

26 Jun 17:38
29fa788
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.3...v3.0.4

v3.0.3

26 Jun 15:01
d0274fb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.2...v3.0.3

v3.0.2

26 Jun 06:58
7e4f907
Compare
Choose a tag to compare

Summary

import TSON from "typescript-json";

//----
// MAIN FUNCTIONS
//----
TSON.assertType<T>(input); // runtime type checker throwing exception
TSON.is<T>(input); // runtime type checker returning boolean
TSON.stringify<T>(input); // 5x faster JSON.stringify()

//----
// APPENDIX FUNCTIONS
//----
TSON.application<[T, U, V], "swagger">(); // JSON schema application generator
TSON.create<T>(input); // 2x faster object creator (only one-time construction)

JSON String Conversion Benchmark

From now on, typescript-json is not a wrapper library of fast-json-stringify. It converts to JSON string by its optimal algorithm. By the new algorithm, typescript-json generates JSON string much faster and safer. Also, its optimizer plan construction time is over 10,000 times faster than the previous fast-json-stringify.

Also, typescript-json supports runtime type checker functions. The new runtime type checker functions are much stronger and safer than ever. Only typescript-json can validate complicate union typed structures. Other simliar libraries like ajv, io-ts or typescript-is, all of them cannot understand the complicate union type.

Runtime Type Checker Benchmark

What's Changed

Full Changelog: v2.1.6...v3.0.2

v2.1.6

05 Jun 17:36
4d14184
Compare
Choose a tag to compare

What's Changed

Features

  • ESLint and Prettier
  • Support tuple type
  • Support constant value type
  • Support enumeration type
  • Fix error when template literal type on generic type

Full Changelog: v2.1.5...v2.1.6