diff --git a/CHANGELOG.md b/CHANGELOG.md index 053544f2d..02880bdeb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ Read [ably-js v2 migration guide](link TBD) for more information. ### Modular variant of the library -An ESM variant of the library is now available for browsers (but not for Node.js) at `ably/modules`. This modular variant of the library supports tree shaking, allowing for a reduction in the Ably bundle size within your application. +An ESM variant of the library is now available for browsers (but not for Node.js) at `ably/modules`. This modular variant of the library supports tree shaking, allowing for a reduction in the Ably bundle size within your application. It can also be used by Web Workers. ### First-class support for Promises @@ -44,7 +44,7 @@ ___ - `ChannelProvider` implementation [\#1620](https://github.com/ably/ably-js/pull/1620) - Remove duplicate type names and change public `ChannelModes` type [\#1601](https://github.com/ably/ably-js/pull/1601) - Remove `any` from `stats()` param type [\#1561](https://github.com/ably/ably-js/pull/1561) -- Make modular variant of the library available to Web Workers [\#1550](https://github.com/ably/ably-js/pull/1550) +- Remove the dedicated Web Worker bundle `ably/build/ably-webworker` and add support for using `ably` and `ably/modules` in Web Workers [\#1550](https://github.com/ably/ably-js/pull/1550) - Remove false class exports in type declarations [\#1524](https://github.com/ably/ably-js/pull/1524) - Implement untyped stats API [\#1522](https://github.com/ably/ably-js/pull/1522) - Remove the `Types` namespace [\#1518](https://github.com/ably/ably-js/pull/1518) @@ -59,16 +59,16 @@ ___ - Make `ICipher.decrypt` async [\#1311](https://github.com/ably/ably-js/pull/1311) - Add mandatory `version` param to `Rest.request` [\#1231](https://github.com/ably/ably-js/pull/1231) - Remove `ably-commonjs*.js` files [\#1229](https://github.com/ably/ably-js/pull/1229) -- Remove remaining deprecated APIs [\#1227](https://github.com/ably/ably-js/pull/1227) +- Remove `ClientOptions.fallbackHostsUseDefault` deprecated API [\#1227](https://github.com/ably/ably-js/pull/1227) - Remove deprecated `fromEncoded*` type declarations [\#1222](https://github.com/ably/ably-js/pull/1222) -- Conform to spec for logging configuration [\#1216](https://github.com/ably/ably-js/pull/1216) +- Replace the `ClientOptions.log` property with separate `logLevel` and `logHandler` properties [\#1216](https://github.com/ably/ably-js/pull/1216) - Remove support for JSONP [\#1215](https://github.com/ably/ably-js/pull/1215) ### Features - `ChannelProvider` implementation [\#1620](https://github.com/ably/ably-js/pull/1620) -- Log all HTTP activity [\#1581](https://github.com/ably/ably-js/pull/1581) -- Make modular variant of the library available to Web Workers [\#1550](https://github.com/ably/ably-js/pull/1550) +- Add logs to all HTTP activity [\#1581](https://github.com/ably/ably-js/pull/1581) +- Remove the dedicated Web Worker bundle `ably/build/ably-webworker` and add support for using `ably` and `ably/modules` in Web Workers [\#1550](https://github.com/ably/ably-js/pull/1550) - Implement untyped stats API [\#1522](https://github.com/ably/ably-js/pull/1522) - Stop using CryptoJS for signing token requests [\#1325](https://github.com/ably/ably-js/pull/1325) - Use Web Crypto API for encrypting and decrypting [\#1299](https://github.com/ably/ably-js/pull/1299) @@ -94,9 +94,9 @@ ___ - Describe the types of key returned by `generateRandomKey` [\#1320](https://github.com/ably/ably-js/pull/1320) - Make `ICipher.decrypt` async [\#1311](https://github.com/ably/ably-js/pull/1311) - Remove `ably-commonjs*.js` files [\#1229](https://github.com/ably/ably-js/pull/1229) -- Remove remaining deprecated APIs [\#1227](https://github.com/ably/ably-js/pull/1227) +- Remove `ClientOptions.fallbackHostsUseDefault` deprecated API [\#1227](https://github.com/ably/ably-js/pull/1227) - Remove deprecated `fromEncoded*` type declarations [\#1222](https://github.com/ably/ably-js/pull/1222) -- Conform to spec for logging configuration [\#1216](https://github.com/ably/ably-js/pull/1216) +- Replace the `ClientOptions.log` property with separate `logLevel` and `logHandler` properties [\#1216](https://github.com/ably/ably-js/pull/1216) - Remove support for JSONP [\#1215](https://github.com/ably/ably-js/pull/1215) [Full Changelog](https://github.com/ably/ably-js/compare/v1.2.49...v2.0.0)