Skip to content

Commit 765c068

Browse files
authored
Deprecate builder.dart. (#163)
1 parent d498497 commit 765c068

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## 0.5.9
22

33
* Update the minimum Dart SDK to `1.22.1`.
4+
* Deprecated `builder.dart`: import `source_gen.dart` instead.
45
* Added `TypeChecker`, a high-level API for performing static type checks:
56

67
```dart

lib/builder.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,10 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
/// Import 'source_gen.dart' instead, which exports `GeneratorBuilder` as well.
6+
///
7+
/// Will be removed in _0.6.0_.
8+
@deprecated
9+
library source_gen.builder;
10+
511
export 'src/builder.dart';

0 commit comments

Comments
 (0)