From 622e02b98113261af8f6368c99930cb540ca5b8f Mon Sep 17 00:00:00 2001 From: fujidaiti Date: Mon, 24 Jul 2023 14:51:19 +0900 Subject: [PATCH 1/4] fix: table of contents --- embed/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/embed/README.md b/embed/README.md index 99ff95f..690d5fd 100644 --- a/embed/README.md +++ b/embed/README.md @@ -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) From eed1e2c24c367c5ebba0c9eac08aa9a7a8ee6a5d Mon Sep 17 00:00:00 2001 From: fujidaiti Date: Mon, 24 Jul 2023 14:59:37 +0900 Subject: [PATCH 2/4] fix: incorrect example --- embed/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embed/README.md b/embed/README.md index 690d5fd..2d21fa8 100644 --- a/embed/README.md +++ b/embed/README.md @@ -367,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": ... }; ```
From ca08f398a4c7d6bb11285f9ef0c510dce0b79668 Mon Sep 17 00:00:00 2001 From: fujidaiti Date: Mon, 24 Jul 2023 15:00:59 +0900 Subject: [PATCH 3/4] upgrade: v1.1.0 --- embed/CHANGELOG.md | 6 ++++++ embed/pubspec.yaml | 2 +- embed_annotation/CHANGELOG.md | 4 ++++ embed_annotation/pubspec.yaml | 2 +- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/embed/CHANGELOG.md b/embed/CHANGELOG.md index 385b843..9da3604 100644 --- a/embed/CHANGELOG.md +++ b/embed/CHANGELOG.md @@ -1,5 +1,11 @@ # CHANGELOG +## 1.1.0 + +- New feature: pattern matching (#4) +- New feature: preprocessing +- Improved error messages + ## 1.0.0 Initial release. diff --git a/embed/pubspec.yaml b/embed/pubspec.yaml index 525cbe4..aecab2c 100644 --- a/embed/pubspec.yaml +++ b/embed/pubspec.yaml @@ -1,6 +1,6 @@ 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: diff --git a/embed_annotation/CHANGELOG.md b/embed_annotation/CHANGELOG.md index 385b843..8b374ed 100644 --- a/embed_annotation/CHANGELOG.md +++ b/embed_annotation/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 1.1.0 + +- Added new classes for preprocessing + ## 1.0.0 Initial release. diff --git a/embed_annotation/pubspec.yaml b/embed_annotation/pubspec.yaml index 6da4995..c63d6bc 100644 --- a/embed_annotation/pubspec.yaml +++ b/embed_annotation/pubspec.yaml @@ -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: From 51c79959982773c2fd15e41626ba799483774669 Mon Sep 17 00:00:00 2001 From: fujidaiti Date: Mon, 24 Jul 2023 15:02:57 +0900 Subject: [PATCH 4/4] chore: Upgrade depended annotation package --- embed/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embed/pubspec.yaml b/embed/pubspec.yaml index aecab2c..c5b23cc 100644 --- a/embed/pubspec.yaml +++ b/embed/pubspec.yaml @@ -8,7 +8,7 @@ environment: 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