Skip to content

Releases: p3ol/buddy

Custom serializers, Typescript & SWC

11 Oct 09:54
3aa4ef0
Compare
Choose a tag to compare

3.0.1 (2023-11-17)

Bug Fixes

  • wrong logLevel default value (775396d)

3.0.0 (2023-10-11)

⚠ BREAKING CHANGES

  • Everything has been rewritten in full Typescript, and definitions are now directly exported from TS. It is not a breaking change per-se, but users currently relying on the v2 definitions might see some errors as some types are more robust than before (b45c3dd)
  • Unknown data structures are now serialized as empty objects ({}) instead of relying on JSON.stringify to potentially throw an error

Internal breaking changes:

  • (internal) Now requires Node 16 minimum (only applicable if you contribute to buddy as it's a browser package) (4c5e76d)
  • (internal) Project is now built using SWC instead of Babel (2d16934)
  • (internal) Now uses Yarn 3 as Yarn 1 is obsolete

Features

  • Add custom serializers, see documentation for more info (6935ae6)
  • Some utils like serialize, unserialize, bid (dumb uuid generator) or isBuddy are now exported to help create custom serializers

Full Changelog: v2.0.0...v3.0.0

Bye bye IE, welcome Type Definitions

05 Oct 16:05
Compare
Choose a tag to compare

2.0.0 (2023-10-05)

⚠ BREAKING CHANGES

  • remove IE compat

Features

  • add types definitions (79fe4ec)
  • deps: update dependency core-js to v3.31.0 (34032fd)
  • deps: update dependency core-js to v3.32.0 (7d9fe76)
  • deps: update dependency core-js to v3.33.0 (751a432)
  • remove IE compat (72c8d52)

Bug Fixes

  • ci: use yarn cache for node libraries (ea33323)
  • deps: update dependency core-js to v3.30.1 (975b3c7)
  • deps: update dependency core-js to v3.30.2 (62ae52b)
  • deps: update dependency core-js to v3.32.1 (36d84e7)
  • deps: update dependency core-js to v3.32.2 (bbad7f5)
  • renovate: improve config for PRs and commits (6a3fd46)

Queuing & Custom Errors

14 Feb 13:08
Compare
Choose a tag to compare

1.2.0 (2023-02-14)

Features

  • allow to queue messages when target is allegedly not ready (41fd12e)
  • allow to throw custom objects instead of error instances (3141736)

Bug Fixes

  • better timeout error stack (fa887db)
  • deps: update dependency core-js to v3.27.2 (e601ac2)
  • deps: update dependency core-js to v3.28.0 (29ad5d9)

Node 14 & deps updates

15 Nov 09:54
Compare
Choose a tag to compare

1.1.0 (2022-11-15)

⚠ BREAKING CHANGES

  • require node 14

Features

Bug Fixes

  • deps: update dependency core-js to v3.20.0 (cd9c896)
  • deps: update dependency core-js to v3.20.1 (f5b9401)
  • deps: update dependency core-js to v3.20.2 (4e1a750)
  • deps: update dependency core-js to v3.20.3 (10b1a80)
  • deps: update dependency core-js to v3.21.0 (6efbcbb)
  • deps: update dependency core-js to v3.21.1 (c407154)
  • deps: update dependency core-js to v3.22.1 (d4d3acf)
  • deps: update dependency core-js to v3.22.2 (a5cbb0a)
  • deps: update dependency core-js to v3.22.3 (2991572)
  • deps: update dependency core-js to v3.22.4 (547ec63)
  • deps: update dependency core-js to v3.22.5 (ea65eb9)
  • deps: update dependency core-js to v3.22.6 (afc075e)
  • deps: update dependency core-js to v3.22.7 (c73614f)
  • deps: update dependency core-js to v3.22.8 (c8824e2)
  • deps: update dependency core-js to v3.23.1 (61f8dd0)
  • deps: update dependency core-js to v3.23.2 (052e93d)
  • deps: update dependency core-js to v3.23.3 (d2fc1de)
  • deps: update dependency core-js to v3.23.4 (c53c049)
  • deps: update dependency core-js to v3.23.5 (d8568b1)
  • deps: update dependency core-js to v3.24.0 (2f70ba4)
  • deps: update dependency core-js to v3.24.1 (e3e1aab)
  • deps: update dependency core-js to v3.25.2 (fc9a472)
  • deps: update dependency core-js to v3.25.3 (2c99627)
  • deps: update dependency core-js to v3.25.4 (29b2f0a)
  • deps: update dependency core-js to v3.25.5 (d0b21c7)
  • deps: update dependency core-js to v3.26.0 (cc93c05)
  • deps: update dependency core-js to v3.26.1 (115203a)
  • rollup 3 compat (9227900)

Initial release ✨

31 Oct 18:06
Compare
Choose a tag to compare

1.0.2 (2021-12-07)

Bug Fixes

  • deps: update dependency core-js to v3.19.0 (ea0545e)
  • deps: update dependency core-js to v3.19.1 (72716d2)
  • deps: update dependency core-js to v3.19.2 (2b5c51a)
  • deps: update dependency core-js to v3.19.3 (98751fd)

1.0.1 (2021-10-20)

Bug Fixes

  • fix browser compatibility (bf0d3bd)
  • deps: update dependency core-js to v3.18.2 (cf02cec)
  • deps: update dependency core-js to v3.18.3 (473eeac)

1.0.0 (2021-09-29)

Bug Fixes

  • deps: update dependency core-js to v3.17.3 (fd339fc)
  • deps: update dependency core-js to v3.18.1 (6572b72)

0.0.1-rc.2 (2021-08-30)

Bug Fixes

  • also handle errors thrown from underlying on ping back callbacks (069609f)

0.0.1-rc.1 (2021-08-30)

Bug Fixes

  • correctly handle nested thrown errors (647e55a)

0.0.1-rc.0 (2021-08-30)

Bug Fixes

  • correctly handle thrown errors (29e2b3b)
  • deps: update dependency @babel/runtime-corejs3 to v7.15.3 (b58e6e8)
  • deps: update dependency core-js to v3.15.2 (1fc33ce)
  • deps: update dependency core-js to v3.16.0 (0704899)
  • deps: update dependency core-js to v3.16.1 (132e740)
  • deps: update dependency core-js to v3.16.2 (f933d5e)
  • deps: update dependency core-js to v3.16.3 (4788af5)
  • deps: update dependency core-js to v3.16.4 (f3c0dc0)

0.0.1-beta.7 (2021-06-24)

Bug Fixes

  • allow ping back to be sent to event source instead of provided source (c880972)
  • deps: update dependency core-js to v3.14.0 (bac28ae)
  • deps: update dependency core-js to v3.15.0 (1697469)
  • deps: update dependency core-js to v3.15.1 (c599081)

0.0.1-beta.6 (2021-06-03)

Bug Fixes

  • correctly unserialize arrays (6f76de8)

0.0.1-beta.5 (2021-06-03)

Bug Fixes

  • also unserialize array-like structures correctly (a252d4a)
  • better logging (c9cd583)

0.0.1-beta.4 (2021-06-03)

Bug Fixes

  • avoid treating non-buddy messages (4ea7af8)
  • fix arrays not being correctly unserialized (6a857ae)

0.0.1-beta.2 (2020-08-17)

Bug Fixes

  • fix karma config causing tests issues (721e3a4)
  • fix linter errors (e321956)
  • fix promise serializing (c965d9e)

v0.0.1-beta.1

29 May 2020

  • chore(deps): update dependency @poool/eslint-config to v0.0.1-alpha.6 #49
  • chore(deps): update dependency karma-coverage-istanbul-reporter to v3.0.3 #53
  • chore(deps): update dependency rollup to v2.11.2 #52
  • chore(deps): update babel monorepo to v7.10.1 #50
  • chore(deps): update dependency rollup to v2.11.0 #51
  • chore(deps): update dependency eslint to v7.1.0 #48
  • chore(deps): update dependency mocha to v7.2.0 #46
  • chore(deps): update dependency @rollup/plugin-commonjs to v12 #43
  • chore(deps): update dependency eslint-plugin-mocha to v7 #38
  • chore(deps): update dependency karma-coverage-istanbul-instrumenter to v1.0.3 #47
  • chore(deps): update dependency rollup-plugin-terser to v6 #45
  • chore(deps): update dependency @rollup/plugin-node-resolve to v8 #44
  • chore(deps): update dependency @rollup/plugin-babel to v5.0.2 #42
  • chore(deps): update dependency karma to v5.0.9 #41
  • chore(deps): update dependency rollup to v2.10.9 #40
  • chore: upgrade eslint to v7 41cb1ed
  • chore: preserve esmodules for better tree shaking 67afa96
  • chore: fix eslint config d7fafd4

v0.0.1-alpha.5

15 May 2020

  • chore(deps): pin dependency @poool/eslint-config to 0.0.1-alpha.3 #39
  • chore: replace eslint config with shared one 7a4da2e
  • fix: fix null data not being unserialized ab9fe6e

v0.0.1-alpha.4

14 May 2020

  • chore: pin eslint to 6.8.0 af227f6
  • test: add test case for double serialized function calls a0275c1

v0.0.1-alpha.3

13 May 2020

  • chore(deps): update dependency rollup to v2.10.0 #37
  • chore(deps): update dependency eslint to v7 #36
  • chore(deps): update dependency webpack-dev-server to v3.11.0 #35
  • chore(deps): update dependency karma to v5.0.5 #34
  • chore(deps): update dependency rollup to v2.8.2 #33
  • chore(deps): update dependency karma-coverage-istanbul-reporter to v3 #29
  • chore(deps): update dependency rollup to v2.8.0 #32
  • chore: ignore folders for eslint 826786a
  • fix: fix serialized methods being killed once called c53812b

v0.0.1-alpha.2

5 May 2020

  • chore(deps): pin dependencies #31
  • chore(deps): update dependency karma-mocha to v2 #26
  • chore(deps): update dependency...
Read more