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 - v4.0.0

Published by streamich almost 3 years ago

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.
json-joy - v3.3.0

Published by streamich almost 3 years ago

3.3.0 (2021-11-08)

Features

  • ๐ŸŽธ add code to ops (e859009)
json-joy - v3.2.0

Published by streamich almost 3 years ago

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

Published by streamich almost 3 years ago

3.1.0 (2021-11-06)

Bug Fixes

  • ๐Ÿ› correct type import (e47205d)
  • ๐Ÿ› fix imports after refactor (f0f6905)

Features

  • ๐ŸŽธ add JSON Pointer codegen (180fb66), closes #82
json-joy - v3.0.0

Published by streamich almost 3 years ago

3.0.0 (2021-10-24)

Features

  • ๐ŸŽธ add RPC implementation with MessagePack responses (c7e1692)
  • ๐ŸŽธ move RPC with JSON under /rpc/json route (d2a50ad)

Performance Improvements

  • โšก๏ธ remove optional success code (7fdd244)
  • โšก๏ธ use precomputed buffers for HTTP header data (c7252d5)

BREAKING CHANGES

  • ๐Ÿงจ Now default JSON RPC route is /rpc/json
json-joy - v2.19.0

Published by streamich about 3 years ago

2.19.0 (2021-10-17)

Features

  • ๐ŸŽธ add MsgPack Uint8Array branded type (d6b1fc5)
  • ๐ŸŽธ export MsgPack branded type (bba1cf3)
json-joy - v2.18.2

Published by streamich about 3 years ago

2.18.2 (2021-10-17)

Bug Fixes

  • ๐Ÿ› export RpcPersistentClient (9ccb441)
  • ๐Ÿ› on call subscribe execute call only once (fdf850a)
json-joy - v2.18.1

Published by streamich about 3 years ago

2.18.1 (2021-08-15)

Bug Fixes

  • ๐Ÿ› add es2020 build target (e3f6bec)
  • ๐Ÿ› publish es2020 target to NPM (bcd0648)
json-joy - v2.18.0

Published by streamich about 3 years ago

2.18.0 (2021-08-15)

Bug Fixes

  • ๐Ÿ› support quotes and special characters in stirngs (05599c5)

Features

  • ๐ŸŽธ implement json-size (0d67ae7)

Performance Improvements

  • โšก๏ธ add benchmarks (9d08da4)
json-joy - v2.17.0

Published by streamich about 3 years ago

2.17.0 (2021-08-01)

Bug Fixes

  • ๐Ÿ› on persisten client call wait for for first rpc duplex (bdedd9b)

Features

  • ๐ŸŽธ expose .call() methods which return a Promise (1c05336)
  • ๐ŸŽธ improve persistent client (fb55b16)
  • ๐ŸŽธ improve start() and stop() of persistent client (259f0c3)
  • ๐ŸŽธ send periodic ".ping" keep-alive messages (944b23f)
json-joy - v2.16.4

Published by streamich about 3 years ago

2.16.4 (2021-08-01)

Bug Fixes

  • ๐Ÿ› reset reconnect retry country only on successful open (85f92cb)
json-joy - v2.16.3

Published by streamich about 3 years ago

2.16.3 (2021-08-01)

Bug Fixes

  • ๐Ÿ› revert back channel predicate (923baf5)
json-joy - v2.16.2

Published by streamich about 3 years ago

2.16.2 (2021-08-01)

Bug Fixes

  • ๐Ÿ› make array type explicit (a7f223f)
  • ๐Ÿ› try reconnecting only when channel is empty (498fc32)
json-joy - v2.16.1

Published by streamich about 3 years ago

2.16.1 (2021-07-26)

Bug Fixes

  • ๐Ÿ› do not wrap validation errors (1feac4b)
json-joy - v2.16.0

Published by streamich about 3 years ago

2.16.0 (2021-07-25)

Bug Fixes

  • ๐Ÿ› capture and format all call and call$ api caller errors (7d7e365)
  • ๐Ÿ› do not decrement in-flight call count without increment (d772e82)
  • ๐Ÿ› errorId must be a string (ce6a0f9)
  • ๐Ÿ› improve how in-flight call count tracked in streams (5065161)

Features

  • ๐ŸŽธ export public APIs (5b60166)
  • ๐ŸŽธ make connection creation function optional (3573d2a)
json-joy - v2.15.0

Published by streamich about 3 years ago

2.15.0 (2021-07-25)

Bug Fixes

  • ๐Ÿ› correctly extract method name from URL (4fb19e2)

Features

  • ๐ŸŽธ expose Reactive-RPC over NDJSON (a2f14d8)
json-joy - v2.14.0

Published by streamich about 3 years ago

2.14.0 (2021-07-25)

Features

  • ๐ŸŽธ add uWebSocket.js SSE integration over GET (b96fbcc)
  • ๐ŸŽธ expose Reactive-RPC over uWebsocket.js SSE (f610509)
  • ๐ŸŽธ improve GET SSE implementation (edb4bf0)
json-joy - v2.13.0

Published by streamich about 3 years ago

2.13.0 (2021-07-24)

Features

  • ๐ŸŽธ expose Reactive-RPC over HTTP POST (a1be947)
  • ๐ŸŽธ expose Reactive-RPC throught GET HTTP (f523089)
  • ๐ŸŽธ improve POST RPC (e208a9a)
