Skip to content

Bump package_config from 2.2.0 to 3.0.0 - #364

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pub/package_config-3.0.0
Open

Bump package_config from 2.2.0 to 3.0.0#364
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pub/package_config-3.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 6, 2026

Copy link
Copy Markdown

Bumps package_config from 2.2.0 to 3.0.0.

Release notes

Sourced from package_config's releases.

package:package_config v3.0.0

  • Adds discovery API to find both a configuration and its location: findPackageConfigAndFile and findPackageConfigAndUri.
  • Removes support for the .packages file. The Dart SDK no longer supports that file, and no new .packages files will be generated. Since the SDK requirement for this package is above 3.0.0, no supporting SDK can use or generate .packages.
  • Simplifies API that no longer needs to support two separate files.
    • Renamed readAnyConfigFile to readConfigFile, and removed the preferNewest parameter.
    • Same for readAnyConfigFileUri which becomes readConfigFileUri.
    • Old functions still exists as deprecated, forwarding to the new functions without the preferNewest argument. Makes PackageConfig, Package and LanguageVersion @sealed classes, in preparation for making them final in a future update.
  • Adds PackageConfig.minVersion to complement .maxVersion. Currently both are 2.
Commits

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 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)

Bumps [package_config](https://github.com/dart-lang/tools/tree/main/pkgs) from 2.2.0 to 3.0.0.
- [Release notes](https://github.com/dart-lang/tools/releases)
- [Commits](https://github.com/dart-lang/tools/commits/package_config-v3.0.0/pkgs)

---
updated-dependencies:
- dependency-name: package_config
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dart Pull requests that update dart code dependencies Pull requests that update a dependency file labels Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants