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 visible (Hide)

json-joy - v7.15.0

Published by streamich over 2 years ago

7.15.0 (2022-04-21)

Bug Fixes

  • json-ot: ๐Ÿ› fix another compose() bug (8a80e77)
  • json-ot: ๐Ÿ› make compose() function pass fuzzer tests (9559e60)
  • json-ot: ๐Ÿ› make compose() hand-crafted tests pass (b0b6a95)

Features

  • ๐ŸŽธ minor edits to block interface (2caa82c)
  • json-ot: ๐ŸŽธ add append method (fd3a16f)
  • json-ot: ๐ŸŽธ add apply() method (84053b0)
  • json-ot: ๐ŸŽธ add normalize() method (0c6b024)
  • json-ot: ๐ŸŽธ add string type transform() function (4ec0aae)
  • json-ot: ๐ŸŽธ add StringType validate method (2bb6f6d)
  • json-ot: ๐ŸŽธ implement compose function (9cbc704)
json-joy - v7.14.0

Published by streamich over 2 years ago

7.14.0 (2022-04-19)

Bug Fixes

  • json-crdt: ๐Ÿ› use this.model after it is defined (7076cfe)

Features

  • json-crdt: ๐ŸŽธ add JSON Patch+ str_del operation support (9b6112d)
  • json-crdt: ๐ŸŽธ add str_ins JSON Patch+ operation support (858ae48)
  • json-crdt: ๐ŸŽธ improve JSON Patch interfac (8718818)
  • json-crdt: ๐ŸŽธ throw on uknown op (919196b)
json-joy - v7.13.0

Published by streamich over 2 years ago

7.13.0 (2022-04-19)

Features

  • json-pack: ๐ŸŽธ implement EncoderStable, which serializes objects predictably (a21a936), closes #134
json-joy - v7.12.0

Published by streamich over 2 years ago

7.12.0 (2022-04-19)

Features

  • json-crdt: ๐ŸŽธ add straight to view binary parser (d80fa46)

Performance Improvements

  • json-crdt: โšก๏ธ update CRDT serialization benchmarks (7ea9b0f)
json-joy - v7.11.0

Published by streamich over 2 years ago

7.11.0 (2022-04-19)

Features

  • ๐ŸŽธ start adding JSON block interfaces (29e4114)
  • json-clone: ๐ŸŽธ improve typing of cloning methods (ac76b77)
  • json-crdt: ๐ŸŽธ add object key compression (d8236fa)
  • json-crdt: ๐ŸŽธ compress repeating string chunks (8f57068)
  • json-crdt: ๐ŸŽธ use literal compression for value type (9efbd48)

Performance Improvements

  • โšก๏ธ add compression benchmark (1fc58f3)
  • โšก๏ธ update compression benchmark (dae4228)
  • json-crdt: โšก๏ธ add caching for string and binary type .toJson() methods (56113d3)
  • json-crdt: โšก๏ธ add caching to object type (c628fbf)
  • json-crdt: โšก๏ธ add Y.js to codec benchmarks (4462099)
  • json-crdt: โšก๏ธ cache object type .toJson() output (4ac009a)
  • json-crdt: โšก๏ธ update CRDT serialization benchmark (e10e6ea)
json-joy - v7.10.0

Published by streamich over 2 years ago

7.10.0 (2022-04-15)

Features

  • json-binary: ๐ŸŽธ add support for all MessagePack encoder values (31e8728)
  • json-binary: ๐ŸŽธ add support for JsonPackValue instances (4a108cd)
  • json-cli: ๐ŸŽธ support binary data in json-pack and json-unpack (085297a)
  • util: ๐ŸŽธ handle invalid Base64 strings when decoding (52615b4)
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)