Skip to content

Commit

Permalink
Merge pull request #8 from fujidaiti/v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fujidaiti authored Jul 24, 2023
2 parents 7d440e9 + 51c7995 commit 92056e4
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
6 changes: 6 additions & 0 deletions embed/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## 1.1.0

- New feature: pattern matching (#4)
- New feature: preprocessing
- Improved error messages

## 1.0.0

Initial release.
3 changes: 2 additions & 1 deletion embed/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ int main(void) {
- [How to use](#how-to-use)
- [Embed a text content as a string literal](#embed-a-text-content-as-a-string-literal)
- [Embed a structured data as a Dart object](#embed-a-structured-data-as-a-dart-object)
- [Preprocessing](#preprocessing)
- [How is the data type determined?](#how-is-the-data-type-determined)
- [How to restrict the structure of data to be embedded?](#how-to-restrict-the-structure-of-data-to-be-embedded)
- [Troubleshooting Guide](#troubleshooting-guide)
Expand Down Expand Up @@ -366,7 +367,7 @@ Then, the build_runner will generates the following:

```dart
const _$pubspec = (name: "ExampleApp", publishTo: "none");
const _$pubspecMap = {"name": "ExampleApp", "publishTo": "none"};
const _$pubspecMap = {"name": "ExampleApp", "publishTo": "none", "version": ... };
```

<br/>
Expand Down
4 changes: 2 additions & 2 deletions embed/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: embed
description: Code generation for embedding arbitrary file content into Dart code.
version: 1.0.0
version: 1.1.0
repository: https://github.com/fujidaiti/embed.dart.git

environment:
sdk: ">=3.0.5 <4.0.0"

dependencies:
analyzer: ">=5.2.0 <7.0.0"
embed_annotation: ^1.0.0
embed_annotation: ^1.1.0
build: ^2.4.1
source_gen: ^1.4.0
path: ^1.8.3
Expand Down
4 changes: 4 additions & 0 deletions embed_annotation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 1.1.0

- Added new classes for preprocessing

## 1.0.0

Initial release.
2 changes: 1 addition & 1 deletion embed_annotation/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: embed_annotation
description: A package exposing annotations for embed.
version: 1.0.0
version: 1.1.0
repository: https://github.com/fujidaiti/embed.dart.git

environment:
Expand Down

0 comments on commit 92056e4

Please sign in to comment.