Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.4.0 #1863

Merged
merged 3 commits into from
Sep 11, 2024
Merged

Release 2.4.0 #1863

merged 3 commits into from
Sep 11, 2024

Conversation

VeskeR
Copy link
Contributor

@VeskeR VeskeR commented Sep 11, 2024

Summary by CodeRabbit

  • New Features

    • Introduced a new client option wsConnectivityCheckUrl for enhanced WebSocket connectivity configuration.
    • The Push plugin is now accessible via a CDN link, offering improved integration flexibility.
  • Updates

    • Updated documentation to reflect the new version 2.4.0 for the Push plugin, guiding users to the latest resources.
    • Incremented the version number of the Ably client library to 2.4.0.

@VeskeR VeskeR requested a review from ttypic September 11, 2024 17:31
Copy link

coderabbitai bot commented Sep 11, 2024

Walkthrough

The pull request introduces version 2.4.0 of the Ably client library, featuring the addition of a new client option wsConnectivityCheckUrl for improved WebSocket connectivity checks. Additionally, the Push plugin is now accessible via a CDN link, allowing for easier integration. The version numbers in documentation and related files have been updated to reflect this new version, ensuring users can utilize the latest features and improvements.

Changes

File Change Summary
CHANGELOG.md Added new client option wsConnectivityCheckUrl and CDN availability for the Push plugin for version 2.4.0.
README.md Updated version URLs from 2.3._ to 2.4._ for the Push plugin documentation.
package.json Updated version from 2.3.2 to 2.4.0.
src/platform/react-hooks/src/AblyReactHooks.ts Changed exported constant version from '2.3.2' to '2.4.0'.

Possibly related PRs

  • Add Push plugin to cdn #1861: The changes in this PR involve adding the Push plugin to be loaded via a CDN, which directly relates to the main PR's update that also introduces the Push plugin's availability via a CDN link.

🐇 In a world of code and hops so bright,
A new version springs forth, a joyful sight.
With wsConnectivityCheckUrl in play,
And CDN links to brighten the day.
Ably leaps forward, so swift and spry,
Here’s to enhancements that make us fly! 🎉


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Outside diff range and nitpick comments (3)
README.md (1)

585-585: Documentation looks good, but fix the Markdown formatting issues.

The added documentation for the Push plugin provides useful information about the versioning scheme and CDN URLs.

However, please address the following Markdown formatting issues to improve readability:

  • Use Markdown link syntax instead of bare URLs. For example, change https://cdn.ably.com/lib/push.umd.min-2.js to [https://cdn.ably.com/lib/push.umd.min-2.js](https://cdn.ably.com/lib/push.umd.min-2.js).
  • Remove the spaces inside the emphasis markers. For example, change _ versions to _versions.

Apply this diff to fix the formatting issues:

-The Push plugin is developed as part of the Ably client library, so it is available for the same versions as the Ably client library itself. It also means that it follows the same semantic versioning rules as they were defined for [the Ably client library](#for-browsers). For example, to lock into a major or minor version of the Push plugin, you can specify a specific version number such as https://cdn.ably.com/lib/push.umd.min-2.js for all v2._ versions, or https://cdn.ably.com/lib/push.umd.min-2.4.js for all v2.4._ versions, or you can lock into a single release with https://cdn.ably.com/lib/push.umd.min-2.4.0.js. Note you can load the non-minified version by omitting `.min` from the URL such as https://cdn.ably.com/lib/push.umd-2.js.
+The Push plugin is developed as part of the Ably client library, so it is available for the same versions as the Ably client library itself. It also means that it follows the same semantic versioning rules as they were defined for [the Ably client library](#for-browsers). For example, to lock into a major or minor version of the Push plugin, you can specify a specific version number such as [https://cdn.ably.com/lib/push.umd.min-2.js](https://cdn.ably.com/lib/push.umd.min-2.js) for all v2._versions, or [https://cdn.ably.com/lib/push.umd.min-2.4.js](https://cdn.ably.com/lib/push.umd.min-2.4.js) for all v2.4._versions, or you can lock into a single release with [https://cdn.ably.com/lib/push.umd.min-2.4.0.js](https://cdn.ably.com/lib/push.umd.min-2.4.0.js). Note you can load the non-minified version by omitting `.min` from the URL such as [https://cdn.ably.com/lib/push.umd-2.js](https://cdn.ably.com/lib/push.umd-2.js).
Tools
Markdownlint

585-585: null
Bare URL used

(MD034, no-bare-urls)


585-585: null
Bare URL used

(MD034, no-bare-urls)


585-585: null
Bare URL used

(MD034, no-bare-urls)


585-585: null
Bare URL used

(MD034, no-bare-urls)


585-585: null
Spaces inside emphasis markers

(MD037, no-space-in-emphasis)

CHANGELOG.md (2)

7-7: New client option for WebSocket connectivity checks.

Adding the wsConnectivityCheckUrl option is a good enhancement to provide flexibility in connection handling.

Please ensure that:

  • The option is well-documented, including its purpose, default value, and expected format.
  • The library's behavior is verified when the option is not provided or when the connectivity check fails.

8-8: Push plugin now available via CDN.

Providing a CDN link for the push plugin is a nice convenience feature for users.

Please ensure that:

  • The CDN link is reliable and has high availability.
  • The plugin version served by the CDN is always in sync with the library version to avoid compatibility issues.
Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 6e85f91 and cd6a097.

Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
Files selected for processing (4)
  • CHANGELOG.md (1 hunks)
  • README.md (1 hunks)
  • package.json (1 hunks)
  • src/platform/react-hooks/src/AblyReactHooks.ts (1 hunks)
Files skipped from review due to trivial changes (2)
  • package.json
  • src/platform/react-hooks/src/AblyReactHooks.ts
Additional context used
Markdownlint
README.md

585-585: null
Bare URL used

(MD034, no-bare-urls)


585-585: null
Bare URL used

(MD034, no-bare-urls)


585-585: null
Bare URL used

(MD034, no-bare-urls)


585-585: null
Bare URL used

(MD034, no-bare-urls)


585-585: null
Spaces inside emphasis markers

(MD037, no-space-in-emphasis)

Copy link
Collaborator

@ttypic ttypic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@VeskeR VeskeR merged commit 8c9ce8b into main Sep 11, 2024
14 checks passed
@VeskeR VeskeR deleted the release/2.4.0 branch September 11, 2024 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants