From bded5d054bf929938cab7a0b14b11bc462841945 Mon Sep 17 00:00:00 2001 From: Appboy CI Date: Thu, 25 Feb 2021 19:06:46 -0500 Subject: [PATCH] Deploying 3.2.0 to public repo --- CHANGELOG.md | 12 ++++++++++++ README.md | 26 +++++++++++++------------- sample-build/index.html | 6 +++--- sample-build/service-worker.js | 2 +- snippets/loading-snippet.js | 2 +- 5 files changed, 30 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bff188a..c2ac1b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## 3.2.0 + +##### Added +- Added an optional `parentNode` parameter to [`appboy.display.hideContentCards`](https://js.appboycdn.com/web-sdk/latest/doc/modules/appboy.display.html#hidecontentcards) that allows you to specify a particular Content Cards feed to hide. + +##### Changed +- Cookies set by the SDK are now renewed when a new session is started. This fixes an issue where the SDK would stop setting cookies that had been deleted or expired when identification information existed in localStorage, preventing cross-subdomain identification from functioning in certain circumstances. +- Increased clickable area of all buttons in the built-in UI to be at least 45x45px to comply with mobile accessibility best-practices. This includes some minor changes to the Content Cards and News Feed UI to accommodate the larger buttons. + +##### Fixed +- Fixed an issue where some network requests fail on websites using certain libraries that overwrite the native Promise object. + ## 3.1.2 ##### Fixed diff --git a/README.md b/README.md index 7321bdc..300ff99 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.1/doc/modules/appboy.html) +- [Read the full technical documentation](https://js.appboycdn.com/web-sdk/3.2/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.1/service-worker.js'); +self.importScripts('https://js.appboycdn.com/web-sdk/3.2/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.1/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.2/appboy.min.js and open a Braze session: