typia

Super-fast/easy runtime validations and serializations through transformation

MIT License

Downloads
429.9K
Stars
4.4K
Committers
87

Bot releases are hidden (Show)

typia - v3.3.40

Published by samchon almost 2 years ago

TS 4.9.4 patch has been delayed for a long time.

Therefore, blocked TS 4.9 by peerDependencies

What's Changed

Full Changelog: https://github.com/samchon/typescript-json/compare/v3.3.39...v3.3.40

typia - v3.3.39

Published by samchon almost 2 years ago

From now on, typescript-json supports built-in class validation.

Also, prohibit atomic class type like Boolean, Number and String for type safety.

I know that it is a huge commit even LOC change is over 50k, but I decided to keep v3.3 version because there's not any change on facade controller. For reference, typescript-json would be upgraded to v3.4 when Protocol Buffer being supported (maybe renamed to ttype because typescript-json is not supporting JSON only).

  • Date
  • Uint8Array, Uint8ClampedArray, Uint16Array, Uint32Arry, BigUint64Array
  • Int8Array, Int16Array, Int32Array, BigInt64Array
  • Float32Array, Float64Array
  • Buffer, ArrayBuffer, SharedArrayBuffer, DataView
  • Set, Map, WeakSet, WeakMap

What's Changed

Full Changelog: https://github.com/samchon/typescript-json/compare/v3.3.38...v3.3.39

typia - v3.3.38

Published by samchon almost 2 years ago

interface Date {
    getVarDate: () => VarDate;
}

Suffering from Date.getVarDate() function that never exists.

I'm considering erase of functional: false option after #372 being completed, because the option had been developed to avoid the special TypeScript bug Date.getVarDate().

What's Changed

New Contributors

Full Changelog: https://github.com/samchon/typescript-json/compare/v3.3.36...v3.3.38

typia - v3.3.36

Published by samchon almost 2 years ago

What's Changed

Full Changelog: https://github.com/samchon/typescript-json/compare/v3.3.35...v3.3.36

typia - v3.3.35

Published by samchon almost 2 years ago

equals() function has been optimized

Before

image

After

image

What's Changed

Full Changelog: https://github.com/samchon/typescript-json/compare/v3.3.34...v3.3.35

typia - v3.3.34

Published by samchon almost 2 years ago

image

TSON.stringify() function has been enhanced by function inlining.

What's Changed

New Contributors

Full Changelog: https://github.com/samchon/typescript-json/compare/v3.3.33...v3.3.34

typia - v3.3.33

Published by samchon almost 2 years ago

What's Changed

Full Changelog: https://github.com/samchon/typescript-json/compare/v3.3.32...v3.3.33

typia - v3.3.32

Published by samchon almost 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/samchon/typescript-json/compare/v3.3.31...v3.3.32

typia - v3.3.31

Published by samchon almost 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/samchon/typescript-json/compare/v3.3.30...v3.3.31

typia - v3.3.30

Published by samchon almost 2 years ago

What's Changed

Full Changelog: https://github.com/samchon/typescript-json/compare/v3.3.29...v3.3.30

typia - v3.3.29

Published by samchon almost 2 years ago

What's Changed

Full Changelog: https://github.com/samchon/typescript-json/compare/v3.3.28...v3.3.29

typia - v3.3.28

Published by samchon almost 2 years ago

From now on, typescript-json is maximum 15,000x times faster than class-validator

Is Function Benchmark

Measured on Intel i5-1135g7, Surface Pro 8

What's Changed

Full Changelog: https://github.com/samchon/typescript-json/compare/v3.3.27...v3.3.28

typia - v3.3.27

Published by samchon almost 2 years ago

What's Changed

Full Changelog: https://github.com/samchon/typescript-json/compare/v3.3.26...v3.3.27

typia - v3.3.26

Published by samchon almost 2 years ago

Special thanks for @rojiwon0325

What's Changed

Full Changelog: https://github.com/samchon/typescript-json/compare/v3.3.23...v3.3.26

typia - v3.3.23

Published by samchon almost 2 years ago

Changed benchmark program to run on release mode.

Also, erased $join function import statement when not required.

What's Changed

Full Changelog: https://github.com/samchon/typescript-json/compare/v3.2.22...v3.3.23

typia - v3.2.22

Published by samchon almost 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/samchon/typescript-json/compare/v3.3.21...v3.2.22

typia - v3.3.21

Published by samchon almost 2 years ago

New type and functions like below:

  • Primitive
  • clone()
  • isClone()
  • assertClone()

What's Changed

New Contributors

Full Changelog: https://github.com/samchon/typescript-json/compare/v3.3.20...v3.3.21

typia - v3.3.20

Published by samchon almost 2 years ago

What's Changed

Full Changelog: https://github.com/samchon/typescript-json/compare/v3.3.19...v3.3.20

typia - v3.3.19

Published by samchon almost 2 years ago

Renamed to AssertProgrammer for 3rd party libraries.

What's Changed

New Contributors

Full Changelog: https://github.com/samchon/typescript-json/compare/v3.3.18...v3.3.19

typia - v3.3.18

Published by samchon almost 2 years ago

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: https://github.com/samchon/typescript-json/compare/v3.3.17...v3.3.18

Package Rankings
Top 1.44% on Npmjs.org
Badges
Extracted from project README
GitHub license npm version Downloads Build Status Guide Documents Sponsers