Skip to content

chore: upgrade lodash to ^4.18.1 and @types/lodash to ^4.17.24#5182

Merged
timotheeguerin merged 2 commits intomainfrom
copilot/upgrade-lodash-to-latest
Apr 9, 2026
Merged

chore: upgrade lodash to ^4.18.1 and @types/lodash to ^4.17.24#5182
timotheeguerin merged 2 commits intomainfrom
copilot/upgrade-lodash-to-latest

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 8, 2026

Summary

Upgrades lodash and its type definitions to the latest versions across all packages in the monorepo, and switches from ~ (patch-only) to ^ (minor+patch) version range prefix.

Changes

Package Before After
lodash ~4.17.20 ^4.18.1
@types/lodash ~4.17.16 ^4.17.24

Affected packages (7)

  • @autorest/core
  • @autorest/modelerfour
  • @autorest/openapi-to-typespec
  • @autorest/configuration
  • @azure-tools/datastore
  • @azure-tools/deduplication
  • @azure-tools/yaml

Verification

  • rush update — lockfile regenerated successfully
  • rush build — all 22 projects built successfully
  • rush test:ci — all tests pass (the only failure is a pre-existing openapi-to-typespec dirty-tree check triggered by our intentional package.json changes)

Agent-Logs-Url: https://github.com/Azure/autorest/sessions/6a8971ca-9e90-4192-a7c3-581e8d130639

Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
@timotheeguerin timotheeguerin marked this pull request as ready for review April 8, 2026 23:48
@timotheeguerin timotheeguerin enabled auto-merge (squash) April 8, 2026 23:48
@timotheeguerin
Copy link
Copy Markdown
Member

@copilot add changelog entry using rush change

Agent-Logs-Url: https://github.com/Azure/autorest/sessions/b672150a-d577-48dc-9905-984ca3838d9c

Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 8, 2026

@copilot add changelog entry using rush change

Added rush change entries for all 7 affected packages in commit b3c8c1e. Verified with rush change --verify.

@azure-pipelines
Copy link
Copy Markdown

You may test this build by running autorest --reset and then either:


Add the following CLI flags
Pacakge Flag Description
@autorest/core --version:https://tinyurl.com/24gq8drl For changes to autorest core.
@autorest/modelerfour --use:https://tinyurl.com/22xgy2cz For changes to modelerfour.

Or with all

autorest --version:https://tinyurl.com/24gq8drl --use:https://tinyurl.com/22xgy2cz

or use the following in your autorest configuration:
# For changes to autorest core
version: "https://tinyurl.com/24gq8drl"

# For changes to modelerfour
use-extension:
  "@autorest/modelerfour": "https://tinyurl.com/22xgy2cz"

If this build is good for you, give this comment a thumbs up. (👍) And you should run `autorest --reset` again once you're finished testing to remove it.

@timotheeguerin timotheeguerin merged commit 96c0b17 into main Apr 9, 2026
11 checks passed
@timotheeguerin timotheeguerin deleted the copilot/upgrade-lodash-to-latest branch April 9, 2026 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants