Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 74229dc

Browse files
authored
Prepare for 1.0.4. (#112)
1 parent 4f32297 commit 74229dc

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
1+
## 1.0.4
2+
3+
* Added `isInstanceOf` to `ExpressionBuilder`, which performs an `is` check:
4+
5+
```dart
6+
expect(
7+
reference('foo').isInstanceOf(_barType),
8+
equalsSource('foo is Bar'),
9+
);
10+
```
11+
112
## 1.0.3
213

314
* Support latest `pkg/analyzer` and `pkg/func`.
415

516
## 1.0.2
617

7-
* update internals to use newer analyzer API
18+
* Update internals to use newer analyzer API
819

920
## 1.0.1
1021

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: code_builder
2-
version: 1.0.3
2+
version: 1.0.4
33
description: A fluent API for generating Dart code
44
author: Dart Team <[email protected]>
55
homepage: https://github.com/dart-lang/code_builder

0 commit comments

Comments
 (0)