json-joy

JSON CRDT, JSON CRDT Patch, JSON Patch+, JSON Predicate, JSON Pointer, JSON Expression, JSON Type

APACHE-2.0 License

Downloads
410.7K
Stars
644
Committers
4

Bot releases are hidden (Show)

json-joy - v7.9.0

Published by streamich over 2 years ago

7.9.0 (2022-04-15)

Features

  • json-binary: ๐ŸŽธ add JSONB.{parse,stringify} binary implementation (7e932c6)

Performance Improvements

  • util: โšก๏ธ decode Base64 using native implementation for small strings (3fc0c0b)
json-joy - v7.8.0

Published by streamich over 2 years ago

7.8.0 (2022-04-15)

Bug Fixes

  • json-crdt-patch: ๐Ÿ› add support for SetValue operation in Patch (b60137e)

Features

  • json-crdt: ๐ŸŽธ make use of Batch.rebase() (7afe98e)
  • json-crdt: ๐ŸŽธ use Batch in ModelApi (390b279)
json-joy - v7.7.0

Published by streamich over 2 years ago

7.7.0 (2022-04-12)

Bug Fixes

  • json-crdt-patch: ๐Ÿ› use correct opcodes in binary encoder (dc939ac)
  • json-crdt: ๐Ÿ› correctly encode/decode using binary codec (ba9bd7f)
  • json-crdt: ๐Ÿ› use correct timestamp class (89e31ab)

Features

  • json-crdt-patch: ๐ŸŽธ add initial Batch class (12a91da)
  • json-crdt-patch: ๐ŸŽธ add Patch.rebase() method (472637a)
  • json-crdt: ๐ŸŽธ clone api patches when cloning the model (5420814)
json-joy - v7.6.0

Published by streamich over 2 years ago

7.6.0 (2022-04-12)

Features

  • json-crdt-patch: ๐ŸŽธ add .stamp() method to timestamps (e76d233)
  • json-crdt-patch: ๐ŸŽธ add support for server clock operations in compact codec (a6c1caa)
  • json-crdt-patch: ๐ŸŽธ intorduce system session time constants (3dc4696)
  • json-crdt-patch: ๐ŸŽธ make json codec work with server clock (c2e4818)
  • json-crdt-patch: ๐ŸŽธ support server clock in binary codec (b056ac9)
  • json-crdt-patch: ๐ŸŽธ use constants in vector clock codec (64f1d26)
  • json-crdt: ๐ŸŽธ unify implementations in binary codec (ea663a2)
json-joy - v7.5.0

Published by streamich over 2 years ago

7.5.0 (2022-04-10)

Bug Fixes

  • json-crdt-patch: ๐Ÿ› correct logical time decoding for nodes (9dc12e9)
  • json-crdt-patch: ๐Ÿ› correctly decode logical clock time (369f763)
  • json-crdt-patch: ๐Ÿ› correctly decoke MakeBinary operation in json codec (4585ff7)
  • json-crdt-patch: ๐Ÿ› encode correctly old IDs (1012244)
  • json-crdt: ๐Ÿ› correctly encode negative relative ID times (aa4c7fc)
  • json-crdt: ๐Ÿ› deprecate .toJson() method (a68184d)
  • json-crdt: ๐Ÿ› do not increment time in compact decoder (5abd08f)
  • json-crdt: ๐Ÿ› encode undefined in binary codec (41096ce)
  • json-crdt: ๐Ÿ› make structural binary codec work again (7557892)
  • json-crdt: ๐Ÿ› remove deprecated .toJson() method (8ba7ed0)
  • json-crdt: ๐Ÿ› use absolute IDs in compact codec (3872b63)
  • json-random: ๐Ÿ› do not allow negative zero (e4ebf89)

Features

  • json-crdt-patch: ๐ŸŽธ add compact-binary patch codec (03cd51a)
  • json-crdt-patch: ๐ŸŽธ create CRDT binary encoder/decoder classes (cd4e767)
  • json-crdt: ๐ŸŽธ improve string type .toString() methods (1621b04)

Performance Improvements

  • json-crdt-patch: โšก๏ธ add new implementation of binary codec (7d5e4af)
  • json-crdt-patch: โšก๏ธ implement new binary decoder (bc3aa20)
  • json-crdt-patch: โšก๏ธ improve binary codec ID encoding (5568847)
  • json-crdt: โšก๏ธ use shared MessagePack codecs in compact-binary (a685928)
