From 191b52e8219f05d79b0795e2a897d5b40590e7f7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 12:06:02 -0700 Subject: [PATCH] Version Packages (#138) Co-authored-by: github-actions[bot] --- .changeset/beige-grapes-roll.md | 5 -- .changeset/eight-boats-end.md | 28 -------- .changeset/nasty-ducks-stare.md | 5 -- .changeset/odd-llamas-jam.md | 5 -- .changeset/pre.json | 27 -------- .changeset/rich-spies-draw.md | 5 -- .changeset/silent-lions-judge.md | 5 -- .changeset/silver-eagles-prove.md | 21 ------ .changeset/smart-peas-doubt.md | 5 -- .changeset/stupid-berries-invent.md | 5 -- .changeset/weak-cougars-chew.md | 5 -- .changeset/wild-candles-sparkle.md | 5 -- .changeset/yellow-hairs-fetch.md | 5 -- packages/flow-cadut-generator/CHANGELOG.md | 13 ++++ packages/flow-cadut-generator/package.json | 4 +- packages/flow-cadut-plugin-find/CHANGELOG.md | 11 +++- packages/flow-cadut-plugin-find/package.json | 6 +- .../flow-cadut-plugin-flowns/CHANGELOG.md | 11 +++- .../flow-cadut-plugin-flowns/package.json | 6 +- packages/flow-cadut-views/CHANGELOG.md | 11 +++- packages/flow-cadut-views/package.json | 6 +- packages/flow-cadut/CHANGELOG.md | 64 +++++++++++++++++++ packages/flow-cadut/package.json | 2 +- packages/generator-test/package.json | 2 +- 24 files changed, 117 insertions(+), 145 deletions(-) delete mode 100644 .changeset/beige-grapes-roll.md delete mode 100644 .changeset/eight-boats-end.md delete mode 100644 .changeset/nasty-ducks-stare.md delete mode 100644 .changeset/odd-llamas-jam.md delete mode 100644 .changeset/pre.json delete mode 100644 .changeset/rich-spies-draw.md delete mode 100644 .changeset/silent-lions-judge.md delete mode 100644 .changeset/silver-eagles-prove.md delete mode 100644 .changeset/smart-peas-doubt.md delete mode 100644 .changeset/stupid-berries-invent.md delete mode 100644 .changeset/weak-cougars-chew.md delete mode 100644 .changeset/wild-candles-sparkle.md delete mode 100644 .changeset/yellow-hairs-fetch.md diff --git a/.changeset/beige-grapes-roll.md b/.changeset/beige-grapes-roll.md deleted file mode 100644 index 8d2bb02..0000000 --- a/.changeset/beige-grapes-roll.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@onflow/flow-cadut": patch ---- - -Remove residual references to flow-cadut and replace with @onflow/flow-cadut diff --git a/.changeset/eight-boats-end.md b/.changeset/eight-boats-end.md deleted file mode 100644 index dfba10e..0000000 --- a/.changeset/eight-boats-end.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -"@onflow/flow-cadut": minor ---- - -**BREAKING** Bumped @onflow/fcl to 1.1.1-alpha.1 - -Developers should note that `[U]Int*` and `Word*` types are now decoded into strings by @onflow/fcl and no longer implicitly decoded into numbers. This means that these types will need to be explicitly converted to JavaScript Number types if required. - -This potentially affects the following flow-cadut features: - - - `sendTransaction` (where event data is `[U]Int*` or `Word*`) - - `executeScript` (where return value is `[U]Int*` or `Word*`) - - any generated script templates with `[U]Int*` or `Word*` return values - - any generated transaction templates which emit `[U]Int*` or `Word*` event data - -[See more here](https://github.com/onflow/fcl-js/blob/%40onflow/fcl%401.0.3-alpha.1/packages/sdk/CHANGELOG.md#100-alpha0) - -Additionally, passing in Number as value for Int is deprecated and will cease to work in future releases of @onflow/types. Going forward, use String as value for Int. - -This could potentially affect the following functions in the future: - - - `sendTransaction` (where integer arguments are passed) - - `executeScript` (where integer arguments are passed) - - any generated script templates with integer arguments passed - - any generated transaction templates with integer arguments passed - -You can learn more (including a guide on common transition paths) [here](https://github.com/onflow/flow-js-sdk/blob/master/packages/types/WARNINGS.md#0002-[U]Int*-and-Word*-as-Number). - diff --git a/.changeset/nasty-ducks-stare.md b/.changeset/nasty-ducks-stare.md deleted file mode 100644 index ca46c58..0000000 --- a/.changeset/nasty-ducks-stare.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@onflow/flow-cadut": patch ---- - -Strip strings from templates in parser to prevent bugs related to cadence keywords existing in strings diff --git a/.changeset/odd-llamas-jam.md b/.changeset/odd-llamas-jam.md deleted file mode 100644 index 2b6f0fd..0000000 --- a/.changeset/odd-llamas-jam.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@onflow/flow-cadut": patch ---- - -Fix contract parser to properly process contracts, which implements some interface diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index c6914b4..0000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "mode": "exit", - "tag": "alpha", - "initialVersions": { - "@onflow/flow-cadut": "0.1.16-alpha.3", - "dev-test": "1.0.0", - "@onflow/flow-cadut-generator": "0.0.1", - "@onflow/flow-cadut-plugin-find": "0.0.1", - "@onflow/flow-cadut-plugin-flowns": "0.0.1", - "@onflow/flow-cadut-views": "0.0.1", - "generator-test": "1.0.0" - }, - "changesets": [ - "beige-grapes-roll", - "eight-boats-end", - "nasty-ducks-stare", - "odd-llamas-jam", - "rich-spies-draw", - "silent-lions-judge", - "silver-eagles-prove", - "smart-peas-doubt", - "stupid-berries-invent", - "weak-cougars-chew", - "wild-candles-sparkle", - "yellow-hairs-fetch" - ] -} diff --git a/.changeset/rich-spies-draw.md b/.changeset/rich-spies-draw.md deleted file mode 100644 index 2f87d09..0000000 --- a/.changeset/rich-spies-draw.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@onflow/flow-cadut": patch ---- - -Verify that provided domain is valid for provided argument type when mapping path arguments diff --git a/.changeset/silent-lions-judge.md b/.changeset/silent-lions-judge.md deleted file mode 100644 index 33b427f..0000000 --- a/.changeset/silent-lions-judge.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@onflow/flow-cadut": patch ---- - -Fix multiple imports from a single address in one import line diff --git a/.changeset/silver-eagles-prove.md b/.changeset/silver-eagles-prove.md deleted file mode 100644 index b79468c..0000000 --- a/.changeset/silver-eagles-prove.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -"@onflow/flow-cadut": minor ---- - -**BREAKING** `@onflow/flow-cadut` has been converted to a monorepo and partitioned into the following packages: - - - `@onflow/flow-cadut` - - `@onflow/flow-cadut-generator` (previously `@onflow/flow-cadut/generator`) - - `@onflow/flow-cadut-plugin-find` (previously `@onflow/flow-cadut/plugins/find`) - - `@onflow/flow-cadut-plugin-flowns` (previously `@onflow/flow-cadut/plugins/flowns`) - - `@onflow/flow-cadut-views` (previously `@onflow/flow-cadut/views`) - -*Note* - The `@onflow/flow-cadut` generator CLI has also been moved to `@onflow/flow-cadut-generator`. - -In order to use the `flow-generate` command, you must install the generator package via: - -```bash -npm install -D @onflow/flow-cadut-generator -``` - -The generator command may now be used via `npx flow-generate` on the command line. See complete installation instructions [here](/README.md#installation). \ No newline at end of file diff --git a/.changeset/smart-peas-doubt.md b/.changeset/smart-peas-doubt.md deleted file mode 100644 index 7cbd84a..0000000 --- a/.changeset/smart-peas-doubt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@onflow/flow-cadut-generator": minor ---- - -Allow flow-cadut-generator to run in watch mode using -w or --watch flag diff --git a/.changeset/stupid-berries-invent.md b/.changeset/stupid-berries-invent.md deleted file mode 100644 index 363ba3f..0000000 --- a/.changeset/stupid-berries-invent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@onflow/flow-cadut-generator": minor ---- - -Add named exports to index files generated by flow-cadut-generator diff --git a/.changeset/weak-cougars-chew.md b/.changeset/weak-cougars-chew.md deleted file mode 100644 index 84cf314..0000000 --- a/.changeset/weak-cougars-chew.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@onflow/flow-cadut": patch ---- - -Introduce changesets diff --git a/.changeset/wild-candles-sparkle.md b/.changeset/wild-candles-sparkle.md deleted file mode 100644 index 1095228..0000000 --- a/.changeset/wild-candles-sparkle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@onflow/flow-cadut": minor ---- - -Add support for PublicPath/StoragePath/PrivatePath/CapabilityPath arguments diff --git a/.changeset/yellow-hairs-fetch.md b/.changeset/yellow-hairs-fetch.md deleted file mode 100644 index 50321b4..0000000 --- a/.changeset/yellow-hairs-fetch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@onflow/flow-cadut": patch ---- - -Adds support for optional complex types diff --git a/packages/flow-cadut-generator/CHANGELOG.md b/packages/flow-cadut-generator/CHANGELOG.md index e2d4e3d..3d0fe82 100644 --- a/packages/flow-cadut-generator/CHANGELOG.md +++ b/packages/flow-cadut-generator/CHANGELOG.md @@ -1,5 +1,18 @@ # @onflow/flow-cadut-generator +## 0.1.0 + +### Minor Changes + +- [#122](https://github.com/onflow/flow-cadut/pull/122) [`bfb585d`](https://github.com/onflow/flow-cadut/commit/bfb585dfbf1656002c19650b85a1d698acc50d98) Thanks [@jribbink](https://github.com/jribbink)! - Allow flow-cadut-generator to run in watch mode using -w or --watch flag + +* [#111](https://github.com/onflow/flow-cadut/pull/111) [`e4f08c0`](https://github.com/onflow/flow-cadut/commit/e4f08c0da9489756066d6547b2d597f40a0c218f) Thanks [@jribbink](https://github.com/jribbink)! - Add named exports to index files generated by flow-cadut-generator + +### Patch Changes + +- Updated dependencies [[`972b96a`](https://github.com/onflow/flow-cadut/commit/972b96a8b51691215585f011c79d05fd1feff11c), [`477d3df`](https://github.com/onflow/flow-cadut/commit/477d3dfd6cad51de9a15a978e5adfcea9b128e80), [`7c5ee7d`](https://github.com/onflow/flow-cadut/commit/7c5ee7ddb7628a390940070a9afbb60bd6b6a2e0), [`7a09ae7`](https://github.com/onflow/flow-cadut/commit/7a09ae7f63e33b7fc84d6abe6a86cfa30b13d37f), [`663f0fc`](https://github.com/onflow/flow-cadut/commit/663f0fc04194b5d40ed15523d9daa585256f00a2), [`38a2961`](https://github.com/onflow/flow-cadut/commit/38a296178fd35045e46554bb22ae22f21d704724), [`c5d3a23`](https://github.com/onflow/flow-cadut/commit/c5d3a2370034ff6ee6b965d9b261d4547f9ad92f), [`bbad20a`](https://github.com/onflow/flow-cadut/commit/bbad20a1b1cc1cbf990e79e50b4f648bfc463952), [`c901f5a`](https://github.com/onflow/flow-cadut/commit/c901f5a970ab09f501c717317a8ec933df0d93fe), [`8315ee1`](https://github.com/onflow/flow-cadut/commit/8315ee156520bde2b46a78cd77bd5488106665cd)]: + - @onflow/flow-cadut@0.2.0 + ## 0.1.0-alpha.0 ### Minor Changes diff --git a/packages/flow-cadut-generator/package.json b/packages/flow-cadut-generator/package.json index 42125cc..cfdb352 100644 --- a/packages/flow-cadut-generator/package.json +++ b/packages/flow-cadut-generator/package.json @@ -1,7 +1,7 @@ { "name": "@onflow/flow-cadut-generator", "amdName": "flowCadutGenerator", - "version": "0.1.0-alpha.0", + "version": "0.1.0", "author": "Dapper Labs", "license": "Apache-2.0", "main": "dist/generator.js", @@ -30,7 +30,7 @@ }, "dependencies": { "@babel/runtime": "^7.18.6", - "@onflow/flow-cadut": "^0.2.0-alpha.9", + "@onflow/flow-cadut": "^0.2.0", "glob": "^8.0.3", "inquirer": "^8.2.4", "chokidar": "^3.5.3", diff --git a/packages/flow-cadut-plugin-find/CHANGELOG.md b/packages/flow-cadut-plugin-find/CHANGELOG.md index 63a6ffe..2da47df 100644 --- a/packages/flow-cadut-plugin-find/CHANGELOG.md +++ b/packages/flow-cadut-plugin-find/CHANGELOG.md @@ -1,5 +1,12 @@ # @onflow/flow-cadut-find +## 1.0.0 + +### Patch Changes + +- Updated dependencies [[`972b96a`](https://github.com/onflow/flow-cadut/commit/972b96a8b51691215585f011c79d05fd1feff11c), [`477d3df`](https://github.com/onflow/flow-cadut/commit/477d3dfd6cad51de9a15a978e5adfcea9b128e80), [`7c5ee7d`](https://github.com/onflow/flow-cadut/commit/7c5ee7ddb7628a390940070a9afbb60bd6b6a2e0), [`7a09ae7`](https://github.com/onflow/flow-cadut/commit/7a09ae7f63e33b7fc84d6abe6a86cfa30b13d37f), [`663f0fc`](https://github.com/onflow/flow-cadut/commit/663f0fc04194b5d40ed15523d9daa585256f00a2), [`38a2961`](https://github.com/onflow/flow-cadut/commit/38a296178fd35045e46554bb22ae22f21d704724), [`c5d3a23`](https://github.com/onflow/flow-cadut/commit/c5d3a2370034ff6ee6b965d9b261d4547f9ad92f), [`bbad20a`](https://github.com/onflow/flow-cadut/commit/bbad20a1b1cc1cbf990e79e50b4f648bfc463952), [`c901f5a`](https://github.com/onflow/flow-cadut/commit/c901f5a970ab09f501c717317a8ec933df0d93fe), [`8315ee1`](https://github.com/onflow/flow-cadut/commit/8315ee156520bde2b46a78cd77bd5488106665cd)]: + - @onflow/flow-cadut@0.2.0 + ## 0.0.1 ### Major Changes @@ -11,5 +18,5 @@ - `@onflow/flow-cadut-plugin-find` (previously `@onflow/flow-cadut/plugins/find`) - `@onflow/flow-cadut-plugin-flowns` (previously `@onflow/flow-cadut/plugins/flowns`) - `@onflow/flow-cadut-views` (previously `@onflow/flow-cadut/views`) - - For prior changelogs regarding this package, please [see the README](/packages/flow-cadut/CHANGELOG.md) of `@onflow/flow-cadut`. \ No newline at end of file + + For prior changelogs regarding this package, please [see the README](/packages/flow-cadut/CHANGELOG.md) of `@onflow/flow-cadut`. diff --git a/packages/flow-cadut-plugin-find/package.json b/packages/flow-cadut-plugin-find/package.json index 46e6727..dd04589 100644 --- a/packages/flow-cadut-plugin-find/package.json +++ b/packages/flow-cadut-plugin-find/package.json @@ -1,7 +1,7 @@ { "name": "@onflow/flow-cadut-plugin-find", "amdName": "flowCadutPluginFIND", - "version": "0.0.1", + "version": "1.0.0", "description": "FIND address resolver", "author": "Dapper Labs", "license": "Apache-2.0", @@ -17,14 +17,14 @@ "regex": "^_" }, "peerDependencies": { - "@onflow/flow-cadut": "^0.2.0-alpha.7" + "@onflow/flow-cadut": "^0.2.0" }, "dependencies": { "@babel/runtime": "^7.18.6" }, "devDependencies": { "@onflow/fcl-bundle": "^1.1.0", - "@onflow/flow-cadut": "^0.2.0-alpha.7", + "@onflow/flow-cadut": "^0.2.0", "jest": "^28.1.3" } } diff --git a/packages/flow-cadut-plugin-flowns/CHANGELOG.md b/packages/flow-cadut-plugin-flowns/CHANGELOG.md index 08bf63f..772885d 100644 --- a/packages/flow-cadut-plugin-flowns/CHANGELOG.md +++ b/packages/flow-cadut-plugin-flowns/CHANGELOG.md @@ -1,5 +1,12 @@ # @onflow/flow-cadut-flowns +## 1.0.0 + +### Patch Changes + +- Updated dependencies [[`972b96a`](https://github.com/onflow/flow-cadut/commit/972b96a8b51691215585f011c79d05fd1feff11c), [`477d3df`](https://github.com/onflow/flow-cadut/commit/477d3dfd6cad51de9a15a978e5adfcea9b128e80), [`7c5ee7d`](https://github.com/onflow/flow-cadut/commit/7c5ee7ddb7628a390940070a9afbb60bd6b6a2e0), [`7a09ae7`](https://github.com/onflow/flow-cadut/commit/7a09ae7f63e33b7fc84d6abe6a86cfa30b13d37f), [`663f0fc`](https://github.com/onflow/flow-cadut/commit/663f0fc04194b5d40ed15523d9daa585256f00a2), [`38a2961`](https://github.com/onflow/flow-cadut/commit/38a296178fd35045e46554bb22ae22f21d704724), [`c5d3a23`](https://github.com/onflow/flow-cadut/commit/c5d3a2370034ff6ee6b965d9b261d4547f9ad92f), [`bbad20a`](https://github.com/onflow/flow-cadut/commit/bbad20a1b1cc1cbf990e79e50b4f648bfc463952), [`c901f5a`](https://github.com/onflow/flow-cadut/commit/c901f5a970ab09f501c717317a8ec933df0d93fe), [`8315ee1`](https://github.com/onflow/flow-cadut/commit/8315ee156520bde2b46a78cd77bd5488106665cd)]: + - @onflow/flow-cadut@0.2.0 + ## 0.0.1 ### Major Changes @@ -11,5 +18,5 @@ - `@onflow/flow-cadut-plugin-find` (previously `@onflow/flow-cadut/plugins/find`) - `@onflow/flow-cadut-plugin-flowns` (previously `@onflow/flow-cadut/plugins/flowns`) - `@onflow/flow-cadut-views` (previously `@onflow/flow-cadut/views`) - - For prior changelogs regarding this package, please [see the README](/packages/flow-cadut/CHANGELOG.md) of `@onflow/flow-cadut`. \ No newline at end of file + + For prior changelogs regarding this package, please [see the README](/packages/flow-cadut/CHANGELOG.md) of `@onflow/flow-cadut`. diff --git a/packages/flow-cadut-plugin-flowns/package.json b/packages/flow-cadut-plugin-flowns/package.json index 06e922a..3e83d90 100644 --- a/packages/flow-cadut-plugin-flowns/package.json +++ b/packages/flow-cadut-plugin-flowns/package.json @@ -1,7 +1,7 @@ { "name": "@onflow/flow-cadut-plugin-flowns", "amdName": "flowCadutPluginFLOWNS", - "version": "0.0.1", + "version": "1.0.0", "description": "FLOWNS address resolver", "author": "Dapper Labs", "license": "Apache-2.0", @@ -14,14 +14,14 @@ "test": "jest" }, "peerDependencies": { - "@onflow/flow-cadut": "^0.2.0-alpha.7" + "@onflow/flow-cadut": "^0.2.0" }, "dependencies": { "@babel/runtime": "^7.18.6" }, "devDependencies": { "@onflow/fcl-bundle": "^1.1.0", - "@onflow/flow-cadut": "^0.2.0-alpha.7", + "@onflow/flow-cadut": "^0.2.0", "jest": "^28.1.3" } } diff --git a/packages/flow-cadut-views/CHANGELOG.md b/packages/flow-cadut-views/CHANGELOG.md index 9d5e061..d4e09ee 100644 --- a/packages/flow-cadut-views/CHANGELOG.md +++ b/packages/flow-cadut-views/CHANGELOG.md @@ -1,5 +1,12 @@ # @onflow/flow-cadut-views +## 1.0.0 + +### Patch Changes + +- Updated dependencies [[`972b96a`](https://github.com/onflow/flow-cadut/commit/972b96a8b51691215585f011c79d05fd1feff11c), [`477d3df`](https://github.com/onflow/flow-cadut/commit/477d3dfd6cad51de9a15a978e5adfcea9b128e80), [`7c5ee7d`](https://github.com/onflow/flow-cadut/commit/7c5ee7ddb7628a390940070a9afbb60bd6b6a2e0), [`7a09ae7`](https://github.com/onflow/flow-cadut/commit/7a09ae7f63e33b7fc84d6abe6a86cfa30b13d37f), [`663f0fc`](https://github.com/onflow/flow-cadut/commit/663f0fc04194b5d40ed15523d9daa585256f00a2), [`38a2961`](https://github.com/onflow/flow-cadut/commit/38a296178fd35045e46554bb22ae22f21d704724), [`c5d3a23`](https://github.com/onflow/flow-cadut/commit/c5d3a2370034ff6ee6b965d9b261d4547f9ad92f), [`bbad20a`](https://github.com/onflow/flow-cadut/commit/bbad20a1b1cc1cbf990e79e50b4f648bfc463952), [`c901f5a`](https://github.com/onflow/flow-cadut/commit/c901f5a970ab09f501c717317a8ec933df0d93fe), [`8315ee1`](https://github.com/onflow/flow-cadut/commit/8315ee156520bde2b46a78cd77bd5488106665cd)]: + - @onflow/flow-cadut@0.2.0 + ## 0.0.1 ### Major Changes @@ -11,5 +18,5 @@ - `@onflow/flow-cadut-plugin-find` (previously `@onflow/flow-cadut/plugins/find`) - `@onflow/flow-cadut-plugin-flowns` (previously `@onflow/flow-cadut/plugins/flowns`) - `@onflow/flow-cadut-views` (previously `@onflow/flow-cadut/views`) - - For prior changelogs regarding this package, please [see the README](/packages/flow-cadut/CHANGELOG.md) of `@onflow/flow-cadut`. \ No newline at end of file + + For prior changelogs regarding this package, please [see the README](/packages/flow-cadut/CHANGELOG.md) of `@onflow/flow-cadut`. diff --git a/packages/flow-cadut-views/package.json b/packages/flow-cadut-views/package.json index 48bc25e..782ed34 100644 --- a/packages/flow-cadut-views/package.json +++ b/packages/flow-cadut-views/package.json @@ -1,7 +1,7 @@ { "name": "@onflow/flow-cadut-views", "amdName": "flowCadutViews", - "version": "0.0.1", + "version": "1.0.0", "author": "Dapper Labs", "license": "Apache-2.0", "main": "dist/views.js", @@ -16,11 +16,11 @@ "regex": "^_" }, "peerDependencies": { - "@onflow/flow-cadut": "^0.2.0-alpha.7" + "@onflow/flow-cadut": "^0.2.0" }, "devDependencies": { "@onflow/fcl-bundle": "^1.1.0", - "@onflow/flow-cadut": "^0.2.0-alpha.7", + "@onflow/flow-cadut": "^0.2.0", "jest": "^28.1.3" }, "dependencies": { diff --git a/packages/flow-cadut/CHANGELOG.md b/packages/flow-cadut/CHANGELOG.md index d70280f..9cd4c64 100644 --- a/packages/flow-cadut/CHANGELOG.md +++ b/packages/flow-cadut/CHANGELOG.md @@ -1,5 +1,69 @@ # @onflow/flow-cadut +## 0.2.0 + +### Minor Changes + +- [#102](https://github.com/onflow/flow-cadut/pull/102) [`477d3df`](https://github.com/onflow/flow-cadut/commit/477d3dfd6cad51de9a15a978e5adfcea9b128e80) Thanks [@jribbink](https://github.com/jribbink)! - **BREAKING** Bumped @onflow/fcl to 1.1.1-alpha.1 + + Developers should note that `[U]Int*` and `Word*` types are now decoded into strings by @onflow/fcl and no longer implicitly decoded into numbers. This means that these types will need to be explicitly converted to JavaScript Number types if required. + + This potentially affects the following flow-cadut features: + + - `sendTransaction` (where event data is `[U]Int*` or `Word*`) + - `executeScript` (where return value is `[U]Int*` or `Word*`) + - any generated script templates with `[U]Int*` or `Word*` return values + - any generated transaction templates which emit `[U]Int*` or `Word*` event data + + [See more here](https://github.com/onflow/fcl-js/blob/%40onflow/fcl%401.0.3-alpha.1/packages/sdk/CHANGELOG.md#100-alpha0) + + Additionally, passing in Number as value for Int is deprecated and will cease to work in future releases of @onflow/types. Going forward, use String as value for Int. + + This could potentially affect the following functions in the future: + + - `sendTransaction` (where integer arguments are passed) + - `executeScript` (where integer arguments are passed) + - any generated script templates with integer arguments passed + - any generated transaction templates with integer arguments passed + + You can learn more (including a guide on common transition paths) [here](https://github.com/onflow/flow-js-sdk/blob/master/packages/types/WARNINGS.md#0002-[U]Int*-and-Word*-as-Number). + +* [#104](https://github.com/onflow/flow-cadut/pull/104) [`c5d3a23`](https://github.com/onflow/flow-cadut/commit/c5d3a2370034ff6ee6b965d9b261d4547f9ad92f) Thanks [@jribbink](https://github.com/jribbink)! - **BREAKING** `@onflow/flow-cadut` has been converted to a monorepo and partitioned into the following packages: + + - `@onflow/flow-cadut` + - `@onflow/flow-cadut-generator` (previously `@onflow/flow-cadut/generator`) + - `@onflow/flow-cadut-plugin-find` (previously `@onflow/flow-cadut/plugins/find`) + - `@onflow/flow-cadut-plugin-flowns` (previously `@onflow/flow-cadut/plugins/flowns`) + - `@onflow/flow-cadut-views` (previously `@onflow/flow-cadut/views`) + + _Note_ - The `@onflow/flow-cadut` generator CLI has also been moved to `@onflow/flow-cadut-generator`. + + In order to use the `flow-generate` command, you must install the generator package via: + + ```bash + npm install -D @onflow/flow-cadut-generator + ``` + + The generator command may now be used via `npx flow-generate` on the command line. See complete installation instructions [here](/README.md#installation). + +- [#66](https://github.com/onflow/flow-cadut/pull/66) [`c901f5a`](https://github.com/onflow/flow-cadut/commit/c901f5a970ab09f501c717317a8ec933df0d93fe) Thanks [@hotrungnhan](https://github.com/hotrungnhan)! - Add support for PublicPath/StoragePath/PrivatePath/CapabilityPath arguments + +### Patch Changes + +- [#95](https://github.com/onflow/flow-cadut/pull/95) [`972b96a`](https://github.com/onflow/flow-cadut/commit/972b96a8b51691215585f011c79d05fd1feff11c) Thanks [@jribbink](https://github.com/jribbink)! - Remove residual references to flow-cadut and replace with @onflow/flow-cadut + +* [#77](https://github.com/onflow/flow-cadut/pull/77) [`7c5ee7d`](https://github.com/onflow/flow-cadut/commit/7c5ee7ddb7628a390940070a9afbb60bd6b6a2e0) Thanks [@jribbink](https://github.com/jribbink)! - Strip strings from templates in parser to prevent bugs related to cadence keywords existing in strings + +- [#97](https://github.com/onflow/flow-cadut/pull/97) [`7a09ae7`](https://github.com/onflow/flow-cadut/commit/7a09ae7f63e33b7fc84d6abe6a86cfa30b13d37f) Thanks [@MaxStalker](https://github.com/MaxStalker)! - Fix contract parser to properly process contracts, which implements some interface + +* [#107](https://github.com/onflow/flow-cadut/pull/107) [`663f0fc`](https://github.com/onflow/flow-cadut/commit/663f0fc04194b5d40ed15523d9daa585256f00a2) Thanks [@jribbink](https://github.com/jribbink)! - Verify that provided domain is valid for provided argument type when mapping path arguments + +- [`38a2961`](https://github.com/onflow/flow-cadut/commit/38a296178fd35045e46554bb22ae22f21d704724) Thanks [@jribbink](https://github.com/jribbink)! - Fix multiple imports from a single address in one import line + +* [`bbad20a`](https://github.com/onflow/flow-cadut/commit/bbad20a1b1cc1cbf990e79e50b4f648bfc463952) Thanks [@jribbink](https://github.com/jribbink)! - Introduce changesets + +- [#113](https://github.com/onflow/flow-cadut/pull/113) [`8315ee1`](https://github.com/onflow/flow-cadut/commit/8315ee156520bde2b46a78cd77bd5488106665cd) Thanks [@jribbink](https://github.com/jribbink)! - Adds support for optional complex types + ## 0.2.0-alpha.9 ### Patch Changes diff --git a/packages/flow-cadut/package.json b/packages/flow-cadut/package.json index 5f02306..e99a83a 100644 --- a/packages/flow-cadut/package.json +++ b/packages/flow-cadut/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/flow-cadut", - "version": "0.2.0-alpha.9", + "version": "0.2.0", "description": "Flow Cadence Template Utilities", "author": "Dapper Labs", "license": "Apache-2.0", diff --git a/packages/generator-test/package.json b/packages/generator-test/package.json index ba3c29c..208d3b6 100644 --- a/packages/generator-test/package.json +++ b/packages/generator-test/package.json @@ -12,7 +12,7 @@ "license": "ISC", "devDependencies": { "@onflow/fcl": "^0.0.73", - "@onflow/flow-cadut-generator": "^0.1.0-alpha.0", + "@onflow/flow-cadut-generator": "^0.1.0", "elliptic": "^6.5.4", "esm": "^3.2.25", "rlp": "^2.2.6",