| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
BREAKING CHANGES: `Client.VERSION` moved to `constants.VERSION`. `VERSION` is supposed to be immutable as it represents the actual version of maxGraph. When it was stored in Client, it was a static property that could be modified. Moving it to "constants" ensure that it cannot be modified.
|
Warning Rate limit exceeded@tbouffard has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 8 minutes and 49 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📥 CommitsReviewing files that changed from the base of the PR and between 6765f88 and 82ebcef. 📒 Files selected for processing (2)
WalkthroughThis pull request refactors version management and internal utility functions in the codebase. The static version property has been removed from the Client class and replaced with an immutable version constant in the Constants module. References to version information have been updated across UI and example files to use the new constant, and obsolete utility functions have been either removed or made private. Additionally, the update script has been adjusted to work with the new file and declaration format. Changes
Possibly related PRs
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 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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)
Other keywords and placeholders
CodeRabbit Configuration File (.coderabbit.yaml)
Documentation and Community
|
Sorry, something went wrong.
# Conflicts: # CHANGELOG.md
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (2)packages/core/src/util/Constants.ts (1)📜 Review detailsCHANGELOG.md (1)22-23: Use single quotes for consistency with other comments.
The comment uses backticks for the script path which is inconsistent with the comment style in the rest of the file.
-// WARN: this constant is updated at release time by the script located at `scripts/update-versions.mjs`. +// WARN: this constant is updated at release time by the script located at 'scripts/update-versions.mjs'.25-26: Ensure Clarity and Correct Grammar for the Version Relocation Entry
The changelog now notes that Client.VERSION has been moved to constants.VERSION to enforce immutability. For better readability and grammatical correctness, consider rephrasing the second sentence. For instance, you might update it to:
Moving it to the constants module ensures that it cannot be modified.
This change enhances clarity while aligning with the breaking change introduced by this PR.
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Reviewing files that changed from the base of the PR and between 42c1c0b and 6765f88.
📒 Files selected for processing (10)[error] 50-50: Unexpected console statement.
(no-console)
🔇 Additional comments (7)packages/ts-support/src/index.ts (1)17-17: LGTM! Changes align with the version refactoring.
The import statement and version reference have been correctly updated to use constants.VERSION instead of Client.VERSION.
Also applies to: 19-19
packages/js-example-without-defaults/src/index.js (1)107-107: LGTM! Version display updated correctly.
The version display has been properly updated to use constants.VERSION.
packages/js-example/src/index.js (1)20-20: LGTM! Version display updated correctly.
The import statement and version display have been properly updated to use constants.VERSION.
Also applies to: 77-77
packages/ts-example-without-defaults/src/main.ts (1)107-107: LGTM!
The version reference has been correctly updated to use constants.VERSION.
packages/ts-example/src/main.ts (1)118-118: LGTM!
The version reference has been correctly updated to use constants.VERSION.
packages/core/src/gui/MaxLog.ts (1)27-27: LGTM!
The version reference has been correctly updated:
- Import statement added for VERSION from Constants module
- Usage updated to reference the imported VERSION constant
Also applies to: 44-44
packages/core/src/util/Constants.ts (1)19-21: LGTM!
The VERSION constant has been correctly added with proper documentation.
Also applies to: 24-24
Sorry, something went wrong.
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
BREAKING CHANGES: Client.VERSION moved to constants.VERSION. VERSION is supposed to be immutable as it represents the actual version of maxGraph.
When it was stored in Client, it was a static property that could be modified.
Moving it to the constants module ensures that it cannot be modified.
Summary by CodeRabbit