json-joy - v7.4.0

Published by streamich over 2 years ago

7.4.0 (2022-04-09)

Features

  • json-clone: ๐ŸŽธ add binaryClone() method (8ec71fe)
  • json-clone: ๐ŸŽธ add json-clone library (73d44bc)
json-joy - v7.3.0

Published by streamich over 2 years ago

7.3.0 (2022-04-09)

Bug Fixes

  • json-crdt-patch: ๐Ÿ› correctly encode binary data insert operation (2f5df3d)
  • json-crdt-patch: ๐Ÿ› do not try to insert empty buffers (f2479b1)
  • json-crdt: ๐Ÿ› stabilize binary type support (9915a25)

Features

  • json-crdt-patch: ๐ŸŽธ add binary operation support in compact encod (22fa3a1)
  • json-crdt-patch: ๐ŸŽธ add binary type creation and insert operations (821facf)
  • json-crdt-patch: ๐ŸŽธ add support for bin ops in binary codec (5cfd4e8)
  • json-crdt-patch: ๐ŸŽธ add value operation support to binary codec (93f5e2b)
  • json-crdt-patch: ๐ŸŽธ make binary codec op codes like compact encod (85fb746)
  • json-crdt: ๐ŸŽธ add ArrayApi class (0c717fe)
  • json-crdt: ๐ŸŽธ add binary type support for binary codec (ad4f60d)
  • json-crdt: ๐ŸŽธ add binary type support for json codec (4543b51)
  • json-crdt: ๐ŸŽธ add binary type support to compact codec (cbf1b57)
  • json-crdt: ๐ŸŽธ add BinaryApi class (90b771e)
  • json-crdt: ๐ŸŽธ add finder interface to all API nodes (18860da)
  • json-crdt: ๐ŸŽธ add StringApi class (a99ac10)
  • json-crdt: ๐ŸŽธ add ValueApi class (135e31e)
  • json-crdt: ๐ŸŽธ clean up string methods in ModelApi (f19082e)
  • json-crdt: ๐ŸŽธ implement binary CRDT type (68c64fa)
  • json-crdt: ๐ŸŽธ improve StringApi (5579c8b)
json-joy - v7.2.0

Published by streamich over 2 years ago

7.2.0 (2022-04-05)

Features

  • reactive-rpc: ๐ŸŽธ add initial ws binary Reactive-RCP implementation (ee7c18d)

Performance Improvements

  • reactive-rpc: โšก๏ธ remove redundant check (38c15a4)
json-joy - v7.1.0

Published by streamich over 2 years ago

7.1.0 (2022-03-18)

Features

  • improve base64 decoding (d8c4f90)
  • util: ๐ŸŽธ handle long strings and padding in Base64 decoding (52a6810)
  • util: ๐ŸŽธ improve base64 decoding (ab253e5)

Performance Improvements

  • util: โšก๏ธ add decode benchmark (1c712ba)
json-joy - v7.0.1

Published by streamich over 2 years ago

7.0.1 (2022-02-22)

Bug Fixes

  • ๐Ÿ› stop using fast-deep-equal in shipped code (f5a00be)
json-joy - v7.0.0

Published by streamich over 2 years ago

7.0.0 (2022-02-20)

Bug Fixes

  • json-pack: ๐Ÿ› correctly encode first array character (1566f68)

Code Refactoring

  • util: ๐Ÿ’ก rename Base64 encoder function (23b1be1)

Features

  • json-pack: ๐ŸŽธ add support for "bin" and "ext" types in converter (7bf195a)
  • json-pack: ๐ŸŽธ implement MessagePack to JSON converter (705bdb0)

BREAKING CHANGES

  • util: ๐Ÿงจ Base64 encoder method is now called toBase64(), instead of encode().
json-joy - v6.2.1

Published by streamich over 2 years ago

6.2.1 (2022-02-20)

Bug Fixes

  • reactive-rpc: ๐Ÿ› collect "token" url param for authentication (cb65b54)
json-joy - v6.2.0

Published by streamich over 2 years ago

6.2.0 (2022-02-20)

