Skip to content

Commit

Permalink
Merge branch 'main' into 2024-03-21-merge-main-into-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
VeskeR committed Mar 21, 2024
2 parents 1a4dc28 + dc761e7 commit af74cf6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,15 @@ The Types namespace has been removed. All types it contained are now exported at

[Full Changelog](https://github.com/ably/ably-js/compare/1.2.50...2.0.0)

## [1.2.50](https://github.com/ably/ably-js/tree/1.2.50) (2024-03-21)

- Add new logging API to `ClientOptions` and add a deprecation warning for the old one [\#1671](https://github.com/ably/ably-js/pull/1671)
- Add `ClientOptions.maxMessageSize` to the public API [\#1678](https://github.com/ably/ably-js/pull/1678)
- Add a deprecation warning for the `headers` client option [\#1681](https://github.com/ably/ably-js/pull/1681)
- Improve deprecation log messages [\#1683](https://github.com/ably/ably-js/pull/1683), [\#1685](https://github.com/ably/ably-js/pull/1685)
- Handle 204 status code in `PaginatedResource` [\#1631](https://github.com/ably/ably-js/pull/1631)
- Fix typing and deprecation warning for `Crypto.getDefaultParams()` [\#1693](https://github.com/ably/ably-js/pull/1693)

## [1.2.49](https://github.com/ably/ably-js/tree/1.2.49) (2024-02-07)

- \[React-Hooks\] `usePresence` unsubscribes all listeners on unmount and run `Presence.leave` even if connection has been terminated [\#1610](https://github.com/ably/ably-js/issues/1610)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ably",
"description": "Realtime client library for Ably, the realtime messaging service",
"version": "1.2.49",
"version": "1.2.50",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/ably/ably-js/issues",
Expand Down
2 changes: 1 addition & 1 deletion src/platform/react-hooks/src/AblyReactHooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export type ChannelNameAndOptions = {
export type ChannelNameAndAblyId = Pick<ChannelNameAndOptions, 'channelName' | 'ablyId'>;
export type ChannelParameters = string | ChannelNameAndOptions;

export const version = '1.2.49';
export const version = '1.2.50';

export function channelOptionsWithAgent(options?: Ably.ChannelOptions) {
return {
Expand Down

0 comments on commit af74cf6

Please sign in to comment.