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

chore(deps): bump json_serializable, source_gen, pub_updater, dart_style, melos and freezed #171

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 14, 2025

Bumps json_serializable, source_gen, pub_updater, dart_style, melos and freezed. These dependencies needed to be updated together.
Updates json_serializable from 6.9.0 to 6.9.3

Release notes

Sourced from json_serializable's releases.

package:json_serializable v6.9.3

  • Error out if the target package does not have a language version of 3.0 or greater.

package:json_serializable v6.9.2

  • Support the latest package:analyzer.

package:json_serializable v6.9.1

  • Support the latest package:analyzer and package:source_gen.
  • Require Dart 3.6
Commits

Updates source_gen from 1.5.0 to 2.0.0

Release notes

Sourced from source_gen's releases.

package:source_gen v2.0.0

  • Breaking Change: Change formatOutput function to accept a language version parameter.
  • Formatting Change: Generated code will no longer apply any fixes by default (previously it would apply the single cascades statements fix). The new formatter does not support applying fixes.
  • Document deduplication behavior for the output of GeneratorForAnnotation.generateForAnnotatedElement.
  • Support all the glob quotes.
  • Require analyzer: '>=6.9.0 <8.0.0'
  • Support the latest package:dart_style
  • LibraryBuilder, PartBuilder, and SharedPartBuilder now take an optional writeDescriptions boolean. When set to false, headers and generator descriptions for the files will not be included in the builder output.
  • Include //dart format width=80 comments in files generated by a LibraryBuilder or PartBuilder and formatted with the default callback.
  • Require Dart 3.6.0
