Skip to content

Bump build_runner, freezed_annotation, json_annotation, json_serializable, freezed and dartdoc - #180

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/multi-210bcec2d7
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/multi-210bcec2d7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 26, 2026

Copy link
Copy Markdown
Contributor

Bumps build_runner, freezed_annotation, json_annotation, json_serializable, freezed and dartdoc. These dependencies needed to be updated together.
Updates build_runner from 2.5.4 to 2.16.1

Release notes

Sourced from build_runner's releases.

package:build_runner v2.16.1

  • Clarify terminology: refer to .dart_tool/build/generated as the "artifact tree", and the normal output location as the "package path".
  • Reduce logged compile progress output for non-interactive builds, for example presubmits.
  • In serve and daemon modes, source files not involved in the build are no longer cached on read. They are re-read when requested.
  • Bug fix: make post-process output behavior match normal outputs: by default, rebuild if deleted or incorrect. Follow --keep-modified-outputs and --only-check.
  • Bug fix: in incremental builds, detect and delete conflicting outputs in the source directory rather than treating them as sources, which could cause builder dependency cycles and hangs; fix #5079.
  • Bug fix: restrict incompatible build output deletion to output packages; do not attempt to delete files in dependency packages.
  • Bug fix: do not invalidate retained package path outputs when conflicting artifact tree files appear; avoid unnecessary build step reruns.

package:build_runner v2.16.0

  • New default output behavior: always fix incorrect generated files. For example: if you "dart run build_runner build", modify a generated file, then build again, it will be fixed, undoing your modifications.
  • New option, --keep-modified-outputs. Use this to get the old output behavior: manual modifications to generated files are kept. They will be overwritten if a build is triggered due to an input file change, a configuration change or dart run build_runner clean.
  • New option, --only-check, for use in continuous builds and tests. With this option build_runner writes nothing, but builds and compares with the files already on disk. If there is any difference between disk and expected output then the differences are logged and the build fails.
  • Allow package_config 3.0.0.

package:build_runner v2.15.3

  • Simplify deletion of stale outputs: don't try to handle package renames.
  • The daemon asset server now rejects various non-local connections.
  • Bug fix: in incremental builds, when an input was deleted, its output was deleted at the start of the build. Make it consistent with other output deletions: wait until the end of the build.
  • Bug fix: post process builders with build_to: source can only write to output packages.
  • Bug fix: post process builders with build_to: cache can only write output corresponding to known packages.
  • Bug fix: reject incorrect builder config that has duplicate builder keys.
  • Bug fix: reject invalid builder factories in build.yaml.
  • Bug fix: correctly filter served or --output post process output.
  • Bug fix: serve mode only serves the specified package subdirectories.
  • Bug fix: serve live reload websocket checks for localhost origin.
  • Bug fix: don't follow symlinks when cleaning up output folders.
  • Bug fix: catch Windows-specific absolute paths.

... (truncated)

