From 57406485bb8ccdb228205b38a65aa4e80eb36a44 Mon Sep 17 00:00:00 2001 From: Appboy CI Date: Wed, 14 Oct 2020 14:55:49 -0400 Subject: [PATCH] Deploying 3.1.0 to public repo --- CHANGELOG.md | 11 ++++++++ README.md | 49 +++++++++------------------------- sample-build/index.html | 6 ++--- sample-build/service-worker.js | 2 +- snippets/loading-snippet.js | 2 +- 5 files changed, 29 insertions(+), 41 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb3a447..3ba6bf6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +## 3.1.0 + +##### Added +- Added a [`devicePropertyAllowlist`](https://js.appboycdn.com/web-sdk/latest/doc/modules/appboy.html#initializationoptions.__type.devicepropertyallowlist) initialization option. This new initialization option has the same functionality as `devicePropertyWhitelist`, which is now deprecated and will be removed in a future release. + +##### Changed +- Relaxed the email address validation used by the SDK in favor of the more accurate Braze backend validation. Valid addresses with unusual structures or international characters which were previously rejected will now be accepted. + +##### Fixed +- Fixed an issue where the SDK was improperly handling session starts when switching between subdomains, causing a short delay in triggering in-app messages. + ## 3.0.1 ##### Fixed diff --git a/README.md b/README.md index eaada2f..7321bdc 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Effective marketing automation is an essential part of successfully scaling and managing your business. Braze empowers you to build better customer relationships through a seamless, multi-channel approach that addresses all aspects of the user life cycle. Braze helps you engage your users on an ongoing basis. We'll have you up and running in no time! -- [Read the full technical documentation](https://js.appboycdn.com/web-sdk/3.0/doc/modules/appboy.html) +- [Read the full technical documentation](https://js.appboycdn.com/web-sdk/3.1/doc/modules/appboy.html) # Getting Started @@ -36,7 +36,7 @@ Alternatively, you can skip installing the service worker from NPM and download ```javascript // service-worker.js -self.importScripts('https://js.appboycdn.com/web-sdk/3.0/service-worker.js'); +self.importScripts('https://js.appboycdn.com/web-sdk/3.1/service-worker.js'); ``` ## TypeScript Support @@ -45,7 +45,7 @@ As of 3.0.0, the Braze Web SDK includes types with the `@braze/web-sdk` package. ## Alternative CDN installation -If you don't use npm or you prefer not to load the SDK through a package manager, you can load it through our CDN in your HTML. Put the following snippet in the `` section of your page to asynchronously download https://js.appboycdn.com/web-sdk/3.0/appboy.min.js and open a Braze session: +If you don't use npm or you prefer not to load the SDK through a package manager, you can load it through our CDN in your HTML. Put the following snippet in the `` section of your page to asynchronously download https://js.appboycdn.com/web-sdk/3.1/appboy.min.js and open a Braze session: