Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes getWithDefault deprecation warning, upgrades pubnub to latest #4

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

sacarino
Copy link

  • Removes logspam from deprecated getWithDefault in the pubnub service
  • Brings in the latest pubnub sdk

⚠️ BREAKING CHANGE ⚠️

Pubnub behavior for encryption has been improved. To disable/keep legacy behavior, pass useRandomIVs: false in your config during init

Willibaur and others added 6 commits May 21, 2020 16:45
- Breaking change in pubnub behavior for [encryption](https://support.pubnub.com/hc/en-us/articles/360057750412-Encryption-not-working-after-SDK-update)
- To disable/keep legacy behavior, pass `useRandomIVs: false` in your config [during init](https://github.com/pubnub/javascript/blob/0aa2aa33328676df1c319f20100d90e77f0c230c/src/core/components/config.js#L177)
- Fixes `get` import ref
BREAKING CHANGE: PubNub now expects the UUID to be provided during setup.

`config/environment.js`
```
   // other stuff
   pubnub: {
     publishKey: process.env.PUBNUB_PUBLISH_KEY,
     subscribeKey: process.env.PUBNUB_SUBSCRIBE_KEY,
     uuid: '12345', // your UUID here
     ssl: true,
     useRandomIVs: false,
   },
```
Updating the readme for PubNub v5.0.1
@diegorodal
Copy link

Hey everyone! i was wondering if is anything we can do to move/merge this since i'm moving my ember app from version 3.20 into 3.24 and the usage of the pubnub service in the app is getting constant deprecation warnings cause of this, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants