Skip to content

Commit

Permalink
Release 8.6.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmorgan committed May 22, 2023
1 parent 8eb7b81 commit 7c110d2
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 64 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Changelog

# 8.5.1 (unreleased)
# 8.6.0

- Add support for value types with record fields.
- Add support for value types with record fields. Serialization with records
is not yet supported.
- Fix generator failure due to top level record field.
- Migrate benchmark and examples to null safety.
- Remove pre-null-safe test cases.
Expand Down
12 changes: 3 additions & 9 deletions benchmark/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: benchmark
version: 8.5.0
version: 8.6.0
publish_to: none
description: >
Benchmark, not for publishing.
Expand All @@ -10,17 +10,11 @@ environment:

dependencies:
built_collection: ^5.0.0
built_value: ^8.5.0
built_value: ^8.6.0

dev_dependencies:
build_runner: '>=1.0.0 <3.0.0'
built_value_generator: ^8.5.0
built_value_generator: ^8.6.0
pedantic: ^1.4.0
quiver: '>=0.21.0 <4.0.0'
test: ^1.0.0

dependency_overrides:
built_value:
path: ../built_value
built_value_generator:
path: ../built_value_generator
6 changes: 1 addition & 5 deletions built_value/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: built_value
version: 8.5.0
version: 8.6.0
description: >
Value types with builders, Dart classes as enums, and serialization.
This library is the runtime dependency.
Expand All @@ -19,7 +19,3 @@ dependencies:
dev_dependencies:
pedantic: ^1.4.0
test: ^1.16.0

dependency_overrides:
built_value_generator:
path: ../built_value_generator
8 changes: 2 additions & 6 deletions built_value_generator/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: built_value_generator
version: 8.5.0
version: 8.6.0
description: >
Value types with builders, Dart classes as enums, and serialization.
This library is the dev dependency.
Expand All @@ -17,7 +17,7 @@ dependencies:
build: '>=1.0.0 <3.0.0'
build_config: '>=0.3.1 <2.0.0'
built_collection: ^5.0.0
built_value: '>=8.1.0 <8.6.0'
built_value: '>=8.1.0 <8.7.0'
collection: ^1.15.0
source_gen: '>=0.9.0 <2.0.0'

Expand All @@ -26,7 +26,3 @@ dev_dependencies:
build_runner: '>=1.0.0 <3.0.0'
pedantic: ^1.4.0
test: ^1.0.0

dependency_overrides:
built_value:
path: ../built_value
12 changes: 3 additions & 9 deletions built_value_test/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: built_value_test
version: 8.5.0
version: 8.6.0
description: >
Value types with builders, Dart classes as enums, and serialization.
This library provides test support.
Expand All @@ -14,20 +14,14 @@ environment:
sdk: '>=2.12.0 <4.0.0'

dependencies:
built_value: ^8.5.0
built_value: ^8.6.0
built_collection: ^5.0.0
collection: ^1.0.0
matcher: ^0.12.0
quiver: '>=0.21.0 <4.0.0'

dev_dependencies:
built_value_generator: ^8.5.0
built_value_generator: ^8.6.0
build_runner: '>=1.0.0 <3.0.0'
pedantic: ^1.4.0
test: ^1.0.0

dependency_overrides:
built_value:
path: ../built_value
built_value_generator:
path: ../built_value_generator
12 changes: 3 additions & 9 deletions chat_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: chat_example
version: 8.5.0
version: 8.6.0
publish_to: none
description: >
Just an example, not for publishing.
Expand All @@ -10,7 +10,7 @@ environment:

dependencies:
built_collection: ^5.0.0
built_value: ^8.5.0
built_value: ^8.6.0
shelf: ^1.0.0
shelf_proxy: ^1.0.0
shelf_web_socket: ^1.0.0
Expand All @@ -20,12 +20,6 @@ dev_dependencies:
build_runner: any
build_test: any
build_web_compilers: any
built_value_generator: ^8.5.0
built_value_generator: ^8.6.0
pedantic: ^1.4.0
test: ^1.0.0

dependency_overrides:
built_value:
path: ../built_value
built_value_generator:
path: ../built_value_generator
12 changes: 3 additions & 9 deletions end_to_end_test/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: end_to_end_test
version: 8.5.0
version: 8.6.0
publish_to: none
description: >
Tests, not for publishing.
Expand All @@ -10,19 +10,13 @@ environment:

dependencies:
built_collection: ^5.0.0
built_value: ^8.5.0
built_value: ^8.6.0

dev_dependencies:
build: '>=1.0.0 <3.0.0'
build_runner: '>=1.0.0 <3.0.0'
built_value_generator: ^8.5.0
built_value_generator: ^8.6.0
fixnum: ^1.0.0
pedantic: ^1.4.0
quiver: '>=0.21.0 <4.0.0'
test: ^1.16.0

dependency_overrides:
built_value:
path: ../built_value
built_value_generator:
path: ../built_value_generator
10 changes: 2 additions & 8 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,11 @@ environment:

dependencies:
built_collection: ^5.0.0
built_value: ^8.5.0
built_value: ^8.6.0

dev_dependencies:
build_runner: '>=1.0.0 <3.0.0'
built_value_generator: ^8.5.0
built_value_generator: ^8.6.0
pedantic: ^1.4.0
quiver: '>=0.21.0 <4.0.0'
test: ^1.0.0

dependency_overrides:
built_value:
path: ../built_value
built_value_generator:
path: ../built_value_generator
8 changes: 1 addition & 7 deletions tool/set_version
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ fi

version=$1

for pubspec in \
*/pubspec.yaml \
built_value_generator/tools/analyzer_plugin/pubspec.yaml; do
for pubspec in */pubspec.yaml; do
# Remove any dependency overrides, strip trailing empty lines.
sed -i -n '/dependency_overrides:/q;p' \
"$pubspec"
Expand All @@ -28,8 +26,4 @@ for pubspec in \
sed -i -e \
"s#.*built_value_generator: .*# built_value_generator: ^$version#" \
"$pubspec"

sed -i -e \
"s#.*built_value_analyzer_plugin: .*# built_value_analyzer_plugin: ^$version#" \
"$pubspec"
done

0 comments on commit 7c110d2

Please sign in to comment.