json-joy - v2.12.0

Published by streamich about 3 years ago

2.12.0 (2021-07-24)

Bug Fixes

  • ๐Ÿ› detect uint8 correctly (82e3562)
  • ๐Ÿ› do not execute pre-call checks with invalid payload (39b2db1)
  • ๐Ÿ› exec .call() method as member property (10fb22b)
  • ๐Ÿ› flush pre-call buffer on next micro tick (f29073e)
  • ๐Ÿ› format static method errors (4e061f6)
  • ๐Ÿ› start binary-rx sub ID from 1 (8d77b74)
  • ๐Ÿ› subscribe to call$ data after the pipeline is created (843f645)

Features

  • ๐ŸŽธ add .call() method to client (ce7ec10)
  • ๐ŸŽธ add BufferSubject (35497d2)
  • ๐ŸŽธ add Channel interface and implement WebSocketChannel (1ed5963)
  • ๐ŸŽธ add compact codec implementation for uWebSocket.js (a967a91)
  • ๐ŸŽธ add context creation utility (c9f293a)
  • ๐ŸŽธ add CORS helper for uws (f7f3e7a)
  • ๐ŸŽธ add demo for binary-rx (7d6f731)
  • ๐ŸŽธ add error formatter class (151378e)
  • ๐ŸŽธ add reactive websocket wrappers (904ce04)
  • ๐ŸŽธ add reactive-rpc (9a2f9e2)
  • ๐ŸŽธ add Reactive-RPC messages to JSON-Rx encoding (0192b47)
  • ๐ŸŽธ add request validation for streaming methods (2c487b8)
  • ๐ŸŽธ add RpcServerLocalClient (34a032d)
  • ๐ŸŽธ add RpcValidationError (c7d0c56)
  • ๐ŸŽธ add server onsend level 0 listener (0e1c40d)
  • ๐ŸŽธ allow single message per WebSocket frame (e8146a0)
  • ๐ŸŽธ connect RpcServer to uWebSocket.js (3344940)
  • ๐ŸŽธ do not send server complete when client unsubscribes (c6876a1)
  • ๐ŸŽธ enforce max number of in-flight calls (6982f2f)
  • ๐ŸŽธ execute pre-call checks before static methods (fb06ca5)
  • ๐ŸŽธ expose error formatter for validation errors (7def828)
  • ๐ŸŽธ expose onPreCall prop (cf65a2a)
  • ๐ŸŽธ implement persistent RPC client (61aacfd)
  • ๐ŸŽธ implement persistent websocket (8e763d1)
  • ๐ŸŽธ implement RpcApiCaller (ddcba99)
  • ๐ŸŽธ improve channel implementation (c713a7d)
  • ๐ŸŽธ improve context creation (3d5d3cb)
  • ๐ŸŽธ improve enableCors() method (8170d77)
  • ๐ŸŽธ improve error formatting (78daa54)
  • ๐ŸŽธ improve error handling in RpcApiCaller (5edca45)
  • ๐ŸŽธ improve interface of ApiCaller and remove error formatt (b44fefc)
  • ๐ŸŽธ improve message validation (2b56785)
  • ๐ŸŽธ improve persistent channel (d10e9e8)
  • ๐ŸŽธ improve Reactive-RPC interfaces (e0ef3fc)
  • ๐ŸŽธ improve reactive-rpc method types (16b4c15)
  • ๐ŸŽธ improve RpcApiCaller (0d59e81)
  • ๐ŸŽธ improve RxWebSocket (6af6c90)
  • ๐ŸŽธ make ApiCaller create a "call" object for each request (e334f95)
  • ๐ŸŽธ normalize default constants and send .err notification (73e4910)
  • ๐ŸŽธ progress on pre-call buffer size (7176658)
  • ๐ŸŽธ progress on pre-call check for streaming method (2a6ce83)
  • ๐ŸŽธ progress towards making RpcServer using RpcApiCaller (bb2ae34)
  • ๐ŸŽธ shortend response complete message and norm messages (fd92734)
  • ๐ŸŽธ small improvements (f6a079b)
  • ๐ŸŽธ start on refactoring RpcServer (ec955fc)
  • ๐ŸŽธ synchronously flush request buffer (748278f)
  • ๐ŸŽธ timeout streaming RPC calls on long inactivity (7dce942)
  • ๐ŸŽธ track when websocket is closed (72c294a)
  • ๐ŸŽธ validate static method requests (d0f76f6)

Performance Improvements

  • โšก๏ธ encode a single message if there is only one in a batch (447939b)
json-joy - v2.11.0

Published by streamich over 3 years ago

2.11.0 (2021-05-09)

Bug Fixes

  • ๐Ÿ› correctly encode nested nominal JSON Patch ops (f1a788e)
  • ๐Ÿ› make JSON Patch binary encoding pass main test suite (42fa98b)

Features

  • ๐ŸŽธ implement binary encoding for JSON Patch (7d10b84)
  • ๐ŸŽธ implement JSON Patch binary codec decoding (0530ab6)
  • ๐ŸŽธ implement JSON Patch compact codec (7914a37)
  • ๐ŸŽธ implement JSON Patch nominal JSON codec (de5c8c3)

Performance Improvements

  • โšก๏ธ do not dynamically allocate op mnemonics (0362c63)