Skip to content

Commit

Permalink
Merge pull request #271 from davidmorgan/release-4-4-0
Browse files Browse the repository at this point in the history
Release 4.4.0.
  • Loading branch information
davidmorgan authored Nov 28, 2017
2 parents b7f27d4 + 522e3a9 commit 218cef4
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 46 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 4.4.0

- New annotation, `BuiltValueField`, for configuring fields. First
setting available is `compare`. Set to `false` to ignore a particular field
for `operator==` and `hashCode`.
- Generator now has a `const` constructor.

## 4.3.4

- Fix for built_collection 2.0.0.
Expand Down
10 changes: 3 additions & 7 deletions benchmark/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: benchmark
version: 4.3.4
version: 4.4.0
description: >
Benchmark, not for publishing.
authors:
Expand All @@ -12,16 +12,12 @@ environment:
dependencies:
browser: any
built_collection: ^2.0.0
# built_value: ^4.3.4
built_value:
path: ../built_value
built_value: ^4.4.0

dev_dependencies:
build: ^0.10.0
build_runner: ^0.4.0
# built_value_generator: ^4.3.4
built_value_generator:
path: ../built_value_generator
built_value_generator: ^4.4.0
source_gen: ^0.7.0
quiver: '>=0.21.0 <0.26.0'
test: any
2 changes: 1 addition & 1 deletion built_value/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: built_value
version: 4.3.4
version: 4.4.0
description: >
Value types with builders, Dart classes as enums, and serialization.
This library is the runtime dependency.
Expand Down
6 changes: 2 additions & 4 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: 4.3.4
version: 4.4.0
description: >
Value types with builders, Dart classes as enums, and serialization.
This library is the dev dependency.
Expand All @@ -14,9 +14,7 @@ dependencies:
analyzer: '>=0.29.0 <0.31.0'
build: ^0.10.0
built_collection: ^2.0.0
# built_value: ^4.3.4
built_value:
path: ../built_value
built_value: ^4.4.0
source_gen: ^0.7.0
quiver: '>=0.21.0 <0.27.0'

Expand Down
10 changes: 3 additions & 7 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: 4.3.4
version: 4.4.0
description: >
Value types with builders, Dart classes as enums, and serialization.
This library provides test support.
Expand All @@ -11,9 +11,7 @@ environment:
sdk: '>=1.8.0 <2.0.0'

dependencies:
# built_value: ^4.3.4
built_value:
path: ../built_value
built_value: ^4.4.0
built_collection: ^2.0.0
collection: ^1.0.0
quiver: '>=0.21.0 <0.27.0'
Expand All @@ -22,7 +20,5 @@ dependencies:
dev_dependencies:
build: ^0.10.0
build_runner: ^0.4.0
# built_value_generator: ^4.3.4
built_value_generator:
path: ../built_value_generator
built_value_generator: ^4.4.0
source_gen: ^0.7.0
10 changes: 3 additions & 7 deletions chat_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: chat_example
version: 4.3.4
version: 4.4.0
description: >
Just an example, not for publishing.
authors:
Expand All @@ -12,9 +12,7 @@ environment:
dependencies:
browser: ^0.10.0
built_collection: ^2.0.0
# built_value: ^4.3.4
built_value:
path: ../built_value
built_value: ^4.4.0
shelf: ^0.6.0
shelf_proxy: ^0.1.0
shelf_web_socket: ^0.2.1
Expand All @@ -23,8 +21,6 @@ dependencies:
dev_dependencies:
build: ^0.10.0
build_runner: ^0.4.0
# built_value_generator: ^4.3.4
built_value_generator:
path: ../built_value_generator
built_value_generator: ^4.4.0
source_gen: ^0.7.0
test: any
10 changes: 3 additions & 7 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: 4.3.4
version: 4.4.0
description: >
Tests, not for publishing.
authors:
Expand All @@ -11,16 +11,12 @@ environment:

dependencies:
built_collection: ^2.0.0
# built_value: ^4.3.4
built_value:
path: ../built_value
built_value: ^4.4.0

dev_dependencies:
build: ^0.10.0
build_runner: ^0.4.0
# built_value_generator: ^4.3.4
built_value_generator:
path: ../built_value_generator
built_value_generator: ^4.4.0
fixnum: ^0.10.0
source_gen: ^0.7.0
quiver: '>=0.21.0 <0.26.0'
Expand Down
4 changes: 1 addition & 3 deletions end_to_end_test/test/to_string_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ void main() {
test('omits nulls', () {
final value = new CompoundValue((b) => b..simpleValue.anInt = 1);

expect(
value.toString(),
'''CompoundValue {
expect(value.toString(), '''CompoundValue {
simpleValue=SimpleValue {
anInt=1,
},
Expand Down
4 changes: 1 addition & 3 deletions end_to_end_test/test/values_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,7 @@ void main() {
final value1 = new SimpleValue((b) => b
..anInt = 0
..aString = '');
expect(
value1.toString(),
'''SimpleValue {
expect(value1.toString(), '''SimpleValue {
anInt=0,
aString=,
}''');
Expand Down
10 changes: 3 additions & 7 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: example
version: 4.3.4
version: 4.4.0
description: >
Just an example, not for publishing.
authors:
Expand All @@ -12,16 +12,12 @@ environment:
dependencies:
meta: ^1.0.4
built_collection: ^2.0.0
# built_value: ^4.3.4
built_value:
path: ../built_value
built_value: ^4.4.0

dev_dependencies:
build: ^0.10.0
build_runner: ^0.4.0
# built_value_generator: ^4.3.4
built_value_generator:
path: ../built_value_generator
built_value_generator: ^4.4.0
source_gen: ^0.7.0
quiver: '>=0.21.0 <0.26.0'
test: any

0 comments on commit 218cef4

Please sign in to comment.