Skip to content

Latest commit

 

History

History
324 lines (181 loc) · 15.4 KB

CHANGELOG.md

File metadata and controls

324 lines (181 loc) · 15.4 KB

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

Generated by auto-changelog.

18 September 2020

  • 🏷 add metadata type to useEvent (test missing, pending pusher-js-mock update) 7cc8563
  • 📦 7.0.0 7ad36fb
  • 😬 fix a regression where __PusherContext was no longer exposed by the package. 1fb5f43

19 August 2020

  • ♻️ giant restructure, added working native example 1fb455b
  • ✨ added example-rn 330a1ef
  • 🚧 WIP getting example-rn working ef30ce5

19 August 2020

23 July 2020

  • ✨ allow channel to be undefined across hooks that take a channel argument 1162edf

22 July 2020

  • 📦 Update changelog 41daf31
  • 📦 include netlify deployment in docs script eba9ccd

22 July 2020

  • ✨ react native support #7
  • Bump websocket-extensions from 0.1.3 to 0.1.4 in /example #12
  • Bump acorn from 5.7.3 to 5.7.4 in /example #9
  • ♻️ Loosen channelName requirement in use(presence)Channel to allow channelName to be undefined (plus tests) ca6e1af
  • ✍️ Document new changes 573f7e3

11 July 2020

  • Bump acorn from 5.7.3 to 5.7.4 #8
  • 📦 upgrade dependencies e029fe7
  • ✨ unsubscribe from channel on effect cleanup 2680446
  • ✨ add 'me' and 'count' to presenceChannel return 80c017b

23 June 2020

  • 🗑 remove react-scripts dependency, introduce jest directly 0460115
  • ✨ Add react-native support! bd96f9f
  • ⬆️ upgrade deps fcf3c92

4 June 2020

  • ✨ unsubscribe from channel on effect cleanup 2680446

25 March 2020

3 March 2020

3 March 2020

  • ✅ 100% code coverage yeehaa a301670

3 March 2020

  • ♻️ complete rewrite of tests to use new pusher-js-mock 4323bc2

27 February 2020

  • ✨ removed local mocks, migrate to pusher-js-mock. Not happy with the tests. 8d09648

21 February 2020

  • 🧹 added changelog 90a6737
  • 🧹 move to @harelpls/use-pusher 43dac8a
  • ✍️ update docs and changelog to reflect breaking change. a561c14

21 February 2020

  • 🚨 breaking change - switch storage of pusher from useRef to useState. This allows apps to react to when the client gets instantiated each time. 4af67de

21 February 2020

21 February 2020

  • ♻️ Add example cra, remove pusher.disconnect as it's not needed and was causing problems. 68af24a

19 February 2020

  • 📦 make build ACTUALLY CommonJS (ES6 without import/export statements). Fix use-pusher test. 89c259d
  • 🍾 added changelog d42a39b
  • Minor refactor for performance and code cohesion. 72da50b

18 February 2020

  • 🏷♻️ improved types, refactored hooks for simplicity 0d77035

14 February 2020

13 February 2020

12 February 2020

12 February 2020

  • 🏷 use official typescript typings d3b5d4f
  • ✨warn, instead of throw error, when context isn't available ac5bb8e

21 January 2020

21 January 2020

21 January 2020

14 February 2020

21 January 2020

  • 🧹 clean up dependencies 4753090

30 October 2019

29 October 2019

29 October 2019

  • ✨remove memoised callback, pass empty data object f13d3d6

29 October 2019

  • ♻️ improve DX: useEvent<T>(data?: T) 42bb95a

18 October 2019

26 August 2019

  • ✅ Added testing example to documentation #1
  • 📝 document onEvent dependency array 704ccee
  • ♻️ refactor, set default members e75666a
  • ✅ update tests fa564ba

23 August 2019

21 August 2019

21 August 2019

  • 📝 docs & readme beac1ff
  • ✨ expose PusherMocks & co, types b98082c

21 August 2019

  • ✅ no errors when pusherClientRef is undefined f58b4e4

21 August 2019

  • ♻️ API Cleanup & docs 05c2b2e
  • ✨♻️ simplify useChannel, add useEvent + tests d440d3b

20 August 2019

20 August 2019

  • 📝 docs update 277b6d6
  • ✨ usePresenceChannel with members 5299be5
  • ✅ code coverage + more robust channels 161be56

17 August 2019

  • add additional warn guard. update dependencies. 2cc5a22
  • cleanup release script with types 82e90c8

17 August 2019

17 August 2019

  • publish cleanup e3b80aa
  • switch useChannel arguments to prioritise dependencies over options a832045

17 August 2019

17 August 2019

  • add files entry to package.json da2e191

17 August 2019

  • added types entry to package.json 7c90efb

17 August 2019

v1.0.1

17 August 2019