Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 30 additions & 30 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,23 @@ jobs:
- name: mono_repo self validate
run: dart pub global run mono_repo generate --validate
job_002:
name: "analyzer_and_format; Dart 3.8.0; PKGS: _test_yaml, checked_yaml, example, json_annotation, json_serializable; `dart analyze`"
name: "analyzer_and_format; Dart 3.9.0; PKGS: _test_yaml, checked_yaml, example, json_annotation, json_serializable; `dart analyze`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.8.0;packages:_test_yaml-checked_yaml-example-json_annotation-json_serializable;commands:analyze_1"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.9.0;packages:_test_yaml-checked_yaml-example-json_annotation-json_serializable;commands:analyze_1"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:3.8.0;packages:_test_yaml-checked_yaml-example-json_annotation-json_serializable
os:ubuntu-latest;pub-cache-hosted;sdk:3.8.0
os:ubuntu-latest;pub-cache-hosted;sdk:3.9.0;packages:_test_yaml-checked_yaml-example-json_annotation-json_serializable
os:ubuntu-latest;pub-cache-hosted;sdk:3.9.0
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c
with:
sdk: "3.8.0"
sdk: "3.9.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
Expand Down Expand Up @@ -192,23 +192,23 @@ jobs:
if: "always() && steps.json_serializable_pub_upgrade.conclusion == 'success'"
working-directory: json_serializable
job_004:
name: "unit_test; Dart 3.8.0; PKGS: _test_yaml, checked_yaml, example, json_serializable; `dart test`"
name: "unit_test; Dart 3.9.0; PKGS: _test_yaml, checked_yaml, example, json_serializable; `dart test`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.8.0;packages:_test_yaml-checked_yaml-example-json_serializable;commands:test_0"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.9.0;packages:_test_yaml-checked_yaml-example-json_serializable;commands:test_0"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:3.8.0;packages:_test_yaml-checked_yaml-example-json_serializable
os:ubuntu-latest;pub-cache-hosted;sdk:3.8.0
os:ubuntu-latest;pub-cache-hosted;sdk:3.9.0;packages:_test_yaml-checked_yaml-example-json_serializable
os:ubuntu-latest;pub-cache-hosted;sdk:3.9.0
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c
with:
sdk: "3.8.0"
sdk: "3.9.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
Expand Down Expand Up @@ -253,23 +253,23 @@ jobs:
- job_002
- job_003
job_005:
name: "unit_test; Dart 3.8.0; PKG: json_serializable; `dart test --run-skipped -t presubmit-only test/annotation_version_test.dart`"
name: "unit_test; Dart 3.9.0; PKG: json_serializable; `dart test --run-skipped -t presubmit-only test/annotation_version_test.dart`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.8.0;packages:json_serializable;commands:test_3"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.9.0;packages:json_serializable;commands:test_3"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:3.8.0;packages:json_serializable
os:ubuntu-latest;pub-cache-hosted;sdk:3.8.0
os:ubuntu-latest;pub-cache-hosted;sdk:3.9.0;packages:json_serializable
os:ubuntu-latest;pub-cache-hosted;sdk:3.9.0
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c
with:
sdk: "3.8.0"
sdk: "3.9.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
Expand All @@ -287,23 +287,23 @@ jobs:
- job_002
- job_003
job_006:
name: "unit_test; Dart 3.8.0; PKG: json_serializable; `dart test --run-skipped -t presubmit-only test/ensure_build_test.dart`"
name: "unit_test; Dart 3.9.0; PKG: json_serializable; `dart test --run-skipped -t presubmit-only test/ensure_build_test.dart`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.8.0;packages:json_serializable;commands:test_1"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.9.0;packages:json_serializable;commands:test_1"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:3.8.0;packages:json_serializable
os:ubuntu-latest;pub-cache-hosted;sdk:3.8.0
os:ubuntu-latest;pub-cache-hosted;sdk:3.9.0;packages:json_serializable
os:ubuntu-latest;pub-cache-hosted;sdk:3.9.0
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c
with:
sdk: "3.8.0"
sdk: "3.9.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
Expand All @@ -321,23 +321,23 @@ jobs:
- job_002
- job_003
job_007:
name: "unit_test; Dart 3.8.0; PKG: json_serializable; `dart test -p chrome`"
name: "unit_test; Dart 3.9.0; PKG: json_serializable; `dart test -p chrome`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.8.0;packages:json_serializable;commands:test_2"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.9.0;packages:json_serializable;commands:test_2"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:3.8.0;packages:json_serializable
os:ubuntu-latest;pub-cache-hosted;sdk:3.8.0
os:ubuntu-latest;pub-cache-hosted;sdk:3.9.0;packages:json_serializable
os:ubuntu-latest;pub-cache-hosted;sdk:3.9.0
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c
with:
sdk: "3.8.0"
sdk: "3.9.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
Expand Down Expand Up @@ -518,23 +518,23 @@ jobs:
- job_002
- job_003
job_012:
name: "ensure_build; Dart 3.8.0; PKGS: _test_yaml, checked_yaml, example; `dart test --run-skipped -t presubmit-only test/ensure_build_test.dart`"
name: "ensure_build; Dart 3.9.0; PKGS: _test_yaml, checked_yaml, example; `dart test --run-skipped -t presubmit-only test/ensure_build_test.dart`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.8.0;packages:_test_yaml-checked_yaml-example;commands:test_1"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.9.0;packages:_test_yaml-checked_yaml-example;commands:test_1"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:3.8.0;packages:_test_yaml-checked_yaml-example
os:ubuntu-latest;pub-cache-hosted;sdk:3.8.0
os:ubuntu-latest;pub-cache-hosted;sdk:3.9.0;packages:_test_yaml-checked_yaml-example
os:ubuntu-latest;pub-cache-hosted;sdk:3.9.0
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c
with:
sdk: "3.8.0"
sdk: "3.9.0"
- id: checkout
name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
Expand Down
8 changes: 4 additions & 4 deletions _test_yaml/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ name: _test_yaml
publish_to: none

