Skip to content

Releases: streamich/json-joy

v6.1.0

19 Feb 10:48
Compare
Choose a tag to compare

6.1.0 (2022-02-19)

Bug Fixes

  • json-pack: 🐛 correctly decode "obj" and "arr" one level (db82272)

Features

  • json-pack: 🎸 add ability to parse one level at a time (198277d)

v6.0.2

12 Dec 23:15
Compare
Choose a tag to compare

6.0.2 (2021-12-12)

Bug Fixes

  • reactive-rpc: 🐛 do not fetch method, in case it does not exist (a27a911)

v6.0.1

12 Dec 15:02
Compare
Choose a tag to compare

6.0.1 (2021-12-12)

Bug Fixes

  • json-brand: 🐛 make sure json-brand appears in build (46a156d)

v6.0.0

09 Dec 22:22
Compare
Choose a tag to compare

6.0.0 (2021-12-09)

Bug Fixes

  • json-expression: 🐛 correct equals operator (f108051)
  • json-pack: 🐛 encode large number correctly (3cbb8a1)
  • json-random: 🐛 improve random type generation (9e3b552)
  • json-type-codegen: 🐛 use correct check for const (aa05f8b)
  • json-type-validator: 🐛 correctly check boolean and number consts (75ec6b3)
  • json-type-validator: 🐛 correctly validate "null" (fc48bfd)
  • json-type-validator: 🐛 correctly validate number and string consts (404aafb)
  • json-type-validator: 🐛 correctly validate string constants (f9dd247)
  • json-type-validator: 🐛 don't check expra fields in empty objects (6d839a9)
  • json-type-validator: 🐛 handle correctly boolean constants (5709d82)
  • json-type-validator: 🐛 make "or" clause work again (d71dd68)
  • reactive-rpc: 🐛 complete single message req calls immediately (81b1f69)
  • reactive-rpc: 🐛 correct TypeScript errors (5893334)
  • reactive-rpc: 🐛 support polymorphic stream functions (c2827a3)
  • reactive-rpc: 🐛 use correct static method when reading streaming c (dc57dc9)
  • 🐛 import hasOwnProperty() from shared location (61533a5)