Features

  • json-patch: ๐ŸŽธ add decoding support for compact JSON Patch ops (776cad6)
  • json-patch: ๐ŸŽธ add support for verbose opcode encoding as string (3a756c2)
  • json-patch: ๐ŸŽธ allow compact encoding opcodes to be strings (c69810a)
  • json-patch: ๐ŸŽธ allow to specify compact string opcode in encoder (d8b84dc)
json-joy - v6.1.0

Published by streamich over 2 years ago

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)
json-joy - v6.0.2

Published by streamich almost 3 years ago

6.0.2 (2021-12-12)

Bug Fixes

  • reactive-rpc: ๐Ÿ› do not fetch method, in case it does not exist (a27a911)
json-joy - v6.0.1

Published by streamich almost 3 years ago

6.0.1 (2021-12-12)

Bug Fixes

  • json-brand: ๐Ÿ› make sure json-brand appears in build (46a156d)
json-joy - v6.0.0

Published by streamich almost 3 years ago

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)
  • json-expression: ๐ŸŽธ add "mod" expression (f920239)
  • json-expression: ๐ŸŽธ add "substr" expression (43d2272)
  • json-expression: ๐ŸŽธ add codege support for "ne" expression (4e04425)
  • json-expression: ๐ŸŽธ add default value for get expression (1042267)
  • json-expression: ๐ŸŽธ add ends() and contains() helpers (843222e)
  • json-expression: ๐ŸŽธ add equality comparators (babf9b8)
  • json-expression: ๐ŸŽธ add rounding expressions (8e7451c)
  • json-expression: ๐ŸŽธ add support for "not" expression (ae9c3bf)
  • json-expression: ๐ŸŽธ begin codegen implementation (9e6ea71)
  • json-expression: ๐ŸŽธ bring evaluator to feature parity (e5b3c5d)
  • json-expression: ๐ŸŽธ implement "and" expression (8cdc133)
  • json-expression: ๐ŸŽธ implement "bool" expression (5af82fb)
  • json-expression: ๐ŸŽธ implement "contains" expression (1501d4a)
  • json-expression: ๐ŸŽธ implement "defined" expression (abcb625)
  • json-expression: ๐ŸŽธ implement "if" expression (6675495)
  • json-expression: ๐ŸŽธ implement "int" expression (d2d52f6)
  • json-expression: ๐ŸŽธ implement "num" expression (7fc6aac)
  • json-expression: ๐ŸŽธ implement "or" expression (5dccfce)
  • json-expression: ๐ŸŽธ implement "str" expression (afab884)
  • json-expression: ๐ŸŽธ implement "type" expression (be8aaeb)
  • json-expression: ๐ŸŽธ implement arithmetic operands (7db93be)
  • json-expression: ๐ŸŽธ implement codegen for "get" expression (02bd3f8)
  • json-expression: ๐ŸŽธ implement codegen for "start" expression (68f2c8a)
  • json-expression: ๐ŸŽธ improve operand count error messages (5b3fc51)
  • json-pointer: ๐ŸŽธ implement get() method (81691de)
  • json-pointer: ๐ŸŽธ use .hasOwnProperty() from prototype (fd59781)
  • json-random: ๐ŸŽธ add methods to generate specific type (2ce945d)
  • json-random: ๐ŸŽธ implement random generator according to json-type (e84665c)
  • json-random: ๐ŸŽธ respect integer types (63dec85)
  • json-type: ๐ŸŽธ add "enum" type (2c48b6e)
  • json-type: ๐ŸŽธ add "or" type and move to new file (08d3767)
  • json-type: ๐ŸŽธ add "ref" type (63dd6c5)
  • json-type: ๐ŸŽธ add basic json-type to TypeScript output (709defe)
  • json-type: ๐ŸŽธ add comment props (1a27b99)
  • json-type: ๐ŸŽธ add unknownFields property (3b3208b)
  • json-type: ๐ŸŽธ export types (df04b58)
  • json-type: ๐ŸŽธ group types better (bd17d1d)
  • json-type: ๐ŸŽธ implement recursive references for full validator (f7c6f6d)
  • json-type: ๐ŸŽธ implement recursive type refs (68c5f71)
  • json-type: ๐ŸŽธ improve builder to easily add type names (0e558cf)
  • json-type: ๐ŸŽธ improve type definitions (a00e814)
  • json-type: ๐ŸŽธ improve types (5884bd4)
  • json-type: ๐ŸŽธ simplify object field creation (b428984)
  • json-type: ๐ŸŽธ support JSON serialization (6a7a14e)
  • json-type-codegen: ๐ŸŽธ add ability to disable errors (81c8eab)
  • json-type-codegen: ๐ŸŽธ add ability to skip object check (7c8c6e5)
  • json-type-codegen: ๐ŸŽธ allow skipping extra field check (dbd1e52)
  • json-type-codegen: ๐ŸŽธ implement different types of error reporting (dbe01d9)
  • json-type-codegen: ๐ŸŽธ implement object and one-of validation (ded2193)
  • json-type-codegen: ๐ŸŽธ implement validation for arrays (66d1d27)
  • json-type-codegen: ๐ŸŽธ implement validation for basic types (0dc0851)
  • json-type-codegen: ๐ŸŽธ improve error reporting (0775887)
  • json-type-codegen: ๐ŸŽธ support unknown fields in serializ (f8588ff)
  • json-type-codegen: ๐ŸŽธ use boolean error reporting by default (ff00ea6)
  • json-type-schema: ๐ŸŽธ add ability to generate defs (bb4c4f9)
  • json-type-schema: ๐ŸŽธ implement json-type to JSON Schema converter (0e50d9c)
  • json-type-serializer: ๐ŸŽธ add support for recursive refs to JSON (88aabe0)
  • json-type-serializer: ๐ŸŽธ support partial serializer as ref (3b5dc4b)
  • json-type-system: ๐ŸŽธ add ability to convert json-type to JSON Sch (6b72273)
  • json-type-system: ๐ŸŽธ add ability to export the whole type system (0275958)
  • json-type-system: ๐ŸŽธ add MessagePack serializer (5fde08b)
  • json-type-system: ๐ŸŽธ add namespaces support (1917b04)
  • json-type-system: ๐ŸŽธ add support for array and numbers (30c8719)
  • json-type-system: ๐ŸŽธ add support for TypeScript type literals (79eb181)
  • json-type-system: ๐ŸŽธ add support for unknown fields (ddadc3c)
  • json-type-system: ๐ŸŽธ add TypeScript comments for interface decls (907afab)
  • json-type-system: ๐ŸŽธ add TypeScript comments support for propertie (a58b564)
  • json-type-system: ๐ŸŽธ do not re-declare already declared types (47aabf2)
  • json-type-system: ๐ŸŽธ emit TypeScript text for all AST nodes (2b7bc19)
  • json-type-system: ๐ŸŽธ enable auto-completion for types (b832832)
  • json-type-system: ๐ŸŽธ export TypeScript declarations (5387174)
  • json-type-system: ๐ŸŽธ start TypeScript AST to text converter fn (fe4ccce)
  • json-type-system: ๐ŸŽธ support comments for type declarations (7752860)
  • json-type-system: ๐ŸŽธ support custom validators and fix full valid (de6fad5)
  • json-type-system: ๐ŸŽธ support TypeScript module nesting (7f66df3)
  • json-type-validator: ๐ŸŽธ add support for "any" type (d3821ba)
  • json-type-validator: ๐ŸŽธ add support for "enum" type (7185e61)
  • json-type-validator: ๐ŸŽธ add support for integers (ee5a445)
  • json-type-validator: ๐ŸŽธ add support for minLength and maxLength (f1639ea)
  • json-type-validator: ๐ŸŽธ add support for refs (703572e)
  • json-type-validator: ๐ŸŽธ allow object keys of "any" type (3494d60)
  • json-type-validator: ๐ŸŽธ implement "or" type in loop with consts (92e5da6)
  • json-type-validator: ๐ŸŽธ improve "ref" type validation errors (b7cd720)
  • json-type-validator: ๐ŸŽธ improve public interface (4c9861f)
  • json-type-validator: ๐ŸŽธ support validation of different int types (952335a)
  • reactive-rpc: ๐ŸŽธ add ability for binary messages to encode msgpack (1aa0094)
  • reactive-rpc: ๐ŸŽธ add binary msgpack message encoder (eba7b9b)
  • reactive-rpc: ๐ŸŽธ add compacted json_string message encoder (b0dcefe)
  • reactive-rpc: ๐ŸŽธ add polymorphic rpc methor return types (5092490)
  • reactive-rpc: ๐ŸŽธ construct JSON messages in JSON server (497dea5)
  • reactive-rpc: ๐ŸŽธ dont wrap in array a single message (f3dbec4)
  • reactive-rpc: ๐ŸŽธ implement JSON messages (244dc1b)
  • reactive-rpc: ๐ŸŽธ implement polymorphic ApiCaller methods (db2f0c6)
  • reactive-rpc: ๐ŸŽธ implement RpcServerJson and RpcServerMsgPack (900e4d9)
  • reactive-rpc: ๐ŸŽธ improve RPC method wrappers (49ab49b)
  • reactive-rpc: ๐ŸŽธ remove timeout tracking feature (75c47d7)
  • reactive-rpc: ๐ŸŽธ start json message implementation (2aada7c)
  • reactive-rpc: ๐ŸŽธ support static polymorphic calls in RpcServer (3f0f8d6)
  • reactive-rpc: ๐ŸŽธ use binary RpcServer in ws compact binary mode (4399322)
  • reactive-rpc: ๐ŸŽธ use RpcServerMsgPack in binary WebSocket server (18f46c5)
  • reactive-rpc: ๐ŸŽธ use shared encoder and decoder (12a5771)
  • reactive-rpc: ๐ŸŽธ use specialized encoders in ws compact rpc (36dd21a)
  • util: ๐ŸŽธ allow to provide codegen params at last step (756c525)
  • util: ๐ŸŽธ improve code-generation types (f3be5fd)
  • util: ๐ŸŽธ vendor word wrap utility (16e1ac0)
  • ๐ŸŽธ add binary type to json-type (fb48c45)
  • ๐ŸŽธ add code generation for array (d3db9eb)
  • ๐ŸŽธ add compilation for basic types (df1044b)
  • ๐ŸŽธ add convenience getters to json-type builder (fcc3197)
  • ๐ŸŽธ add initial typing setup (e1be097)
  • ๐ŸŽธ add support for optional fields in objects (30453ff)
  • ๐ŸŽธ begin implementation of schema MessagePack serializer (c65e3c8)
  • ๐ŸŽธ implement boolean expressions (e8f6ba9)
  • ๐ŸŽธ improve JSON types (b5ee20e)
  • ๐ŸŽธ improve JSON types and add builder (a68d676)
  • ๐ŸŽธ improve json-type MessagePack encoding (ddfab64)
  • ๐ŸŽธ start json-expression implementation (3d441f5)