environment:
sdk: ^3.8.0
sdk: ^3.9.0

resolution: workspace

dev_dependencies:
_json_serial_shared_test:
path: ../shared_test
build_runner: ^2.6.0
build_runner: ^2.10.4
build_verify: ^3.0.0
checked_yaml: ^2.0.4
json_annotation: ^4.9.0
json_serializable: ^6.8.0
path: ^1.9.0
test: ^1.25.9
yaml: ^3.1.2
test: ^1.27.0
yaml: ^3.1.3
1 change: 0 additions & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ linter:
rules:
- avoid_private_typedef_functions
- avoid_redundant_argument_values
- avoid_returning_null
- avoid_unused_constructor_parameters
- avoid_void_async
- cancel_subscriptions
Expand Down
3 changes: 2 additions & 1 deletion checked_yaml/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 2.0.5-wip

- Require `yaml: ^3.1.2`
- Require `sdk: ^3.9.0`
- Require `yaml: ^3.1.3`

## 2.0.4

Expand Down
8 changes: 4 additions & 4 deletions checked_yaml/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ topics:
- codegen

environment:
sdk: ^3.8.0
sdk: ^3.9.0

resolution: workspace

dependencies:
json_annotation: ^4.3.0
source_span: ^1.8.0
yaml: ^3.1.2
yaml: ^3.1.3

dev_dependencies:
build_runner: ^2.6.0
build_runner: ^2.10.4
build_verify: ^3.0.0
json_serializable: ^6.0.0
path: ^1.9.0
test: ^1.25.9
test: ^1.27.0
test_process: ^2.0.0
2 changes: 1 addition & 1 deletion example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies:
json_annotation: ^4.9.0

dev_dependencies:
build_runner: ^2.6.0
build_runner: ^2.10.4
json_serializable: ^6.10.0
```

Expand Down
6 changes: 3 additions & 3 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: example
publish_to: none

environment:
sdk: ^3.8.0
sdk: ^3.9.0

resolution: workspace

Expand All @@ -15,7 +15,7 @@ dev_dependencies:
path: ../shared_test

# REQUIRED!
build_runner: ^2.6.0
build_runner: ^2.10.4

# Used by tests. Not required to use `json_serializable`.
build_verify: ^3.0.0
Expand All @@ -25,4 +25,4 @@ dev_dependencies:

# Not required to use `json_serializable`.
path: ^1.9.0
test: ^1.25.9
test: ^1.27.0
2 changes: 1 addition & 1 deletion example/test/readme_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ dependencies:
json_annotation: ^4.9.0

dev_dependencies:
build_runner: ^2.6.0
build_runner: ^2.10.4
json_serializable: ^6.10.0
''';
4 changes: 2 additions & 2 deletions json_annotation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## 4.9.1-wip

- Support `JsonKey` annotation on constructor parameters.
- Require `meta: ^1.15.0`
- Require Dart 3.8
- Require `meta: ^1.16.0`
- Require `sdk: ^3.9.0`

## 4.9.0

Expand Down
4 changes: 2 additions & 2 deletions json_annotation/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ topics:
- codegen

environment:
sdk: ^3.8.0
sdk: ^3.9.0

resolution: workspace

dependencies:
meta: ^1.15.0
meta: ^1.16.0
10 changes: 10 additions & 0 deletions json_serializable/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 6.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`

## 6.11.2

- Allow `run_only_if_triggered` to be specified in `build.yaml` to turn on the
Expand Down
Loading