Features

  • json-expression: 🎸 add "between" operator support to evaluator (f082456)
  • json-expression: 🎸 add "between" operators (1403dfd)
  • json-expression: 🎸 add "cat" expression (561a639)
  • json-expression: 🎸 add "cat" operation (9146080)
  • json-expression: 🎸 add "defined" expression (d2e9ec1)
  • json-expression: 🎸 add "if" operation (31aeb41)
  • json-expression: 🎸 add "in" expression (be2e4e8)
  • json-expression: 🎸 add "min" and "max" expressiosn (cf9be64)
  • json-expression: 🎸 add "starts" expression (f99caa7)
  • json-expression: 🎸 add "substr" operation (fcd6855)
  • json-expression: 🎸 add "type" expression (b57f7d3)
  • json-expression: 🎸 add context (e78ebbe)
  • json-expression: 🎸 add math operations (7b9cb4b)
  • json-expression: 🎸 add not equals operator (a07aaef)
  • json-expression: 🎸 add number comparison expressions (ae1be14)
  • json-expression: 🎸 add support for "contains" and "ends" expr (4cd5a74)
  • json-expression: 🎸 add type conversion expressions (df461e7)
  • json-expression: 🎸 improve "in" operator (c0852d1)
  • json-expression: 🎸 improve context types (8423c38)
  • json-pack: 🎸 expose integer encoding methods (bfb5ac9)
  • json-type: 🎸 add optimizatoin annotations (ed50eed)
  • json-type: 🎸 add validator properties (c3cbdc0)
  • json-type: 🎸 improve types and builder (feba569)
  • json-type-serializer: 🎸 add binary support for JSON serializer (dd34cb3)
  • json-type-serializer: 🎸 add fast path for integer encoding (ca838d3)
  • json-type-serializer: 🎸 add support for "any" type (2699daf)
  • json-type-serializer: 🎸 add support for "enum" type (1755f81)
  • json-type-serializer: 🎸 add support for "or" type (c4208db)
  • json-type-serializer: 🎸 add support for "ref" types (ea9659f)
  • json-type-serializer: 🎸 export JSON serializer (48ab1a0)
  • json-type-serializer: 🎸 implement inital "str" serialization (cb37930)
  • json-type-serializer: 🎸 improve "arr" and add "obj" serialization (836fd7f)
  • json-type-serializer: 🎸 link in serialize method (e64704f)
  • json-type-validator: 🎸 add ability to provide custom validator (df5543a)
  • json-type-validator: 🎸 improve custom validators to allow throwin (a42475f)
  • util: 🎸 add ability to name code-generated function (6863bba)
  • util: 🎸 add asString() method (ffe6c9f)
  • util: 🎸 add base64 encoder (2d0656c)
  • util: 🎸 implement Codegen class (a9ab412)
  • util: 🎸 improve asString() method (f7f0798)
  • util: 🎸 improve Codegen API (336881f)
  • util: 🎸 start codegen switch implementation (7333c95)
  • 🎸 add "and" expression (7ddf2d0)
  • json-brand: 🎸 add global type definition (8237fc4)
  • json-brand: 🎸 vendor JSON brand library (84297f8)
  • json-expression: 🎸 add "ends" expression (cc5f6d3)
  • json-expression: 🎸 add "in" operand (cf7f6a0)
  • json-expression: 🎸 add "matches" expression (abf53f9)
  • json-expression: 🎸 add "min" and "max" expressions ([7518a39](7518a39e874ac4dfd0da36e95dab...
Read more

v5.2.0

17 Nov 14:09
Compare
Choose a tag to compare

5.2.0 (2021-11-17)

Bug Fixes

  • 🐛 correctly compute array size (d8a1792)

Features

  • 🎸 add fast MessagePack size computer (e9b1e03)
  • 🎸 implement fast JSON sizer (ae7d28b)

Performance Improvements

  • ⚡️ improve performance of msgpackSizeFast() (07e5a87)

v5.1.0

17 Nov 00:43
Compare
Choose a tag to compare

5.1.0 (2021-11-17)

Features

  • 🎸 add jsonSizeApprox() utility (f1a433a)

Performance Improvements

  • ⚡️ improve string lenght computation (cfc410e)
  • ⚡️ optimize number length detection (2407055)

v5.0.0

16 Nov 23:30
Compare
Choose a tag to compare

5.0.0 (2021-11-16)

Bug Fixes

  • 🐛 create deep copy of "add" operation value (43c7348)

Code Refactoring

  • 💡 use common syntax for codegeneration (8674031)

Features

  • 🎸 add apply and $apply functions (1697f3d)
  • 🎸 add compileFn() helper (7d0c551)
  • 🎸 implement codegen for "add" operation (777c607)
  • 🎸 rewrite $apply as codege $apply function (71a1d56)
  • 🎸 start findRef codegen implementation (f3269e2)
  • 🎸 start patch creator (08a3e57)
  • 🎸 use codegen for test operation (5e61cb0)

Performance Improvements

  • ⚡️ do not pass in deepClone dep if not needed (fffc5e0)
  • ⚡️ implement "starts" operation on codegen way (4e734f0)
  • ⚡️ replace operation loop with single expression (35a8941)
  • ⚡️ unwrap $findRef loop (70aef07)
  • ⚡️ use codegenerated find in $add (6210221)

BREAKING CHANGES

  • 🧨 Public api of deep equal code generator has changed.

v4.0.0

15 Nov 01:11
Compare
Choose a tag to compare

4.0.0 (2021-11-15)

Features

  • 🎸 implement JSON and fast JSON string codecs for JSON RPC (610a148)
  • 🎸 implement JSON-RPC 2.0 middleware for uWebSocket.js (e23b95f)
  • 🎸 implement JSON-RPC 2.0 server as Reactive-RPC caller (f9de285)
  • 🎸 wire int notifications into JSON-RPC 2.0 (599b0d1)

BREAKING CHANGES

  • 🧨 JSON-RPC 2.0 does not exist as json-rpc top level library anymore.

v3.3.0

08 Nov 23:28
Compare
Choose a tag to compare

3.3.0 (2021-11-08)

Features

v3.2.0

07 Nov 23:54
Compare
Choose a tag to compare

3.2.0 (2021-11-07)

Bug Fixes

  • 🐛 handle special cases in deepEqualCodegen (d093ec7)
  • 🐛 pass in options argument (c525996)

Features

  • 🎸 add deepEqual implementation (5c1b4ab)
  • 🎸 implement deep equal code generator (2656dc8)
  • 🎸 wire through json patch options everywhere (1b24b0e)

Performance Improvements

  • ⚡️ add benchmarking for deepEqual (5f0eb2b)