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

Bump @angular/cdk from 16.0.1 to 18.2.1 in /desktop/angular #1665

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 23, 2024

Bumps @angular/cdk from 16.0.1 to 18.2.1.

Release notes

Sourced from @​angular/cdk's releases.

v18.2.1

18.2.1 "plastic-panda" (2024-08-22)

material

Commit Description
fix - bad94fda58 datepicker: calendar font tokens not being picked up (#29610) (#29615)
fix - c4c62b8549 icon: update error message for missing HttpClient (#29589)
fix - b2a32e9898 menu: inconsistent layout of submenu icon (#29603)
fix - 5f0c89030e tabs: switch pagination to not use native buttons (#29605)

cdk

Commit Description
fix - 3a2d13e2e4 drag-drop: preview positioned incorrectly when RTL is set on the body (#29606)

v18.2.0

18.2.0 "technetium-tapas" (2024-08-14)

cdk

Commit Description
feat - b2c051d2c drag-drop: add input to specify dragged item scale (#29392)

material

Commit Description
feat - ddc307e28 button-toggle: allow disabled buttons to be interactive (#29550)
feat - 841760101 checkbox: add the ability to interact with disabled checkboxes (#29474)
feat - 0af3b6175 radio: add the ability to interact with disabled radio buttons (#29490)
feat - 4292e1b3a slide-toggle: add the ability to interact with disabled toggle (#29502)
feat - a018fb0ee tooltip: replicate tooltipClass to default MatTooltipDefaultOptions (#29467)
fix - aaf0d5156 checkbox: account for disabledInteractive in harness
fix - d22a24d66 list: checkmark not visible in high contrast mode (#29546)
fix - a259b016b radio: account for disabledInteractive in harness
fix - fd47a0e60 radio: avoid error if destroyed quickly (#29507)
fix - 08d2e3e69 slide-toggle: account for disabledInteractive in harness
fix - fd416a30e tooltip: remove aria-describedby when disabled (#29520)
fix - ff36c80f9 tree: add levelAccessor, childrenAccessor, TreeKeyManager; a11y and docs improvements (#29062)
fix - 1f992d06c tree: aria-expanded attribute should not appear in the leaf node (#29273)

multiple

Commit Description
feat - db5b8dc29 fallback to system level variables (#29480)

Deprecations

material

  • Tree controller deprecated. Use one of levelAccessor or childrenAccessor instead. To be removed in a future version.
    • BaseTreeControl, TreeControl, FlatTreeControl, and NestedTreeControl deprecated
    • CdkTree#treeControl deprecated. Provide one of CdkTree#levelAccessor or CdkTree#childrenAccessor instead.
    • MatTreeFlattener deprecated. Use MatTree#childrenAccessor and MatTreeNode#isExpandable instead.
    • MatTreeFlatDataSource deprecated. Use one of levelAccessor or childrenAccessor instead of TreeControl.

... (truncated)

Changelog

Sourced from @​angular/cdk's changelog.

18.2.1 "plastic-panda" (2024-08-22)

cdk

Commit Type Description
3a2d13e2e4 fix drag-drop: preview positioned incorrectly when RTL is set on the body (#29606)

material

Commit Type Description
bad94fda58 fix datepicker: calendar font tokens not being picked up (#29610) (#29615)
c4c62b8549 fix icon: update error message for missing HttpClient (#29589)
b2a32e9898 fix menu: inconsistent layout of submenu icon (#29603)
5f0c89030e fix tabs: switch pagination to not use native buttons (#29605)

19.0.0-next.0 "yttrium-igloo" (2024-08-14)

cdk

Commit Type Description
bd84c2a67 fix tree: fix issue where isExpanded wouldn't be set if placed before isExpandable (#29565)

18.2.0 "technetium-tapas" (2024-08-14)

Deprecations

material

  • Tree controller deprecated. Use one of levelAccessor or childrenAccessor instead. To be removed in a future version.

    • BaseTreeControl, TreeControl, FlatTreeControl, and NestedTreeControl deprecated
    • CdkTree#treeControl deprecated. Provide one of CdkTree#levelAccessor or CdkTree#childrenAccessor instead.
    • MatTreeFlattener deprecated. Use MatTree#childrenAccessor and MatTreeNode#isExpandable instead.
    • MatTreeFlatDataSource deprecated. Use one of levelAccessor or childrenAccessor instead of TreeControl.

    Note when upgrading: isExpandable works differently on Trees using treeControl than trees using childrenAccessor or levelAccessor. Nodes on trees that have a treeControl are expandable by default. Nodes on trees using childrenAccessor or levelAccessor are not expandable by default. Provide isExpandable to override default behavior.

  • Setting tabindex of tree nodes deprecated. By default, Tree ignores tabindex passed to tree nodes.

    • MatTreeNode#tabIndex deprecated. MatTreeNode ignores Input tabIndex and manages its own focus behavior.
    • MatTreeNode#defaultTabIndex deprecated. MatTreeNode ignores defaultTabIndex and manages its own focus behavior.
    • MatNestedTreeNode#tabIndex deprecated. MatTreeNode ignores Input defaultTabIndex and manages its own focus behavior.
    • LegacyTreeKeyManager and LEGACY_TREE_KEY_MANAGER_FACTORY_PROVIDER deprecated. Inject a TreeKeyManagerFactory to customize keyboard behavior.

    Note when upgrading: an opt-out is available for keyboard functionality changes. Provide LEGACY_TREE_KEY_MANAGER_FACTORY_PROVIDER to opt-out of Tree managing its own focus. When provided, Tree does not manage it’s own focus and respects tabindex passed to TreeNode. When provided, have the same focus behavior as before this commit is applied.

    Add Legacy Keyboard Interface demo, which shows usage of LEGACY_TREE_KEY_MANAGER_FACTORY_PROVIDER. Add Custom Key Manager, which shows usage of injecting a TreeKeyManagerStrategy

  • disabled renamed to isDisabled.

    • CdkTreeNode#disabled deprecated and alias to CdkTreeNode#isDisabled

material

Commit Type Description
ddc307e28 feat button-toggle: allow disabled buttons to be interactive (#29550)

... (truncated)

Commits
  • 32e8b26 release: cut the v18.2.1 release
  • bad94fd fix(material/datepicker): calendar font tokens not being picked up (#29610) (...
  • 5f0c890 fix(material/tabs): switch pagination to not use native buttons (#29605)
  • 3a2d13e fix(cdk/drag-drop): preview positioned incorrectly when RTL is set on the bod...
  • b2a32e9 fix(material/menu): inconsistent layout of submenu icon (#29603)
  • f719693 build: use the new logo for the dev app favicon (#29598)
  • d12512b build: remove outdated --non-interactive yarn option from doc site install ...
  • c4c62b8 fix(material/icon): update error message for missing HttpClient (#29589)
  • 2caed5b release: cut the v18.2.0 release
  • f7a0305 fix(material/tabs): allow for tablist aria-label and aria-labelledby to be se...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by CodeRabbit

  • New Features
    • Upgraded the Angular Component Development Kit (CDK) to the latest version, enhancing performance and functionality.
  • Improvements
    • Introduced potential new features and improvements available in the updated CDK version.

@dependabot dependabot bot added dependencies TYPE: update of dependencies javascript Pull requests that update Javascript code labels Aug 23, 2024
Copy link

socket-security bot commented Aug 23, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@angular/[email protected] None 0 8.56 MB google-wombot

🚮 Removed packages: npm/@angular/[email protected]), npm/@angular/[email protected]), npm/@angular/[email protected]), npm/@types/[email protected]), npm/@types/[email protected]), npm/[email protected])

View full report↗︎

Bumps [@angular/cdk](https://github.com/angular/components) from 16.0.1 to 18.2.1.
- [Release notes](https://github.com/angular/components/releases)
- [Changelog](https://github.com/angular/components/blob/main/CHANGELOG.md)
- [Commits](angular/components@16.0.1...18.2.1)

---
updated-dependencies:
- dependency-name: "@angular/cdk"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/desktop/angular/angular/cdk-18.2.1 branch from c279b03 to 16bcd4a Compare August 28, 2024 12:29
Copy link
Contributor

coderabbitai bot commented Aug 28, 2024

Walkthrough

Walkthrough

The change involves updating the version of the @angular/cdk dependency in the Angular project's package.json file from ^16.0.1 to ^18.2.1. This upgrade signifies a transition to a newer major version of the Angular Component Development Kit, which may include new features and improvements.

Changes

File Change Summary
.../angular/package.json Updated @angular/cdk version from ^16.0.1 to ^18.2.1

Sequence Diagram(s)

(No sequence diagrams generated as the changes do not warrant a visual representation.)

Poem

🐰 In the code where bunnies play,
A new CDK has come to stay.
With features bright and changes bold,
A tale of upgrades now unfolds.
Hop along, let’s code with glee,
For Angular's future, oh so free! 🌟


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 as 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.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

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
Contributor

@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: 1

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 30eb77d and 16bcd4a.

Files ignored due to path filters (1)
  • desktop/angular/package-lock.json is excluded by !**/package-lock.json
Files selected for processing (1)
  • desktop/angular/package.json (1 hunks)

@@ -23,7 +23,7 @@
"private": true,
"dependencies": {
"@angular/animations": "^16.0.1",
"@angular/cdk": "^16.0.1",
"@angular/cdk": "^18.2.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

Update Angular dependencies for compatibility.

The @angular/cdk has been updated to ^18.2.1, but other Angular dependencies remain at ^16.0.1. To ensure compatibility and prevent potential issues, consider updating the other Angular packages to match the CDK version. Thorough testing is also recommended to verify the integration.

Analysis chain

Approve the version update but recommend further actions.

The version bump of @angular/cdk from ^16.0.1 to ^18.2.1 is noted. While this update is likely beneficial, it's crucial to ensure compatibility with other Angular dependencies and to test the application thoroughly to confirm that the new version integrates smoothly without introducing any regressions.

The version change is approved.

Would you like assistance in setting up a testing plan or performing compatibility checks for this update?

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify if other Angular-related dependencies need updates to ensure compatibility with the new CDK version.

# Test: List all Angular-related dependencies and their versions.
grep '@angular/' package.json

Length of output: 75


Script:

#!/bin/bash
# Search for package.json files in the repository to confirm their existence and correct path.
fd package.json

Length of output: 351


Script:

#!/bin/bash
# List all Angular-related dependencies and their versions in the correct package.json file.
grep '@angular/' desktop/angular/package.json

Length of output: 486

Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 2, 2024

Superseded by #1674.

@dependabot dependabot bot closed this Sep 2, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/desktop/angular/angular/cdk-18.2.1 branch September 2, 2024 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies TYPE: update of dependencies javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants