Skip to content

Commit

Permalink
Merge pull request #162 from davidmorgan/release-1-0-0
Browse files Browse the repository at this point in the history
Release 1.0.0.
  • Loading branch information
davidmorgan authored Mar 31, 2017
2 parents 0dc5d06 + 2cf7a74 commit b49e65c
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 34 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Changelog

## 0.5.8
## 1.0.0

- Version bump to 1.0.0. Three minor features are marked as experimental and
may change without a major version increase: BuiltValueToStringHelper,
JsonObject and SerializerPlugin.
- Made toString() output customizable.
- Made the default toString() output use indentation and omit nulls.
- Sort serializers in generated output.
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: 0.5.7
version: 1.0.0
description: >
Benchmark, not for publishing.
authors:
Expand All @@ -12,16 +12,12 @@ environment:
dependencies:
browser: any
built_collection: ^1.0.0
# built_value: ^0.5.7
built_value:
path: ../built_value
built_value: ^1.0.0

dev_dependencies:
build: ^0.7.0
build_runner: ^0.3.0
# built_value_generator: ^0.5.7
built_value_generator:
path: ../built_value_generator
built_value_generator: ^1.0.0
source_gen: '>=0.5.0+03 <0.6.0'
quiver: '>=0.21.0 <0.24.0'
test: any
3 changes: 3 additions & 0 deletions built_value/lib/built_value.dart
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ BuiltValueToStringHelperProvider newBuiltValueToStringHelper =
(String className) => new IndentingBuiltValueToStringHelper(className);

/// Interface for built_value toString() output helpers.
///
/// Note: this is an experimental feature. API may change without a major
/// version increase.
abstract class BuiltValueToStringHelper {
/// Add a field and its value.
void add(String field, Object value);
Expand Down
3 changes: 3 additions & 0 deletions built_value/lib/json_object.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ import 'package:collection/collection.dart';
/// [UnmodifiableMapView] so they won't be modifiable via this object. You
/// must ensure that no updates are made via the original reference, as a
/// copy is not made.
///
/// Note: this is an experimental feature. API may change without a major
/// version increase.
abstract class JsonObject {
/// The value, which may be a bool, a List, a Map, a num or a String.
Object get value;
Expand Down
2 changes: 2 additions & 0 deletions built_value/lib/serializer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ abstract class Serializers {
SerializersBuilder toBuilder();
}

/// Note: this is an experimental feature. API may change without a major
/// version increase.
abstract class SerializerPlugin {
Object beforeSerialize(Object object, FullType specifiedType);

Expand Down
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: 0.5.7
version: 1.0.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: 0.5.7
version: 1.0.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.30.0'
build: ^0.7.0
built_collection: ^1.0.0
# built_value: ^0.5.7
built_value:
path: ../built_value
built_value: ^1.0.0
meta: ^1.0.4
source_gen: '>=0.5.0+03 <0.6.0'
quiver: ^0.23.0
Expand Down
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: 0.5.7
version: 1.0.0
description: >
Just an example, not for publishing.
authors:
Expand All @@ -12,9 +12,7 @@ environment:
dependencies:
browser: ^0.10.0
built_collection: ^1.0.0
# built_value: ^0.5.7
built_value:
path: ../built_value
built_value: ^1.0.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.7.0
build_runner: ^0.3.0
# built_value_generator: ^0.5.7
built_value_generator:
path: ../built_value_generator
built_value_generator: ^1.0.0
source_gen: '>=0.5.0+03 <0.6.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: 0.5.7
version: 1.0.0
description: >
Tests, not for publishing.
authors:
Expand All @@ -12,16 +12,12 @@ environment:
dependencies:
meta: ^1.0.4
built_collection: ^1.0.0
# built_value: ^0.5.7
built_value:
path: ../built_value
built_value: ^1.0.0

dev_dependencies:
build: ^0.7.0
build_runner: ^0.3.0
# built_value_generator: ^0.5.7
built_value_generator:
path: ../built_value_generator
built_value_generator: ^1.0.0
source_gen: '>=0.5.0+03 <0.6.0'
quiver: '>=0.21.0 <0.24.0'
test: any
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: 0.5.7
version: 1.0.0
description: >
Just an example, not for publishing.
authors:
Expand All @@ -12,16 +12,12 @@ environment:
dependencies:
meta: ^1.0.4
built_collection: ^1.0.0
# built_value: ^0.5.7
built_value:
path: ../built_value
built_value: ^1.0.0

dev_dependencies:
build: ^0.7.0
build_runner: ^0.3.0
# built_value_generator: ^0.5.7
built_value_generator:
path: ../built_value_generator
built_value_generator: ^1.0.0
source_gen: '>=0.5.0+03 <0.6.0'
quiver: '>=0.21.0 <0.24.0'
test: any

0 comments on commit b49e65c

Please sign in to comment.