Performance Improvements

  • json-expression: โšก๏ธ add benchmark (08a0eaa)
  • json-pointer: โšก๏ธ use hasOwnProperty() literal (f26a1d6)
  • json-type-codegen: โšก๏ธ add benchmark (10093a9)
  • json-type-codegen: โšก๏ธ emit octets in chunks (4d0e260)
  • json-type-codegen: โšก๏ธ emit octets on optional object keys (d616407)
  • json-type-codegen: โšก๏ธ improve json-type validator performance (455df96)
  • json-type-codegen: โšก๏ธ improve optional object field check (758b461)
  • json-type-codegen: โšก๏ธ optimize case for simple primitives (416373a)
  • json-type-codegen: โšก๏ธ write directly to Uint8Array (94eedcb)
  • json-type-serializer: โšก๏ธ add MsgPack optimization for ASCII enc (0c99c55)
  • json-type-serializer: โšก๏ธ add support for "noJsonEscape" (8f75ca3)
  • json-type-system: โšก๏ธ remove unused argument (cb3a218)
  • util: โšก๏ธ generate 64 x 64 table in Base64 encoding (43447e2)
  • util: โšก๏ธ make word wrap return a list of lines (0e07b32)
  • util: โšก๏ธ optimize base64 encoder (5f685c6)
  • util: โšก๏ธ optimize base64 encoder performance (ea64208)

BREAKING CHANGES

  • reactive-rpc: ๐Ÿงจ Streaming Reactive-RPC do not track inactivity timeout anymore.
json-joy - v5.2.0

Published by streamich almost 3 years ago

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)
json-joy - v5.1.0

Published by streamich almost 3 years ago

5.1.0 (2021-11-17)

Features

  • ๐ŸŽธ add jsonSizeApprox() utility (f1a433a)

Performance Improvements

  • โšก๏ธ improve string lenght computation (cfc410e)
  • โšก๏ธ optimize number length detection (2407055)
json-joy - v5.0.0

Published by streamich almost 3 years ago

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.