Commits
  • 5e25e60 Release build, build_config, build_daemon, build_runner, build_test. (#5111)
  • 43c2bb7 Remove test-only PreviousBuild.fromFinishedBuildState. (#5109)
  • a6078a0 Use AssetFile for deletes. (#5108)
  • 3051007 Remove BuildState.isFile. (#5106)
  • da162e6 Do not invalidate retained package path outputs on artifact tree conflicts. (...
  • d51da7e Set default test timeout to 3m in build_runner/dart_test.yaml. (#5104)
  • 47aba81 [build_web_compilers] Standardize web app entrypoint selection (#5095)
  • f15a84e Restrict incompatibleBuildOutputsToDelete to outputPackages. (#5103)
  • 1a276c2 Clarify source/cache/visible/hidden. (#5096)
  • f5cc910 Improve BuildOutputReader; add BuildOutputReadResult. (#5101)
  • Additional commits viewable in compare view

Updates freezed_annotation from 2.4.4 to 3.1.0

Commits

Updates json_annotation from 4.9.0 to 4.12.0

Release notes

Sourced from json_annotation's releases.

package:json_annotation v4.12.0

  • Add JsonKey.explicitJsonNullWhenNonNullField for PATCH-style tri-state JSON fields (omit key vs explicit null vs value).

package:json_annotation v4.11.0

  • Add JsonSerializable.dateTimeUtc configuration option. (#1371)

package:json_annotation v4.10.0

  • Support JsonKey annotation on constructor parameters.
  • Add JsonSerializable(createJsonSchema: true).
  • Require meta: ^1.16.0
  • Require sdk: ^3.9.0
Commits
  • 61e7b87 Add JsonKey.explicitJsonNullWhenNonNullField for PATCH tri-state JSON (#1574)
  • 62e16d8 Bump the dependencies group with 2 updates (#1572)
  • c6cdfcf Update analyzer to latest, prepare v6.13.2 (#1571)
  • fba9479 Bump the dependencies group with 3 updates (#1568)
  • da67f42 allow pkg:analyzer latest, prepare v6.13.1 (#1566)
  • 8b781ac Improve error message when generating code for Record types with unsupported ...
  • 6b711e3 Improve error messages when typeToCode throws an exception (#1450)
  • 5d5feca isSynthetic is removed in Analyzer 11 (#1564)
  • c61a809 Bump actions/stale from 10.1.1 to 10.2.0 in the dependencies group (#1563)
  • 2b03869 Prepare for release (#1562)
  • Additional commits viewable in compare view

Updates json_serializable from 6.9.5 to 6.14.1

Release notes

Sourced from json_serializable's releases.

package:json_serializable v6.14.1

  • Require analyzer: '>=10.0.0 <15.0.0'

package:json_serializable v6.14.0

  • Support JsonKey.explicitJsonNullWhenNonNullField for PATCH-style tri-state JSON fields: distinguish omitted keys from explicit null in fromJson and emit explicit JSON null in toJson when the Dart field is non-null.
  • Require json_annotation: '>=4.12.0 <4.13.0'

package:json_serializable v6.13.2

  • Require analyzer: '>=10.0.0 <14.0.0'

package:json_serializable v6.13.1

  • Improve error message when generating code for Record types with unsupported fields. (#1559)
  • Require analyzer: '>=10.0.0 <13.0.0'
  • Require build: ^4.0.4
  • Require dart_style: ^3.1.4
  • Require source_gen: ^4.1.2
  • Require source_helper: ^1.3.10

package:json_serializable v6.13.0

  • Fix schema generation for many different types of fields. (#1549)
  • Support JsonSerializable.dateTimeUtc configuration option. (#1371)
  • Remove json_schema from dependencies (it is only used in tests).

package:json_serializable v6.12.0

  • Support JsonKey annotation on constructor parameters.
  • Add support for JsonSerializable(createJsonSchema: true).

package:json_serializable v6.11.4

  • Allow analyzer: >=9.0.0 <11.0.0

package:json_serializable v6.11.3

  • Require analyzer: ^9.0.0
  • Require build: ^4.0.3
  • Require build_config: ^1.2.0
  • Require dart_style: ^3.1.3
  • Require sdk: ^3.9.0
  • Require source_gen: ^4.1.1
  • Require source_helper: ^1.3.9

package:json_serializable v6.11.2

  • Allow run_only_if_triggered to be specified in build.yaml to turn on the build_runner triggers heuristic.
  • Skip warning about annotations on both constructor and field if the values match.

... (truncated)

Commits
  • c727bb9 chore(deps): support analyzer <15.0.0 (#1584)
  • eaad5f6 Bump the dependencies group with 2 updates (#1579)
  • 5a1856a Bump the dependencies group with 2 updates (#1576)
  • 61e7b87 Add JsonKey.explicitJsonNullWhenNonNullField for PATCH tri-state JSON (#1574)
  • 62e16d8 Bump the dependencies group with 2 updates (#1572)
  • c6cdfcf Update analyzer to latest, prepare v6.13.2 (#1571)
  • fba9479 Bump the dependencies group with 3 updates (#1568)
  • da67f42 allow pkg:analyzer latest, prepare v6.13.1 (#1566)
  • 8b781ac Improve error message when generating code for Record types with unsupported ...
  • 6b711e3 Improve error messages when typeToCode throws an exception (#1450)
  • Additional commits viewable in compare view

Updates freezed from 2.5.8 to 4.0.2

Commits

Updates dartdoc from 8.3.4 to 9.0.9

Release notes

Sourced from dartdoc's releases.

package:dartdoc v9.0.9

  • Require analyzer 14.1.0 APIs.

package:dartdoc v9.0.8

  • Fix a RangeError caused by string offset drift when parsing @docImport in files with \r\n line endings.

package:dartdoc v9.0.7

  • Add built-in CSS styling for the <callout-box> HTML tag.
  • Add a copy button to all fenced code blocks in generated documentation.

package:dartdoc v9.0.6

  • Require analyzer 13.0.2 APIs.
  • Introduce the {@​example} directive for embedding external files, with support for extracting specific code blocks via #region tags.

package:dartdoc v9.0.5

  • Cache ElementType instantiations in PackageGraph, improving overall speed by ~6.2% on large packages.
  • Fix canonicalization for explicit top-level getters and prioritize {@canonicalFor} tags over the local public library shortcut.
  • Fix link generation for remote and re-exported symbols
  • Require analyzer 12.0.0 APIs.

package:dartdoc v9.0.4

  • Fix a bug where experiment flags passed via command-line were ignored.
  • Support specifying experimental features in dartdoc_options.yaml.
  • Document using the public name for private named parameters.
  • Deprecate the --use-categories option.
  • Gracefully handle missing library elements during comment reference lookup, emitting an internal-error warning instead of crashing.
  • Require analyzer 10.2.0 APIs.

package:dartdoc v9.0.3

  • Require analyzer 10.1.0 APIs.
  • Remove usage of EmbedderYamlLocator and EmbedderSdk.new, internal analyzer APIs which were removed in analyzer 10.1.0.
  • Significant improvements to canonicalization logic:
    • elements documented in their intended libraries via @canonicalFor overrides are now correctly placed in their respective directories.
    • improved SDK interlinking to ensure elements re-exported from standard libraries (like dart:core) generate absolute remote links when appropriate.
    • fixed a bug where property accessors (getters/setters) were incorrectly compared during canonical library lookups.
    • refined scoring heuristics with definitive tie-breakers for standard SDK schemes and defining libraries.

package:dartdoc v9.0.2

  • Require analyzer 10.0.0 APIs.

package:dartdoc v9.0.1

  • Deprecate the typeAsHtml warning
  • Require analyzer 9.0.0 APIs.
  • Use logging infrastructure in AOT compiler.

package:dartdoc v9.0.0

  • Remove the deprecated missingCodeBlockLanguage warning.

... (truncated)

Changelog

Sourced from dartdoc's changelog.

9.0.9

  • Require analyzer 14.1.0 APIs.

9.0.8

  • Fix a RangeError caused by string offset drift when parsing @docImport in files with \r\n line endings.

9.0.7

  • Add built-in CSS styling for the <callout-box> HTML tag.
  • Add a copy button to all fenced code blocks in generated documentation.

9.0.6

  • Require analyzer 13.0.2 APIs.
  • Introduce the {@​example} directive for embedding external files, with support for extracting specific code blocks via #region tags.

9.0.5

  • Cache ElementType instantiations in PackageGraph, improving overall speed by ~6.2% on large packages.
  • Fix canonicalization for explicit top-level getters and prioritize {@canonicalFor} tags over the local public library shortcut.
  • Fix link generation for remote and re-exported symbols
  • Require analyzer 12.0.0 APIs.

9.0.4

  • Fix a bug where experiment flags passed via command-line were ignored.
  • Support specifying experimental features in dartdoc_options.yaml.
  • Document using the public name for private named parameters.
  • Deprecate the --use-categories option.
  • Gracefully handle missing library elements during comment reference lookup, emitting an internal-error warning instead of crashing.
  • Require analyzer 10.2.0 APIs.

9.0.3

  • Require analyzer 10.1.0 APIs.
  • Remove usage of EmbedderYamlLocator and EmbedderSdk.new, internal analyzer APIs which were removed in analyzer 10.1.0.
  • Significant improvements to canonicalization logic:
    • elements documented in their intended libraries via @canonicalFor overrides are now correctly placed in their respective directories.
    • improved SDK interlinking to ensure elements re-exported from standard libraries (like dart:core) generate absolute remote links when appropriate.
    • fixed a bug where property accessors (getters/setters) were incorrectly compared during canonical library lookups.
    • refined scoring heuristics with definitive tie-breakers for standard SDK schemes and defining libraries.

9.0.2

  • Require analyzer 10.0.0 APIs.

9.0.1

  • Deprecate the typeAsHtml warning
  • Require analyzer 9.0.0 APIs.
  • Use logging infrastructure in AOT compiler.

... (truncated)

Commits

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)

…able, freezed and dartdoc

Bumps [build_runner](https://github.com/dart-lang/build), [freezed_annotation](https://github.com/rrousselGit/freezed), [json_annotation](https://github.com/google/json_serializable.dart), [json_serializable](https://github.com/google/json_serializable.dart), [freezed](https://github.com/rrousselGit/freezed) and [dartdoc](https://github.com/dart-lang/dartdoc). These dependencies needed to be updated together.

Updates `build_runner` from 2.5.4 to 2.16.1
- [Release notes](https://github.com/dart-lang/build/releases)
- [Commits](dart-lang/build@build_runner-v2.5.4...build_runner-v2.16.1)

Updates `freezed_annotation` from 2.4.4 to 3.1.0
- [Commits](rrousselGit/freezed@freezed_annotation-v2.4.4...freezed_annotation-v3.1.0)

Updates `json_annotation` from 4.9.0 to 4.12.0
- [Release notes](https://github.com/google/json_serializable.dart/releases)
- [Commits](google/json_serializable.dart@json_annotation-v4.9.0...json_annotation-v4.12.0)

Updates `json_serializable` from 6.9.5 to 6.14.1
- [Release notes](https://github.com/google/json_serializable.dart/releases)
- [Commits](google/json_serializable.dart@json_serializable-v6.9.5...json_serializable-v6.14.1)

Updates `freezed` from 2.5.8 to 4.0.2
- [Commits](rrousselGit/freezed@freezed-v2.5.8...freezed-v4.0.2)

Updates `dartdoc` from 8.3.4 to 9.0.9
- [Release notes](https://github.com/dart-lang/dartdoc/releases)
- [Changelog](https://github.com/dart-lang/dartdoc/blob/main/CHANGELOG.md)
- [Commits](dart-lang/dartdoc@v8.3.4...v9.0.9)

---
updated-dependencies:
- dependency-name: build_runner
  dependency-version: 2.16.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: freezed_annotation
  dependency-version: 3.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: json_annotation
  dependency-version: 4.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: json_serializable
  dependency-version: 6.14.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: freezed
  dependency-version: 4.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: dartdoc
  dependency-version: 9.0.9
  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 Sep 26, 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

Development

Successfully merging this pull request may close these issues.

0 participants