Skip to content

Releases: samchon/typia

v3.3.20

03 Nov 02:39
51c3ca1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.3.19...v3.3.20

v3.3.19

02 Nov 05:41
da937fb
Compare
Choose a tag to compare

Renamed to AssertProgrammer for 3rd party libraries.

What's Changed

New Contributors

Full Changelog: v3.3.18...v3.3.19

v3.3.18

31 Oct 12:13
bab99c1
Compare
Choose a tag to compare

Is Function Benchmark

Assert Function Benchmark

Measured on AMD R9 5900HX

typescript-json become more faster.

From now on, I'll use the keyword, 6,000x faster validator.

What's Changed

Full Changelog: v3.3.17...v3.3.18

v3.3.17

30 Oct 16:29
c7e7341
Compare
Choose a tag to compare

Performance tunings on assertType() , validate() and related functions are done.

Therefore, those became faster.

Before

image

After

image

What's Changed

New Contributors

Full Changelog: v3.3.16...v3.3.17

v3.3.16

26 Oct 04:02
Compare
Choose a tag to compare

Fix error of #269

I've taken a mistake omitting an @internal tag, therefore hotfix it

Full Changelog: v3.3.15...v3.3.16

v3.3.15

25 Oct 11:01
a97181c
Compare
Choose a tag to compare
export function stringify<T>(input: T): string; // unsafe but fatest
export function assertStringify<T>(input: T): string; // throws TypeGuardError
export function isStringify<T>(input: T): string | null; // wrong type be null

export function createStringify<T>(): (input: T) => string;
export function createAssertStringify<T>(): (input: T) => string;
export function createIsStringify<T>(): (input: T) => string | null;

JSON string converters are enhanced.

What's Changed

Full Changelog: v3.3.14...v3.3.15

v3.3.14

24 Oct 19:12
cf7f4ab
Compare
Choose a tag to compare
export function assertStringify<T>(input: T): string;
export function createAssertStringify<T>(): (input: T) => string;

Two functions assertStringify() and createAssertStringify() have been newly added.

They're composite functions combined assertType() and stringify(), so that much safer and even than JSON.stringify().

I hope them to be killer functions of typescript-json.

What's Changed

Full Changelog: v3.3.13...v3.3.14

v3.3.13

23 Oct 08:21
1f63f13
Compare
Choose a tag to compare

Reusable functions are newly added:

  • TSON.createAssertType()
  • TSON.createIs()
  • TSON.createValidate()
  • TSON.createAssertEquals()
  • TSON.createEquals()
  • TSON.createValidateEquals()
  • TSON.createStringify()

Also, TypeBox author @sinclairzx81 has helped me and benchmarked each libraries.

It seems that TypeBox is much faster than my library when comparing is() and equals() functions.

TypeBox would be the best choice when using JavaScript or TypeScript environment which cannot utilize transformer.

What's Changed

New Contributors

Full Changelog: v3.3.12...v3.3.13

v3.3.12

18 Oct 03:17
ac7e4d9
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.3.11...v3.3.12

v3.3.11

16 Oct 06:26
bc22959
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.3.10...v3.3.11