Commits
  • 947a0e2 Support latest analyzer and dart_style, prepare v2 release (#736)
  • 49a96d8 Bump mind SDK to 3.6.0 stable (#734)
  • 9f95ac3 Only add dart format width comment on format (#733)
  • b7b0c7d Bump dart-lang/setup-dart in the github-actions group (#732)
  • 18c17fc Bump the github-actions group with 2 updates (#731)
  • 936fb07 blast_repo fixes (#730)
  • eb98c68 Read libraryImports/libraryExports from the defining unit. (#729)
  • 2bea904 Read parts with the defining compilation unit (#728)
  • da1190d Add dart format width comments (#725)
  • 4b4431f Ignore some deprecated analyzer members (#726)
  • Additional commits viewable in compare view

Updates pub_updater from 0.4.0 to 0.5.0

Release notes

Sourced from pub_updater's releases.

v0.5.0

  • chore: tighten dependencies (#62)
Changelog

Sourced from pub_updater's changelog.

0.5.0

  • chore: tighten dependencies (#62)
Commits

Updates dart_style from 2.3.7 to 3.0.1

Release notes

Sourced from dart_style's releases.

package:dart_style v3.0.1

  • Handle trailing commas in for-loop updaters (#1354).
  • Format || patterns like fallthrough cases in switch expressions (#1602).
  • Handle comments and metadata before variables more gracefully (#1604).
  • Ensure comment formatting is idempotent (#1606).
  • Better indentation of leading comments on property accesses in binary operator operands (#1611).
  • Don't crash on doc comments in local variable declarations (#1621).

package:dart_style v3.0.0

This is a large change. Under the hood, the formatter was almost completely rewritten, with the codebase now containing both the old and new implementations. The old formatter exists to support the older "short" style and the new code implements the new "tall" style.

The formatter uses the language version of the formatted code to determine which style you get. If the language version is 3.6 or lower, the code is formatted with the old style. If 3.7 or later, you get the new tall style. You typically control the language version by setting a min SDK constraint in your package's pubspec.

In addition to the new formatting style, a number of other API and CLI changes are included, some of them breaking:

  • Support project-wide page width configuration. By long request, you can now configure your preferred formatting page width on a project-wide basis. When formatting files, the formatter will look in the file's directory and any surrounding directories for an analysis_options.yaml file. If it finds one, it looks for the following YAML:

    formatter:
      page_width: 123

    If it finds a formatter key containing a map with a page_width key whose value is an integer, then that is the page width that the file is formatted using. Since the formatter will walk the surrounding directories until it finds an analysis_options.yaml file, this can be used to globally set the page width for an entire directory, package, or even collection of packages.

  • Support overriding the page width for a single file. In code formatted using the new tall style, you can use a special marker comment to control the page width that it's formatted using:

... (truncated)

Changelog

Sourced from dart_style's changelog.

3.0.1

  • Handle trailing commas in for-loop updaters (#1354).
  • Format || patterns like fallthrough cases in switch expressions (#1602).
  • Handle comments and metadata before variables more gracefully (#1604).
  • Ensure comment formatting is idempotent (#1606).
  • Better indentation of leading comments on property accesses in binary operator operands (#1611).
  • Don't crash on doc comments in local variable declarations (#1621).

3.0.0

This is a large change. Under the hood, the formatter was almost completely rewritten, with the codebase now containing both the old and new implementations. The old formatter exists to support the older "short" style and the new code implements the new "tall" style.

The formatter uses the language version of the formatted code to determine which style you get. If the language version is 3.6 or lower, the code is formatted with the old style. If 3.7 or later, you get the new tall style. You typically control the language version by setting a min SDK constraint in your package's pubspec.

In addition to the new formatting style, a number of other API and CLI changes are included, some of them breaking:

  • Support project-wide page width configuration. By long request, you can now configure your preferred formatting page width on a project-wide basis. When formatting files, the formatter will look in the file's directory and any surrounding directories for an analysis_options.yaml file. If it finds one, it looks for the following YAML:

    formatter:
      page_width: 123

    If it finds a formatter key containing a map with a page_width key whose value is an integer, then that is the page width that the file is formatted using. Since the formatter will walk the surrounding directories until it finds an analysis_options.yaml file, this can be used to globally set the page width for an entire directory, package, or even collection of packages.

  • Support overriding the page width for a single file. In code formatted using the new tall style, you can use a special marker comment to control the page width that it's formatted using:

... (truncated)

Commits

Updates melos from 6.3.1 to 7.0.0-dev.3

Changelog

Sourced from melos's changelog.

melos - v7.0.0-dev.3

  • FIX: Run examples from own directory (#834). (e4ade765)
  • FIX: fix git dependencies comparison on bootstrap (#659). (c5238cd0)
  • FIX: Fixed versioning for nested version fields (#831). (4def2093)
  • BREAKING FEAT: Remove melos.yaml in favor of the root pubspec.yaml (#832). (ade758c2)

2025-01-07

Changes


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


melos - v7.0.0-dev.2

  • Relaxing file and platform dependency constraints

2025-01-07

Changes


Packages with breaking changes:

  • There are no breaking changes in this release.

Packages with other changes:


melos - v7.0.0-dev.1

  • FIX: Only run pub get in workspace root (#822). (abb1e539)

... (truncated)

Commits
  • af9bf69 chore(release): publish packages
  • e4ade76 fix: Run examples from own directory (#834)
  • ade758c feat!: Remove melos.yaml in favor of the root pubspec.yaml (#832)
  • c5238cd fix: fix git dependencies comparison on bootstrap (#659)
  • 4def209 fix: Fixed versioning for nested version fields (#831)
  • 1e33cb4 chore(release): publish packages (#825)
  • daff03e chore: Relax flutter pinned deps (#824)
  • ba6d7e9 chore(release): publish packages (#823)
  • 85cffb2 chore: Remove accidental publish_to: none (#819)
  • abb1e53 fix: Only run pub get in workspace root (#822)
  • Additional commits viewable in compare view

Updates freezed from 2.5.7 to 2.5.8

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

…yle, melos and freezed

Bumps [json_serializable](https://github.com/google/json_serializable.dart), [source_gen](https://github.com/dart-lang/source_gen), [pub_updater](https://github.com/VeryGoodOpenSource/pub_updater), [dart_style](https://github.com/dart-lang/dart_style), [melos](https://github.com/invertase/melos/tree/main/packages) and [freezed](https://github.com/rrousselGit/freezed). These dependencies needed to be updated together.

Updates `json_serializable` from 6.9.0 to 6.9.3
- [Release notes](https://github.com/google/json_serializable.dart/releases)
- [Commits](google/json_serializable.dart@json_serializable-v6.9.0...json_serializable-v6.9.3)

Updates `source_gen` from 1.5.0 to 2.0.0
- [Release notes](https://github.com/dart-lang/source_gen/releases)
- [Commits](dart-lang/source_gen@source_gen-v1.5.0...source_gen-v2.0.0)

Updates `pub_updater` from 0.4.0 to 0.5.0
- [Release notes](https://github.com/VeryGoodOpenSource/pub_updater/releases)
- [Changelog](https://github.com/VeryGoodOpenSource/pub_updater/blob/main/CHANGELOG.md)
- [Commits](VeryGoodOpenSource/pub_updater@v0.4.0...v0.5.0)

Updates `dart_style` from 2.3.7 to 3.0.1
- [Release notes](https://github.com/dart-lang/dart_style/releases)
- [Changelog](https://github.com/dart-lang/dart_style/blob/main/CHANGELOG.md)
- [Commits](dart-lang/dart_style@v2.3.7...v3.0.1)

Updates `melos` from 6.3.1 to 7.0.0-dev.3
- [Release notes](https://github.com/invertase/melos/releases)
- [Changelog](https://github.com/invertase/melos/blob/main/CHANGELOG.md)
- [Commits](https://github.com/invertase/melos/commits/melos-v7.0.0-dev.3/packages)

Updates `freezed` from 2.5.7 to 2.5.8
- [Commits](rrousselGit/freezed@freezed-v2.5.7...freezed-v2.5.8)

---
updated-dependencies:
- dependency-name: json_serializable
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: source_gen
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: pub_updater
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: dart_style
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: melos
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: freezed
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link

netlify bot commented Jan 14, 2025

Deploy Preview for figmage canceled.

Name Link
🔨 Latest commit 5586173
🔍 Latest deploy log https://app.netlify.com/sites/figmage/deploys/67860da99e1e440008ed007b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants