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

build: Bump slang, collection, slang_build_runner, slang_flutter, freezed, sqlite3, build_runner, drift_dev, drift and json_serializable #304

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

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps slang, collection, slang_build_runner, slang_flutter, freezed, sqlite3, build_runner, drift_dev, drift and json_serializable. These dependencies needed to be updated together.
Updates slang from 3.32.0 to 4.4.1

Changelog

Sourced from slang's changelog.

4.4.1

  • fix: @ for required missing (Flutter 1.x.x)
  • fix: null_safety is true by default (as intended in 4.4.0)

4.4.0

  • feat: add Flutter 1.x.x support, build_runner detects this automatically, otherwise set null_safety: false in build.yaml
  • feat: flutter pub run fast_i18n ignores build.yaml files without fast_i18n entry
  • fix: add type hint for _renderedResolvers

4.3.0

  • feat: plural resolvers can now be overwritten
  • fix: make params distinct
  • fix: sort locales correctly (base first, then alphabetically)

4.2.0

  • feat: add pluralization support
  • feat: AppLocale has a new property called flutterLocale
  • feat: new command flutter pub run fast_i18n which is much faster than flutter pub run build_runner build --delete-conflicting-outputs

4.1.1

  • fix: LocaleSettings.setLocaleRaw for locales encoded with underscore _
  • docs: update README

4.1.0

A rebuild is needed: flutter pub run build_runner build.

  • feat: the generated file is now self-contained, it works even if you remove this library!
  • feat: add stats and timestamp to the generated file
  • fix: parse files with underscore only (e.g. strings_en_US)
  • fix: parse files with script tag (e.g. strings_zh-Hant-TW)
  • perf: generate LocaleSettings.supportedLocales statically without library call
  • perf: remove switch call in Translations.of(context).
  • docs: updates in generated file
  • docs: update README

4.0.0

The typed version is now first class.

  • Breaking: setLocale -> setLocaleRaw, setLocaleTyped -> setLocale
  • Breaking: locales -> supportedLocalesRaw
  • Breaking: AppLocale.toLanguageTag -> AppLocale.languageTag
  • Breaking: translation classes are now private by default, you can configure it via translation_class_visibility in build.yaml (in most cases just keep it private!)
  • plain strings are now implemented via getters, edit json -> rebuild i18n -> hot reload works now for faster development

... (truncated)

Commits

Updates collection from 1.19.0 to 1.18.0

Commits
  • d375720dart-lang/collection#285
  • 9c8aae3dart-lang/collection#281
  • 41d266edart-lang/collection#278
  • 98ff5e3dart-lang/collection#277
  • 6cff8ccdart-lang/collection#268
  • fd7ff21dart-lang/collection#269
  • 5981383dart-lang/collection#267
  • 3656d54dart-lang/collection#262
  • d081e29 Change CastError to TypeError, since the former is deprecated. (dart-lang...
  • fe6e8d1dart-lang/collection#256
  • Additional commits viewable in compare view

Updates slang_build_runner from 3.32.0 to 4.4.0

Release notes

Sourced from slang_build_runner's releases.

v4.4.0

  • feat: add (fallback) modifier to fallback entries within a map (#268)
  • fix: empty strings in base translations should not be removed when using fallback_strategy: base_locale_empty_string

v4.3.0

  • feat: simplify file names without namespaces (#267)
  • DEPRECATED: Do not use namespaces in file names when namespaces are disabled: strings_de.json -> de.json
  • DEPRECATED: Always specify the locale in the file name (namespace enabled): strings.json -> strings_en.json, except the locale is specified in the directory name

Note: This might make the files order in your IDE less pleasant if input and output files are in the same directory. You can specify the output directory to a subdirectory to avoid this. For example, output_directory: lib/i18n/gen

v4.2.0

  • feat: automatically sanitize invalid keys (e.g. continue, 123) (#257)
  • fix: do not override locale in L10n format definition

v4.1.0

  • feat: add format config to automatically format generated files (#184)
  • fix: correctly generate with enum_name and class_name different from AppLocale / Translations (#254)

v4.0.0

DateFormat, NumberFormat, and Lazy loading

Format translations with DateFormat and NumberFormat:

Hello {name}, today is {today: yMd}. You have {money: currency(symbol: '€')}.

On web, Deferred loading is used to reduce initial load time.

  • feat: add DateFormat and NumberFormat support (#112)
  • feat: add lazy: true config which is enabled by default (#135)
  • fix: slang analyze should not treat translations as unused if they are used in linked translations (#231)
  • fix: slang analyze should detect missing enums (#234)
  • fix: trim enum keys in compressed format while parsing (e.g. "male, female": "..." to "male,female": "...") (#247)
  • fix: compilation error on web when using large interfaces (#251)
  • fix: correctly transform keys with modifiers when key_case is set (#253)
  • Breaking: Require Dart 3.3 and Flutter 3.19
  • Breaking: setLocale, setLocaleRaw, and useDeviceLocale returns a Future, use -Sync suffix for synchronous calls
  • Breaking: output_format removed, always generates multiple files now
  • Breaking: deprecated functions in LocaleSettings (supportedLocales, supportedLocalesRaw) removed
  • Breaking: defining contexts (enums) is no longer allowed in build.yaml or slang.yaml (deprecated in v3.19.0)
  • Breaking: enums specified in context are no longer transformed into pascal case keeping the original case

You can read the detailed migration guide here.

Commits

Updates slang_flutter from 3.32.0 to 4.4.0

Release notes

Sourced from slang_flutter's releases.

v4.4.0

  • feat: add (fallback) modifier to fallback entries within a map (#268)
  • fix: empty strings in base translations should not be removed when using fallback_strategy: base_locale_empty_string

v4.3.0

  • feat: simplify file names without namespaces (#267)
  • DEPRECATED: Do not use namespaces in file names when namespaces are disabled: strings_de.json -> de.json
  • DEPRECATED: Always specify the locale in the file name (namespace enabled): strings.json -> strings_en.json, except the locale is specified in the directory name

Note: This might make the files order in your IDE less pleasant if input and output files are in the same directory. You can specify the output directory to a subdirectory to avoid this. For example, output_directory: lib/i18n/gen

v4.2.0

  • feat: automatically sanitize invalid keys (e.g. continue, 123) (#257)
  • fix: do not override locale in L10n format definition

v4.1.0

  • feat: add format config to automatically format generated files (#184)
  • fix: correctly generate with enum_name and class_name different from AppLocale / Translations (#254)

v4.0.0

DateFormat, NumberFormat, and Lazy loading

Format translations with DateFormat and NumberFormat:

Hello {name}, today is {today: yMd}. You have {money: currency(symbol: '€')}.

On web, Deferred loading is used to reduce initial load time.

  • feat: add DateFormat and NumberFormat support (#112)
  • feat: add lazy: true config which is enabled by default (#135)
  • fix: slang analyze should not treat translations as unused if they are used in linked translations (#231)
  • fix: slang analyze should detect missing enums (#234)
  • fix: trim enum keys in compressed format while parsing (e.g. "male, female": "..." to "male,female": "...") (#247)
  • fix: compilation error on web when using large interfaces (#251)
  • fix: correctly transform keys with modifiers when key_case is set (#253)
  • Breaking: Require Dart 3.3 and Flutter 3.19
  • Breaking: setLocale, setLocaleRaw, and useDeviceLocale returns a Future, use -Sync suffix for synchronous calls
  • Breaking: output_format removed, always generates multiple files now
  • Breaking: deprecated functions in LocaleSettings (supportedLocales, supportedLocalesRaw) removed
  • Breaking: defining contexts (enums) is no longer allowed in build.yaml or slang.yaml (deprecated in v3.19.0)
  • Breaking: enums specified in context are no longer transformed into pascal case keeping the original case

You can read the detailed migration guide here.

Commits

Updates freezed from 2.5.7 to 2.5.2

Commits

Updates sqlite3 from 2.7.2 to 2.4.7

Commits
  • f9f6f44 Re-compile sqlite3 for CI
  • feac3e2 Merge branch 'dynamicbuffer'
  • e21f161 Changelog entry
  • 0a8e4d6 Avoid copying for writes to memory
  • 5133fdb Support 16KiB page sizes on Android
  • a0032ff Switch to Uint8Buffer.
  • b4890e2 Add a DynamicBuffer for faster VFS implementations.
  • d7cbbe9 Fix extension tests in CI
  • 558a1b5 Link custom extension example
  • 3395710 Expand readme
  • Additional commits viewable in compare view

Updates build_runner from 2.4.14 to 2.4.11

Commits

Updates drift_dev from 2.23.1 to 2.21.2

Commits
  • a4874f3 Backport make-migrations template fix
  • 41ddd91 Prepare patch releases
  • c235f60 Fix incorrect code for nullable type arguments
  • abe93e4 Fix infering result type of fts5 functions
  • 5c2af78 Fix bm25 parameter count lint
  • 6c1edb7 Allow crawling for release docs builds
  • 3c11432 Prepare release
  • d7cc547 Allow using group by on view without join
  • f89a8eb Merge pull request #3278 from simolus3/fix-related-relations-on-manager
  • 9a8def1 Merge branch 'develop' into fix-related-relations-on-manager
  • Additional commits viewable in compare view

Updates drift from 2.23.1 to 2.21.0

Commits
  • 3c11432 Prepare release
  • d7cc547 Allow using group by on view without join
  • f89a8eb Merge pull request #3278 from simolus3/fix-related-relations-on-manager
  • 9a8def1 Merge branch 'develop' into fix-related-relations-on-manager
  • fb71a56 move regression test into tests
  • bd80a46 Devtools extension: Button to clear database
  • 4cadb06 Merge pull request #3250 from simolus3/drift_migrator_tool
  • 2ef6c60 Attempt to fix Flutter CI
  • 04a046d Fix migration tooling test
  • 1d742e0 Add changelog entry
  • Additional commits viewable in compare view

Updates json_serializable from 6.9.0 to 6.8.0

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)

…ezed, sqlite3, build_runner, drift_dev, drift and json_serializable

Bumps [slang](https://github.com/slang-i18n/slang), [collection](https://github.com/dart-lang/core/tree/main/pkgs), [slang_build_runner](https://github.com/slang-i18n/slang), [slang_flutter](https://github.com/slang-i18n/slang), [freezed](https://github.com/rrousselGit/freezed), [sqlite3](https://github.com/simolus3/sqlite3.dart), [build_runner](https://github.com/dart-lang/build), [drift_dev](https://github.com/simolus3/drift), [drift](https://github.com/simolus3/drift) and [json_serializable](https://github.com/google/json_serializable.dart). These dependencies needed to be updated together.

Updates `slang` from 3.32.0 to 4.4.1
- [Release notes](https://github.com/slang-i18n/slang/releases)
- [Changelog](https://github.com/slang-i18n/slang/blob/fast_i18n-v4.4.1/CHANGELOG.md)
- [Commits](https://github.com/slang-i18n/slang/commits/fast_i18n-v4.4.1)

Updates `collection` from 1.19.0 to 1.18.0
- [Release notes](https://github.com/dart-lang/core/releases)
- [Commits](https://github.com/dart-lang/core/commits/collection-v1.18.0/pkgs)

Updates `slang_build_runner` from 3.32.0 to 4.4.0
- [Release notes](https://github.com/slang-i18n/slang/releases)
- [Commits](https://github.com/slang-i18n/slang/commits/v4.4.0)

Updates `slang_flutter` from 3.32.0 to 4.4.0
- [Release notes](https://github.com/slang-i18n/slang/releases)
- [Commits](https://github.com/slang-i18n/slang/commits/v4.4.0)

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

Updates `sqlite3` from 2.7.2 to 2.4.7
- [Release notes](https://github.com/simolus3/sqlite3.dart/releases)
- [Commits](simolus3/sqlite3.dart@sqlite3-2.7.2...sqlite3-2.4.7)

Updates `build_runner` from 2.4.14 to 2.4.11
- [Release notes](https://github.com/dart-lang/build/releases)
- [Commits](dart-lang/build@build_runner-v2.4.14...build_runner-v2.4.11)

Updates `drift_dev` from 2.23.1 to 2.21.2
- [Release notes](https://github.com/simolus3/drift/releases)
- [Commits](simolus3/drift@drift_dev-2.23.1...drift_dev-2.21.2)

Updates `drift` from 2.23.1 to 2.21.0
- [Release notes](https://github.com/simolus3/drift/releases)
- [Commits](simolus3/drift@drift-2.23.1...drift-2.21.0)

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

---
updated-dependencies:
- dependency-name: slang
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: collection
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: slang_build_runner
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: slang_flutter
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: freezed
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: sqlite3
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: build_runner
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: drift_dev
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: drift
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: json_serializable
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the type: build Issues/PRs that affect the build proccess, dependencies... label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: build Issues/PRs that affect the build proccess, dependencies...
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants