Andrew Bulat

Results 30 issues of Andrew Bulat

This PR marks all ably-js tests in correspondence with the spec items each test covers. This is achieved by adding docstrings for test case functions with the following tags: -...

See comment in https://github.com/ably/ably-js/pull/1775/files#r1639254977 Would be a breaking change, only worth considering for next major version ┆Issue is synchronized with this [Jira Task](https://ably.atlassian.net/browse/ECO-4843) by [Unito](https://www.unito.io)

enhancement

ably-js v2 uses `exports` field in its package.json, so bundlers that respect this field (like webpack v5) won't be able to resolve `import * as Ably from 'ably/build/ably.js'` which is...

documentation

The change is driven by `unsubscribeAll` used in Chat SDK and related DR https://ably.atlassian.net/wiki/spaces/CHA/pages/3141992466/CHADR-035+Unsubscribing+All+Listeners+at+Once. Deprecates the ability to call `.unsubscribe()` methods without any valid parameters. TODO: test for unsubscribeAll update...

Something has changed in Next.js 15 so it's now necessary to load components using ably-js with `next/dynamic` and use `'use client';` directive for such components, otherwise we would get `Warning:...

investigate
documentation

See https://github.com/ably/ably-js/issues/1822

maintenance

This PR is based on https://github.com/ably/ably-js/pull/1891, please review it first. Adds LiveObjects integration tests for functionality introduced in https://github.com/ably/ably-js/pull/1887, https://github.com/ably/ably-js/pull/1890 and https://github.com/ably/ably-js/pull/1891. NOTE: next Live Objects tests are expected to...

This PR is based on https://github.com/ably/ably-js/pull/1890, please review it first. Tests for SYNC sequence are added in https://github.com/ably/ably-js/pull/1894. Resolves [DTP-951](https://ably.atlassian.net/browse/DTP-951) [DTP-951]: https://ably.atlassian.net/browse/DTP-951?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ ## Summary by CodeRabbit - **New Features** -...

This PR adds necessary realtime client changes to be able to handle new STATE_SYNC messages by the LiveObjects plugin. The pool initialization itself is implemented in https://github.com/ably/ably-js/pull/1890. I would suggest...

This PR is based on https://github.com/ably/ably-js/pull/1887, please review it first. Tests for SYNC sequence are added in https://github.com/ably/ably-js/pull/1894. Resolves [DTP-949](https://ably.atlassian.net/browse/DTP-949) [DTP-949]: https://ably.atlassian.net/browse/DTP-949?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ ## Summary by CodeRabbit ## Summary by CodeRabbit...