From 1c12d55482b2f9000204d8a7364016e8d1bb1610 Mon Sep 17 00:00:00 2001 From: Yohe-Am <56622350+Yohe-Am@users.noreply.github.com> Date: Sun, 10 Nov 2024 16:29:17 +0000 Subject: [PATCH] chore(release): prepare for 0.5.0-rc.6 --- CHANGELOG.md | 4021 ++++++++--------- Cargo.lock | 18 +- Cargo.toml | 2 +- examples/templates/deno/api/example.ts | 6 +- examples/templates/deno/compose.yml | 2 +- examples/templates/node/compose.yml | 2 +- examples/templates/node/package.json | 2 +- examples/templates/python/compose.yml | 2 +- examples/templates/python/pyproject.toml | 4 +- pyproject.toml | 2 +- src/meta-lsp/package.json | 2 +- src/meta-lsp/ts-language-server/package.json | 2 +- .../vscode-metatype-support/package.json | 2 +- src/pyrt_wit_wire/pyproject.toml | 2 +- src/typegate/src/runtimes/wit_wire/mod.ts | 2 +- src/typegraph/core/Cargo.toml | 2 +- src/typegraph/core/src/global_store.rs | 2 +- src/typegraph/deno/deno.json | 2 +- src/typegraph/python/pyproject.toml | 2 +- src/typegraph/python/typegraph/__init__.py | 2 +- src/xtask/Cargo.toml | 2 +- .../__snapshots__/metagen_test.ts.snap | 4 +- tests/runtimes/wasm_reflected/rust/Cargo.toml | 2 +- tools/consts.ts | 4 +- 24 files changed, 2040 insertions(+), 2053 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3effa087f..7fd479dd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,25 +2,65 @@ All notable changes to this project will be documented in this file. -## [v0.5.0-rc.1](https://github.com/metatypedev/metatype/releases/tag/v0.5.0-rc.1) - 2024-10-22 +## [v0.5.0-rc.5](https://github.com/metatypedev/metatype/releases/tag/v0.5.0-rc.5) - 2024-11-10 ### Bug Fixes
-(ci) Disable sccache when secrets not avail (#874) +Meta dev does not exit properly upon `SIGTERM` (#895) -- Makes sccache optional so PRs from dependabot and forks can still run -the test suite. -- Increases sccache allotment to 50g. - ---------- +#### Migration notes + +None + +- [x] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change
-(cli) Change default installation directory (#873) +Fix optional field filter in apply (#909) + + + + + + +- Fix the optional field filter on apply: resolve types before matching. + + + + + + + +#### Migration notes +_No migrations needed._ + +--- + +- [x] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change + +
+ + +### Documentation + +
+ +Grpc annoucement blog (#872) -- Remplacement PR for #843. +- -- ... +- @@ -48,38 +88,102 @@ readable changelog. - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change - ---------- +- [ ] End-user documentation is updated to reflect the change
+ + +### Features +
-(docs) Grpc docs (#852) +(cli) Watch artifacts (#897) - + +- ... + + + +#### Migration notes + +--- + +- [x] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change + +
+
+ +Substantial function secrets support (#908) + + +- Add support for passing secrets to substantial workflows +- Bump version to 0.5.0-rc5 -Having a good title and description is important for the users to get -readable changelog. ---> +--- - +- [x] The change comes with new or modified tests + +
+ + +### Miscellaneous Tasks + +
+ +License change to MPL Version 2.0 (#899) + - BREAKING: license change to MPL Version 2.0 (#899) + + +#### Migration notes -- +All license headers has changed to MPL 2.0. + +- [x] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change + +--------- + +
+ + +## [v0.5.0-rc.4](https://github.com/metatypedev/metatype/releases/tag/v0.5.0-rc.4) - 2024-11-05 + +### Bug Fixes + +
+ +(typegraph) Send rpc message in chunks in the TS typegraph client (#904) + + +- Send the JSON-RPC message is chunks in the TypeScript typegraph client +to prevent reaching the line size limit for stdout. Note: we could not +reproduce the issue locally as it only occurs when using the published +package for Node.js. +- Use JSON-RPC notification for logging and report from the typegraph +clients. +- Other changes: + - Use relative paths for static task sources in the CLI; +- Fix TODO in `meta gen`: pass the working directory on the +`working_dir` param of `SerializeActionGenerator::new`. -- + #### Migration notes +_N/A_ -... +--- - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments @@ -88,81 +192,86 @@ readable changelog.
-(gate) Make __typename returns the variant name on unions (#838) +Speculative fix for `typegate_prisma_test.ts` (#898) - - - - -- Add missing implementation for static injection for parameter -transformations on the typegate -- Solves -[MET-642](https://linear.app/metatypedev/issue/MET-642/gate-typename-on-union-selections-should-hold-member-title): -Fix the `__typename` result on union variants: return the variant name -instead of the parent type name - - +- Assigns special schemas for each test that relies on the +`runtimes/prisma/prisma.py` typegraph. +- Bumps version tag to 0.5.0-rc4 +- Fixes issues in release pipeline +- Disables all but the `test-full` job when the test pipeline is run +with tmate enabled. +The flakeout of `typegate_prisma_test.ts` has proved difficult to +recreate. Looking at the code and going from recent similar cases, I +suspect it happens due to the old code reusing the same pg schema for +multiple tests. Assigning special schemas for each tests should +hopefully help. - - #### Migration notes N/A -#### Checklist +--- - [x] The change comes with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments + +--------- + +
+ + +## [v0.5.0-rc.3](https://github.com/metatypedev/metatype/releases/tag/v0.5.0-rc.3) - 2024-10-30 + +### Bug Fixes + +
+ +Update license file (#890) + + +# PR Summary +Commit d84e4ed6c3f88d52c95f1491a050daa924e14b87 moved the +`LICENSE-MPL-2.0.md` file. This PR adjusts sources to changes. + +#### Migration notes + +- [ ] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change
-(subs) Key collision on redis (#865) +Minor bug fixes (#894) -Follow up of #863 -When multiple start occurs for redis, some schedules can happen -**exactly** at the same time resulting into the same identifier (and -leading to an inconsistent state). - -This solution simply combines the `schedule` with the run_id making it -unique instead of using it as is. - -```gql -mutation AllAtOnce { - a: start_retry(kwargs: { .. }) # => calls add_schedule( ... date ...) - b: start_retry(kwargs: { .. }) - c: start_retry(kwargs: { .. }) - d: start_retry(kwargs: { .. }) - e: start_retry(kwargs: { .. }) - f: start_retry(kwargs: { .. }) - # .. -} -``` +- Bug with typegraph context reset around deno_modules +- Bug with typegate onPush hook error detection and typegraph parsing of +such errors +- Bug with artifact resolution when they're reused. +- Bug with return type of the KvRuntime get functions +- Bumps metatype to 0.5.0-rc.3 #### Migration notes -None +N/A -- [ ] The change comes with new or modified tests +--- + +- [x] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change
+ + +### Documentation +
-Fix missing images (#847) +Add substantial (#891) -## Fix missing images for `durable execution` blog +- docs -- +- N/A -#### Migration notes +#### Migration -... +N/A - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change
+ + +## [v0.5.0-rc.2](https://github.com/metatypedev/metatype/releases/tag/v0.5.0-rc.2) - 2024-10-24 + +### Bug Fixes +
-Improve name generation for prisma types (#849) +Fix `.apply` serialization error with optional structs (#886) -Solve -[MET-657](https://linear.app/metatypedev/issue/MET-657/sdk-improve-generated-titles-for-prisma-types) +- Fix the error on `.apply` when the apply tree goes beyond an optional +struct, mostly changing the implementation of `resolve_optional` method. +- Improve the errors when we encounter an exception raise by +`Result::Err` from typegraph_core. @@ -222,109 +339,69 @@ Solve ... -- [ ] The change comes with new or modified tests +- [x] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change
-### Documentation +### Features
-(blog) Running python with WebAssembly part 1 (#823) +Add GraphQL alias support for prisma runtime (#887) -Running python with webassembly (part 1) - -#### Migration notes - -None + + - -## Summary by CodeRabbit +- Add GraphQL alias support for prisma runtime -## Summary by CodeRabbit + -- **New Features** -- Introduced a comprehensive guide for integrating Python runtime with -WebAssembly (WASI) in the Metatype ecosystem. -- Detailed the advantages of using WebAssembly over Docker for platform -independence and resource management. -- Provided technical requirements and a refined solution for executing -Python scripts in a sandboxed environment. -- Expanded vocabulary with new relevant terms for enhanced text -processing and validation. -- **Documentation** -- Updated YAML configuration structure in documentation for clarity on -type gate usage. - ---------- - -
-
- -`/docs/reference/typegraph/client` (#777) - - -Pre-documentation for the code-first queries feature. + #### Migration notes ... -- [ ] The change comes with new or modified tests +- [x] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change
-### Features +## [v0.5.0-rc.1](https://github.com/metatypedev/metatype/releases/tag/v0.5.0-rc.1) - 2024-10-22 + +### Bug Fixes
-(dev) Typegraph explorer (#859) - - -- Add a web version of tree-view which is more interactive -- Enable typegraph serialization without `metatype.yml` config file - - -![image](https://github.com/user-attachments/assets/81771c07-1f2a-493a-81df-969c8182f9bf) - -
-
- -(gate) Empty object as custom scalar (#876) +(ci) Disable sccache when secrets not avail (#874) -* Allow empty object on the output without any change -* Just like `Int`, `String`, and such, rightfully refer the constant -`{}` as a scalar -* **Any** empty object will now be refered as `EmptyObject` scalar - -#### Migration notes - -None +- Makes sccache optional so PRs from dependabot and forks can still run +the test suite. +- Increases sccache allotment to 50g. -- [x] The change comes with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change +---------
-(mdk) Overridable templates (#842) +(cli) Change default installation directory (#873) -Solve -[MET-630](https://linear.app/metatypedev/issue/MET-630/gen-add-parameter-to-replace-static-sections) -- [x] Make templates in the _static_ sections overridable - - [x] `mdk_rust` - - [x] `mdk_python` - - [x] `mdk_typescript` -- [x] Add a CLI tool to generate extract the default template +- Remplacement PR for #843. + + +- ... #### Migration notes -No changes needed. - ---- +... -- [x] The change comes with new or modified tests +- [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change +- [ ] End-user documentation is updated to reflect the change + +---------
-(metagen) Union/either for clients (#857) +(docs) Grpc docs (#852) -- Add union support for the `client_xx` metagen implementations. - -There are still some edge cases especially around variant identification -in the client languages. I tried many things but our hands are tied by -serde. Basically, users will have to be careful when designing their -union types to avoid ambiguity cases. Hopefully, -[674](https://linear.app/metatypedev/issue/MET-674/graph-checksvalidation-on-teither) -will help there. + -... + -- [x] The change comes with new or modified tests -- [x] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change +- + - +- -## Summary by CodeRabbit + -- **New Features** -- Introduced new methods for rendering union types in both TypeScript -and Python. -- Enhanced GraphQL query generation with support for multiple union -types. -- Added a new `variants` property to the `NodeMeta` type for improved -selection handling. - -- **Bug Fixes** - - Improved error handling for node selections and argument processing. +#### Migration notes -- **Tests** -- Updated test cases to reflect schema changes and added new tests for -client functionality. +... - +- [ ] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change
-(subs) Redis backend (#855) +(gate) Make __typename returns the variant name on unions (#838) -* Redis Backend base logic port + some improvements -* Moved `SUBSTANTIAL_POLL_INTERVAL_SEC` and -`SUBSTANTIAL_LEASE_LIFESPAN_SEC` to config + -- [x] The change comes with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments -- [x] End-user documentation is updated to reflect the change + +- Add missing implementation for static injection for parameter +transformations on the typegate +- Solves +[MET-642](https://linear.app/metatypedev/issue/MET-642/gate-typename-on-union-selections-should-hold-member-title): +Fix the `__typename` result on union variants: return the variant name +instead of the parent type name - + -## Summary by CodeRabbit -## Release Notes -- **New Features** -- Introduced Redis as a new backend option for enhanced data management. - - Added Docker Compose configuration for a Redis service. -- Implemented comprehensive testing for Redis functionality and backend -integration. + -- **Bug Fixes** - - Improved error handling during backend initialization. +#### Migration notes -- **Documentation** -- Updated type definitions for backend configurations to streamline -Redis integration. +N/A -- **Chores** -- Refactored test cases for clarity and consistency across different -backend types. +#### Checklist - +- [x] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change
-(subs) Retry + timeout on save (#863) +(subs) Key collision on redis (#865) -Port and improve retry/timeout. +Follow up of #863 +When multiple start occurs for redis, some schedules can happen +**exactly** at the same time resulting into the same identifier (and +leading to an inconsistent state). + +This solution simply combines the `schedule` with the run_id making it +unique instead of using it as is. + +```gql +mutation AllAtOnce { + a: start_retry(kwargs: { .. }) # => calls add_schedule( ... date ...) + b: start_retry(kwargs: { .. }) + c: start_retry(kwargs: { .. }) + d: start_retry(kwargs: { .. }) + e: start_retry(kwargs: { .. }) + f: start_retry(kwargs: { .. }) + # .. +} +``` #### Migration notes -N/A +None - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments @@ -472,71 +543,40 @@ N/A
-(subs) Child workflows + docs (#867) +Fix missing images (#847) -Support for child workflows. + -#### Migration notes + -Previously -```python - sub = SubstantialRuntime(backend) - hello = sub.deno(file="workflow.ts", name="sayHello", deps=[]) +## Fix missing images for `durable execution` blog - g.expose( - # each function start, stop, result, ... holds a copy of the workflow data - start_hello = hello.start(...), - stop_hello = hello.stop() - ) -``` -This approach relied on workflow files being referenced in each -materializer, but the constructs were too restrictive to support -something like `mutation { results(name: "nameManuallyGiven") }`. + -We now have instead -```python - file = ( - WorkflowFile - .deno(file="workflow.ts", deps=[]) - .import_(["sayHello"]) - .build() - ) +- - # workflow data are refered only once - sub = SubstantialRuntime(backend, [file]) - g.expose( - start_hello = sub.start(...).reduce({ "name": "sayHello" }), - stop = sub.stop() - ) -``` + -- [x] The change comes with new or modified tests +#### Migration notes + +... + +- [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change
-(subs,gate) Substantial integration (#844) - - - - -
-
- -(subs,gate) Port agent concept (#845) - - -Continuation of #844 - -
-
- -Well-defined type comparison semantics (#846) +Improve name generation for prisma types (#849) Solve -[MET-655](https://linear.app/metatypedev/issue/MET-655/sdk-improve-the-ensuresubtypeof-implementation) -- [x] Document the type comparison semantics -- [x] Improve the implementation (`EnsureSubtypeOf` trait) -- [x] Add more test cases for type comparisons +[MET-657](https://linear.app/metatypedev/issue/MET-657/sdk-improve-generated-titles-for-prisma-types) @@ -564,86 +601,63 @@ Solve #### Migration notes -_No change is needed._ - ... -- [x] The change comes with new or modified tests +- [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change - - - - -## Summary by CodeRabbit - -## Release Notes - -- **New Features** -- Introduced comprehensive type comparison rules and semantics for -scalar types, optionals, lists, objects, and unions. -- Added support for enumerated types in the type system, allowing for -more precise type definitions. -- Enhanced parent injection mechanism documentation to clarify type -compatibility requirements. -- Implemented a new suite of type comparison tests and validation -mechanisms. - -- **Bug Fixes** -- Improved error reporting and handling in the type validation process. - -- **Documentation** -- Updated and expanded documentation for type comparisons, enumerations, -and parent injections. - -- **Tests** - - Added new tests for type comparison and validation scenarios. - - +- [ ] End-user documentation is updated to reflect the change
+ + +### Documentation +
-Grpc runtime (#819) +(blog) Running python with WebAssembly part 1 (#823) +Running python with webassembly (part 1) + #### Migration notes -... +None -- [x] The change comes with new or modified tests -- [X] End-user documentation is updated to reflect the change +- [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments +- [x] End-user documentation is updated to reflect the change + + + +## Summary by CodeRabbit + +## Summary by CodeRabbit + +- **New Features** +- Introduced a comprehensive guide for integrating Python runtime with +WebAssembly (WASI) in the Metatype ecosystem. +- Detailed the advantages of using WebAssembly over Docker for platform +independence and resource management. +- Provided technical requirements and a refined solution for executing +Python scripts in a sandboxed environment. +- Expanded vocabulary with new relevant terms for enhanced text +processing and validation. + +- **Documentation** +- Updated YAML configuration structure in documentation for clarity on +type gate usage. + ---------
-Python hostcall (#860) +`/docs/reference/typegraph/client` (#777) -Dead lock on python worker - - - - - -- - - - -- - - +Pre-documentation for the code-first queries feature. #### Migration notes @@ -656,53 +670,42 @@ readable changelog.
-### Miscellaneous Tasks +### Features -
+
-Checks/validation on t.either (#868) - - BREAKING: Checks/validation on t.either (#868) +(dev) Typegraph explorer (#859) -Emit a warning or an error when a variant is a subtype of another one. +- Add a web version of tree-view which is more interactive +- Enable typegraph serialization without `metatype.yml` config file -#### Migration notes -**BREAKING CHANGE**: Previously valid typegraph might fail validation. -You will need to fix your types to add some consistency in -`t.either`/`t.union` types. -- [x] The change comes with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change +![image](https://github.com/user-attachments/assets/81771c07-1f2a-493a-81df-969c8182f9bf)
-Update prisma + deno + rust deps (#869) +(gate) Empty object as custom scalar (#876) -- Bump deno to 1.46.3 -- Update prisma-engines to 5.20 -- Update other rust deps. - -Closes MET-669 and MET-622 and MET-680. +* Allow empty object on the output without any change +* Just like `Int`, `String`, and such, rightfully refer the constant +`{}` as a scalar +* **Any** empty object will now be refered as `EmptyObject` scalar #### Migration notes -... +None -- [ ] The change comes with new or modified tests +- [x] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change
- - -### Refactor -
-(gate) Add err msg for missing env vars (#827) +(mdk) Overridable templates (#842) -- - - +Solve +[MET-630](https://linear.app/metatypedev/issue/MET-630/gen-add-parameter-to-replace-static-sections) +- [x] Make templates in the _static_ sections overridable + - [x] `mdk_rust` + - [x] `mdk_python` + - [x] `mdk_typescript` +- [x] Add a CLI tool to generate extract the default template -- #### Migration notes -... +No changes needed. -- [ ] The change comes with new or modified tests +--- + +- [x] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change
-(gate) Use stream during artifact upload to s3 (#841) +(metagen) Union/either for clients (#857) - +There are still some edge cases especially around variant identification +in the client languages. I tried many things but our hands are tied by +serde. Basically, users will have to be careful when designing their +union types to avoid ambiguity cases. Hopefully, +[674](https://linear.app/metatypedev/issue/MET-674/graph-checksvalidation-on-teither) +will help there. - +#### Migration notes -- +... - +- [x] The change comes with new or modified tests +- [x] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change -- - + -#### Migration notes +## Summary by CodeRabbit -... +- **New Features** +- Introduced new methods for rendering union types in both TypeScript +and Python. +- Enhanced GraphQL query generation with support for multiple union +types. +- Added a new `variants` property to the `NodeMeta` type for improved +selection handling. + +- **Bug Fixes** + - Improved error handling for node selections and argument processing. -- [ ] The change comes with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change +- **Tests** +- Updated test cases to reflect schema changes and added new tests for +client functionality. + +
-(gen, doc) Rename mdk to fdk (#851) +(subs) Redis backend (#855) - - +## Summary by CodeRabbit -- +## Release Notes - +- **New Features** +- Introduced Redis as a new backend option for enhanced data management. + - Added Docker Compose configuration for a Redis service. +- Implemented comprehensive testing for Redis functionality and backend +integration. -- +- **Bug Fixes** + - Improved error handling during backend initialization. - +- **Documentation** +- Updated type definitions for backend configurations to streamline +Redis integration. + +- **Chores** +- Refactored test cases for clarity and consistency across different +backend types. + + + +
+
+ +(subs) Retry + timeout on save (#863) + + +Port and improve retry/timeout. #### Migration notes -... +N/A - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change
-
+
-(sdk) Remove index based names (#848) - - BREAKING: remove index based names (#848) +(subs) Child workflows + docs (#867) -- Replace index based names for types by one that relies on type context -in graph -- Tests for type deduplication +Support for child workflows. + +Solves MET-689 and MET-668. #### Migration notes -TODO +Previously +```python + sub = SubstantialRuntime(backend) + hello = sub.deno(file="workflow.ts", name="sayHello", deps=[]) + + g.expose( + # each function start, stop, result, ... holds a copy of the workflow data + start_hello = hello.start(...), + stop_hello = hello.stop() + ) +``` +This approach relied on workflow files being referenced in each +materializer, but the constructs were too restrictive to support +something like `mutation { results(name: "nameManuallyGiven") }`. + +We now have instead +```python + file = ( + WorkflowFile + .deno(file="workflow.ts", deps=[]) + .import_(["sayHello"]) + .build() + ) + + # workflow data are refered only once + sub = SubstantialRuntime(backend, [file]) + g.expose( + start_hello = sub.start(...).reduce({ "name": "sayHello" }), + stop = sub.stop() + ) +``` - [x] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change
-
+
-Move as_id out of `TypeNode` (#866) - - BREAKING: Move as_id out of `TypeNode` (#866) +(subs,gate) Substantial integration (#844) + + + + +
+
+ +(subs,gate) Port agent concept (#845) + + +Continuation of #844 + +
+
+ +Well-defined type comparison semantics (#846) Solve -[MET-684](https://linear.app/metatypedev/issue/MET-684/store-the-id-field-in-tstruct-instead-of-in-the-target-type-as-id) -and -[MET-471](https://linear.app/metatypedev/issue/MET-471/parent-injection-use-property-name-instead-of-function-name) -- **common/typegraph** -- [x] Store the id field in `ObjectTypeData` instead of in the target -type (`as_id`) - - [x] Add `id()` method on `t.integer` and `t.string` -- **typegraph/core** - - [x] Store `as_id`, `injection` and `policy` in `TypeRef::attribute` - - [x] Add support for direct and link target in `TypeRef` - - [x] Only allow name registration for `TypeDef` -- Semantics -- [x] Use property name instead of type name in from_parent injection -source +[MET-655](https://linear.app/metatypedev/issue/MET-655/sdk-improve-the-ensuresubtypeof-implementation) +- [x] Document the type comparison semantics +- [x] Improve the implementation (`EnsureSubtypeOf` trait) +- [x] Add more test cases for type comparisons + + + + + + #### Migration notes -**BREAKING CHANGE** -`from_parent` injections source shall be changed to the key in the -parent `t.struct` instead of the type name. +_No change is needed._ -#### Checklist +... - [x] The change comes with new or modified tests -- [x] Hard-to-understand functions have explanatory comments -- [x] End-user documentation is updated to reflect the change - -
-
- -Move injection data to `t.func` (#871) - - -- -[MET-682](https://linear.app/metatypedev/issue/MET-682/move-all-injection-data-to-tfunc) - - [x] Move all injection data in `ObjectTypeData` (i.e. `t.func`) -- -[MET-656](https://linear.app/metatypedev/issue/MET-656/sdk-improve-generated-titles-from-applyreduce) - - [x] Translate reduce to injection specification on `t.func` -- -[MET-94](https://linear.app/metatypedev/issue/MET-94/remove-runtime-field-from-typenode) - - [x] Remove runtime field from `TypeNode` (#858) -- -[MET-683](https://linear.app/metatypedev/issue/MET-683/move-runtime-related-type-configs-out-of-typenode) -- [x] Move runtime-related configs to `MaterializerData` or -`RuntimeData` -- Misc. -- Enable random ports for the typegate (when `TG_PORT=0`); this will -work with `meta dev` with embedded typegate if you set the `--gate` -option with port `0`. +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change - + +## Summary by CodeRabbit - +## Release Notes -#### Migration notes +- **New Features** +- Introduced comprehensive type comparison rules and semantics for +scalar types, optionals, lists, objects, and unions. +- Added support for enumerated types in the type system, allowing for +more precise type definitions. +- Enhanced parent injection mechanism documentation to clarify type +compatibility requirements. +- Implemented a new suite of type comparison tests and validation +mechanisms. -... +- **Bug Fixes** +- Improved error reporting and handling in the type validation process. -- [x] The change comes with new or modified tests -- [x] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change - -
- - -## [v0.4.10](https://github.com/metatypedev/metatype/releases/tag/v0.4.10) - 2024-09-04 - -### Miscellaneous Tasks - -
- -Bump to v0.4.10 (#835) - - -- Bump v0.4.10 - -
- - -## [v0.4.10-rc1](https://github.com/metatypedev/metatype/releases/tag/v0.4.10-rc1) - 2024-09-03 - -### Bug Fixes - -
- -Use import_map at runtime (#833) - - -- Bump to release v0.4.10-rc1 -- Use import_map.json at runtime since remote configs aren't supported - -
- - -## [v0.4.9](https://github.com/metatypedev/metatype/releases/tag/v0.4.9) - 2024-09-02 - -### Miscellaneous Tasks - -
- -Bump to v0.4.9 (#831) - - -- Bump version to v0.4.9 -- Fix issue with cross config context - -
- - -## [v0.4.9-rc2](https://github.com/metatypedev/metatype/releases/tag/v0.4.9-rc2) - 2024-09-02 - -### Miscellaneous Tasks - -
- -(release) Prepare 0.4.9-rc2 (#829) - - -- Fix the minor issues with rc1 -- Bump to rc2 +- **Documentation** +- Updated and expanded documentation for type comparisons, enumerations, +and parent injections. + +- **Tests** + - Added new tests for type comparison and validation scenarios. + +
- - -## [v0.4.9-rc1](https://github.com/metatypedev/metatype/releases/tag/v0.4.9-rc1) - 2024-09-02 - -### Features -
-(docs) Post on `Durable Execution`. (#816) +Grpc runtime (#819) - +#### Migration notes + +... + +- [x] The change comes with new or modified tests +- [X] End-user documentation is updated to reflect the change +- [ ] Hard-to-understand functions have explanatory comments + +---------
-(metagen) Client_ts (#790) +Python hostcall (#860) -- Implements `client_ts` as described in #777 . +Dead lock on python worker -#### Migration notes + -- [x] The change comes with new or modified tests -- [x] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change + +- - -## Summary by CodeRabbit + -- **Bug Fixes** -- Improved error handling in the `typegraph` function to provide better -error messages. +- -- **Chores** -- Updated Docker image references to use `docker.io` prefix for -consistency. - - Excluded unnecessary files from the VSCode settings. - - Enhanced configurability of Docker commands in development tasks. -- Updated environment variable `GHJK_VERSION` to reflect a semantic -versioning format. + -- **New Features** -- Introduced modules and methods for TypeScript and Python code -generation in the `metagen` library, enhancing client generation -capabilities. - - Added `test_typegraph_3` function for improved testing capabilities. - - Included metadata for the package manager in the project settings. - +#### Migration notes + +... + +- [ ] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change
-
+ + +### Miscellaneous Tasks + +
-(sub) Sdk and typing (#811) +Checks/validation on t.either (#868) + - BREAKING: Checks/validation on t.either (#868) -User side of substantial +Emit a warning or an error when a variant is a subtype of another one. #### Migration notes +**BREAKING CHANGE**: Previously valid typegraph might fail validation. +You will need to fix your types to add some consistency in +`t.either`/`t.union` types. -None - -- [ ] The change comes with new or modified tests +- [x] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change
-Add caching to Secrets struct to improve performance (#813) +Update prisma + deno + rust deps (#869) +- Bump deno to 1.46.3 +- Update prisma-engines to 5.20 +- Update other rust deps. + +Closes MET-669 and MET-622 and MET-680. + #### Migration notes +... + - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change @@ -1050,7 +1083,7 @@ Add caching to Secrets struct to improve performance (#822) +(gate) Add err msg for missing env vars (#827) -## Ensure documentation is pushing for meta dev instead of meta typegate -- [x] add a warning that envs are not set. +- - -[MET-635](https://linear.app/metatypedev/issue/MET-635/cli-ensure-documentation-is-pushing-for-meta-dev-instead-of-meta) +- #### Migration notes -_No Migration Needed_ +... - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments @@ -1085,112 +1116,93 @@ _No Migration Needed_
-Flatten deps and improve repo folder (#821) +(gate) Use stream during artifact upload to s3 (#841) -- Renames `libs/` to `src/`. -- Moves `typegate/`, `meta-cli`, `typegraph/`, `meta-lsp/` to `src/`. -- Renames `dev/` to `tools/` -- Moves `website/` to `docs/metatype.dev`/ -- Moves `src/typegate/tests` to `tests/` -- Moves `src/typegraph/deno/dev` to `tools/jsr/` -- Moves `src/typegraph/deno/sdk` to `src/typegraph/deno/` -- Renames `src/deno` to `src/mt_deno` -- Bumps deno to `1.46.1` -- Bumps rust toolchain to `1.80.1` -- Moves all rust dependencies to workspace section -- Moves `tools/task-*.ts` to `tools/task/*.ts` -- Moves `cliff.toml`, `Cross.toml`, `ruff.toml` to `tools/` -- Uses deno -[workspaces](https://docs.deno.com/runtime/manual/basics/workspaces/) to -organize `src/typegraph/deno`, `src/typegate`, `tools/`, `tests/` and -more. -- Closes MET-607 -- Updates poetry to 1.8.3 -- Bumps metatype to version 0.4.9-rc1 -- [x] Update CONTRIBUTING.md -- [x] Fix CI workflows -- [x] Fix Dockerfile -- [x] Fix all tests + + + + +- + + + +- + + #### Migration notes -- No end user changes required +... -- [x] The change comes with new or modified tests +- [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change - ---------- - -
- - -## [v0.4.8](https://github.com/metatypedev/metatype/releases/tag/v0.4.8) - 2024-08-16 - -### Bug Fixes - -
- -Table method for kv runtime (#815) - - -I discover an issue in the KV runtime documentation -[kvruntime docs](https://metatype.dev/docs/reference/runtimes/kv) - -
-
- -`wasm_backtrace` config bug (#814) - - -- `$WASM_BACKTRACE_DETAILS` was enabled in `main` ghjk env which -affected embedded wasm module compilation to have backtrace enabled. -This broke typegate runs without the flag enabled due to mismatch. -- Fixes Cargo.lock not being used in Dockerfile. -- Prepare 0.4.8 release +- [ ] End-user documentation is updated to reflect the change
- - -### Features -
-Kv runtime (#797) +(gen, doc) Rename mdk to fdk (#851) + + + + +- + + + +- + + + #### Migration notes ... -- [x] The change comes with new or modified tests -- [x] End-user documentation is updated to reflect the change -- [ ] Hard-to-understand functions have explanatory comments +- [ ] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change
- - -### Miscellaneous Tasks - -
+
-Bump to 0.4.8-0 (#810) +(sdk) Remove index based names (#848) + - BREAKING: remove index based names (#848) -- Bump prerelease -- Fix minor issue with release pipeline +- Replace index based names for types by one that relies on type context +in graph +- Tests for type deduplication + +#### Migration notes + +TODO + +- [x] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change
- - -## [v0.4.7](https://github.com/metatypedev/metatype/releases/tag/v0.4.7) - 2024-08-08 - -### Features - -
+
-(cli) Fix auto deployment (#806) +Move as_id out of `TypeNode` (#866) + - BREAKING: Move as_id out of `TypeNode` (#866) -- Upgrade lade-sdk -- Fix discovery -- Remove obsolete dep: actix-web +Solve +[MET-684](https://linear.app/metatypedev/issue/MET-684/store-the-id-field-in-tstruct-instead-of-in-the-target-type-as-id) +and +[MET-471](https://linear.app/metatypedev/issue/MET-471/parent-injection-use-property-name-instead-of-function-name) +- **common/typegraph** +- [x] Store the id field in `ObjectTypeData` instead of in the target +type (`as_id`) + - [x] Add `id()` method on `t.integer` and `t.string` +- **typegraph/core** + - [x] Store `as_id`, `injection` and `policy` in `TypeRef::attribute` + - [x] Add support for direct and link target in `TypeRef` + - [x] Only allow name registration for `TypeDef` +- Semantics +- [x] Use property name instead of type name in from_parent injection +source + +#### Migration notes +**BREAKING CHANGE** +`from_parent` injections source shall be changed to the key in the +parent `t.struct` instead of the type name. + + +#### Checklist + +- [x] The change comes with new or modified tests +- [x] Hard-to-understand functions have explanatory comments +- [x] End-user documentation is updated to reflect the change + +
+
+ +Move injection data to `t.func` (#871) + + +- +[MET-682](https://linear.app/metatypedev/issue/MET-682/move-all-injection-data-to-tfunc) + - [x] Move all injection data in `ObjectTypeData` (i.e. `t.func`) +- +[MET-656](https://linear.app/metatypedev/issue/MET-656/sdk-improve-generated-titles-from-applyreduce) + - [x] Translate reduce to injection specification on `t.func` +- +[MET-94](https://linear.app/metatypedev/issue/MET-94/remove-runtime-field-from-typenode) + - [x] Remove runtime field from `TypeNode` (#858) +- +[MET-683](https://linear.app/metatypedev/issue/MET-683/move-runtime-related-type-configs-out-of-typenode) +- [x] Move runtime-related configs to `MaterializerData` or +`RuntimeData` +- Misc. +- Enable random ports for the typegate (when `TG_PORT=0`); this will +work with `meta dev` with embedded typegate if you set the `--gate` +option with port `0`. -- `lade-sdk` uses the main branch, which now has the fix for the -following issues: -- dependency version conflict with -[deno](https://github.com/metatypedev/deno/blob/691f297537c4a3d9a12ce005c0478b4aee86287c/Cargo.toml#L179): -`url` is set at `<2.5.0`; -- required ProjectID error for infisical: the project id is added -explicitly on the command. + @@ -1224,79 +1278,97 @@ explicitly on the command. ... -- [ ] The change comes with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments +- [x] The change comes with new or modified tests +- [x] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change
+ + +## [v0.4.10](https://github.com/metatypedev/metatype/releases/tag/v0.4.10) - 2024-09-04 + +### Miscellaneous Tasks + +
+ +Bump to v0.4.10 (#835) + + +- Bump v0.4.10 + +
+ + +## [v0.4.10-rc1](https://github.com/metatypedev/metatype/releases/tag/v0.4.10-rc1) - 2024-09-03 + +### Bug Fixes + +
+ +Use import_map at runtime (#833) + + +- Bump to release v0.4.10-rc1 +- Use import_map.json at runtime since remote configs aren't supported + +
+ + +## [v0.4.9](https://github.com/metatypedev/metatype/releases/tag/v0.4.9) - 2024-09-02 + +### Miscellaneous Tasks +
-Cors headers on error (#803) +Bump to v0.4.9 (#831) - - - - -- - - - -- - - - -#### Migration notes - -... - -- [ ] The change comes with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change +- Bump version to v0.4.9 +- Fix issue with cross config context
+## [v0.4.9-rc2](https://github.com/metatypedev/metatype/releases/tag/v0.4.9-rc2) - 2024-09-02 + ### Miscellaneous Tasks
-Bump to 0.4.7-0 (#805) +(release) Prepare 0.4.9-rc2 (#829) -- Bump version to 0.4.7-0 +- Fix the minor issues with rc1 +- Bump to rc2
-### Refactor +## [v0.4.9-rc1](https://github.com/metatypedev/metatype/releases/tag/v0.4.9-rc1) - 2024-09-02 + +### Features
-(docs) Add how to test typegraphs doc (#798) +(docs) Post on `Durable Execution`. (#816) -# `How to test your typegraphs` documentation - - - -- [x] add python doc -- [x] add ts doc -- [x] upgrade bitnami/minIo image to 2024? + + +
+
+ +(metagen) Client_ts (#790) + + +- Implements `client_ts` as described in #777 . #### Migration notes -_No Migrations Needed_ +... -- [ ] The change comes with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments +- [x] The change comes with new or modified tests +- [x] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change @@ -1304,66 +1376,62 @@ _No Migrations Needed_ --> ## Summary by CodeRabbit -- **New Features** -- Updated the Minio service to the latest version for improved -performance and potential new features. -- Introduced comprehensive documentation for testing typegraphs in both -TypeScript and Python, enhancing developer experience. - -- **Documentation** - - Enhanced readability of the `Meta CLI` upgrade instructions. -- Reformatted installation instructions for the `typegraph` package for -better clarity. +- **Bug Fixes** +- Improved error handling in the `typegraph` function to provide better +error messages. - **Chores** -- Updated dependency management configuration for improved compatibility -and performance across different platforms. +- Updated Docker image references to use `docker.io` prefix for +consistency. + - Excluded unnecessary files from the VSCode settings. + - Enhanced configurability of Docker commands in development tasks. +- Updated environment variable `GHJK_VERSION` to reflect a semantic +versioning format. + +- **New Features** +- Introduced modules and methods for TypeScript and Python code +generation in the `metagen` library, enhancing client generation +capabilities. + - Added `test_typegraph_3` function for improved testing capabilities. + - Included metadata for the package manager in the project settings.
-Improve JSR score (part 1) (#807) +(sub) Sdk and typing (#811) - - - - -- Add symbol documentations -- Fix slow types - - - -- - - +User side of substantial #### Migration notes -... +None - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change
+
+ +Add caching to Secrets struct to improve performance (#813) + + +#### Migration notes + +- [ ] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change +
-## [v0.4.6](https://github.com/metatypedev/metatype/releases/tag/v0.4.6) - 2024-08-01 -### Features +### Refactor
-Better arg split logic for MCLI_LOADER (#799) +(docs, gate) Push for `meta dev` instead of `meta typegate` on docs (#822) -- +## Ensure documentation is pushing for meta dev instead of meta typegate +- [x] add a warning that envs are not set. -- + +[MET-635](https://linear.app/metatypedev/issue/MET-635/cli-ensure-documentation-is-pushing-for-meta-dev-instead-of-meta) #### Migration notes -... +_No Migration Needed_ - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change
- - -### Miscellaneous Tasks - -
- -Prepare 0.4.6 (#795) - - -- Bump version to 0.4.6-0 -- Add sanity tests for published SDKs -- Bump deno to 1.45.2 -- Bump rust to 1.79.0 -- Fix myriad of bugs - -#### Migration notes - -... - -- [x] The change comes with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change - - - - -## Summary by CodeRabbit - -- **New Features** -- Introduced new logging capabilities in the `ConnectedEngine` with -adjustable logging levels. -- Implemented cleanup procedures in tests to enhance resource -management. - -- **Bug Fixes** -- Fixed import paths for permissions to ensure correct functionality in -tests and applications. - -- **Version Updates** -- Incremented version numbers across multiple projects and packages to -reflect ongoing development and improvements. - -- **Documentation** -- Added comments to clarify code behavior and potential future -considerations in various modules. - -- **Refactor** -- Optimized string handling in several functions and adjusted method -signatures for improved clarity and efficiency. - - - -
- - -### Refactor -
-(docs) Better documentation on `quick-start` page (#793) +Flatten deps and improve repo folder (#821) -## Improve the documentation on `quick-start` page - -- [x] add dev hunt result to homepage. - - - - - - -- - - - -- - - +- Renames `libs/` to `src/`. +- Moves `typegate/`, `meta-cli`, `typegraph/`, `meta-lsp/` to `src/`. +- Renames `dev/` to `tools/` +- Moves `website/` to `docs/metatype.dev`/ +- Moves `src/typegate/tests` to `tests/` +- Moves `src/typegraph/deno/dev` to `tools/jsr/` +- Moves `src/typegraph/deno/sdk` to `src/typegraph/deno/` +- Renames `src/deno` to `src/mt_deno` +- Bumps deno to `1.46.1` +- Bumps rust toolchain to `1.80.1` +- Moves all rust dependencies to workspace section +- Moves `tools/task-*.ts` to `tools/task/*.ts` +- Moves `cliff.toml`, `Cross.toml`, `ruff.toml` to `tools/` +- Uses deno +[workspaces](https://docs.deno.com/runtime/manual/basics/workspaces/) to +organize `src/typegraph/deno`, `src/typegate`, `tools/`, `tests/` and +more. +- Closes MET-607 +- Updates poetry to 1.8.3 +- Bumps metatype to version 0.4.9-rc1 +- [x] Update CONTRIBUTING.md +- [x] Fix CI workflows +- [x] Fix Dockerfile +- [x] Fix all tests #### Migration notes -... +- No end user changes required -- [ ] The change comes with new or modified tests +- [x] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change +- [ ] End-user documentation is updated to reflect the change + +---------
-## [v0.4.5](https://github.com/metatypedev/metatype/releases/tag/v0.4.5) - 2024-07-18 +## [v0.4.8](https://github.com/metatypedev/metatype/releases/tag/v0.4.8) - 2024-08-16 ### Bug Fixes
-Broken pipeline for 0.4.4 (#782) +Table method for kv runtime (#815) -Fixes erroneous usage of `setup-deno` which has been replaced by `ghjk` -itself. - -#### Migration notes - -... - -- [ ] The change comes with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change +I discover an issue in the KV runtime documentation +[kvruntime docs](https://metatype.dev/docs/reference/runtimes/kv)
-Broken release pipeline 2 (#783) +`wasm_backtrace` config bug (#814) -Fix issue with the three remaining failing jobs. - -#### Migration notes - -... - -- [ ] The change comes with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change +- `$WASM_BACKTRACE_DETAILS` was enabled in `main` ghjk env which +affected embedded wasm module compilation to have backtrace enabled. +This broke typegate runs without the flag enabled due to mismatch. +- Fixes Cargo.lock not being used in Dockerfile. +- Prepare 0.4.8 release
+ + +### Features +
-Release pipeline 3 (#784) +Kv runtime (#797) -- Remove accidental dry-run from jsr publish -- Fix cross dockerfile - #### Migration notes ... -- [ ] The change comes with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change +- [x] The change comes with new or modified tests +- [x] End-user documentation is updated to reflect the change +- [ ] Hard-to-understand functions have explanatory comments
+ + +### Miscellaneous Tasks +
-Skip deno stack trace from error message (#787) +Bump to 0.4.8-0 (#810) - - - - -Skip the deno stack trace from the error message when tg_manage fails. - - - - - - - -#### Migration notes - -_N/A_ - -- [ ] The change comes with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change +- Bump prerelease +- Fix minor issue with release pipeline
+## [v0.4.7](https://github.com/metatypedev/metatype/releases/tag/v0.4.7) - 2024-08-08 + ### Features -
+
-(cli) Configurable backoff (#789) - - BREAKING: configurable backoff (#789) +(cli) Fix auto deployment (#806) -- Make the backoff configurable through the `--retry` and -`--retry-interval-ms` options. -- The default max retry count is changed to 0 on the default mode, and -remains 3 on the watch mode. -- The `--max-parallel-loads` option has been renamed to `--threads`. +- Upgrade lade-sdk +- Fix discovery +- Remove obsolete dep: actix-web - +- `lade-sdk` uses the main branch, which now has the fix for the +following issues: +- dependency version conflict with +[deno](https://github.com/metatypedev/deno/blob/691f297537c4a3d9a12ce005c0478b4aee86287c/Cargo.toml#L179): +`url` is set at `<2.5.0`; +- required ProjectID error for infisical: the project id is added +explicitly on the command. #### Migration notes -The `--max-parallel-loads` option has been renamed to `--threads`. +... - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments -- [x] End-user documentation is updated to reflect the change +- [ ] End-user documentation is updated to reflect the change
-Add list subcommand features to meta_cli (#775) +Cors headers on error (#803) -new branch after conflict with main branch - -
+### Miscellaneous Tasks +
-Add back gleap (#791) +Bump to 0.4.7-0 (#805) - - - - -- Gleap.io was removed a while back -- this adds it back so visitors can open ticket and suggest feedback -- internally, we will use this to fine tune the documentation +- Bump version to 0.4.7-0
-### Miscellaneous Tasks +### Refactor
-Bump v0.4.5 (#792) +(docs) Add how to test typegraphs doc (#798) -- Bumps metatype version to 0.4.5 -- Bumps ghjk to latest commit -- Fixes `setup` whiz task to avoid issues on macos -- Fixes release pipeline to publish JSR +# `How to test your typegraphs` documentation -MET-614 MET-606 MET-605 MET-613 + + +- [x] add python doc +- [x] add ts doc +- [x] upgrade bitnami/minIo image to 2024? #### Migration notes -_No changes required._ +_No Migrations Needed_ - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change - -
- - -## [v0.4.4](https://github.com/metatypedev/metatype/releases/tag/v0.4.4) - 2024-07-05 - -### Bug Fixes - -
- -(gate) Ensure all deps are defined in import_map.json (#768) - - -Ensure that all deps are defined in `import_map.json` with a specific -version. +- [ ] End-user documentation is updated to reflect the change + + + +## Summary by CodeRabbit + +- **New Features** +- Updated the Minio service to the latest version for improved +performance and potential new features. +- Introduced comprehensive documentation for testing typegraphs in both +TypeScript and Python, enhancing developer experience. + +- **Documentation** + - Enhanced readability of the `Meta CLI` upgrade instructions. +- Reformatted installation instructions for the `typegraph` package for +better clarity. + +- **Chores** +- Updated dependency management configuration for improved compatibility +and performance across different platforms. +
-Missing typegraphs (#755) +Improve JSR score (part 1) (#807) -- fix the typegraphs that were incorrectly formatted +- Add symbol documentations +- Fix slow types - +- +#### Migration notes +... - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change
+ + +## [v0.4.6](https://github.com/metatypedev/metatype/releases/tag/v0.4.6) - 2024-08-01 + +### Features +
-Stable formatting and uniformize the code-loader (#766) +Better arg split logic for MCLI_LOADER (#799) -- add prettier to avoid doc formatting issue -- now explicitly require `!!code-loader!` to load code inside the -documentation (will hopefully help also with the missing typegraphs -issues, still under investigation) +- +- + +#### Migration notes +... - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change - ---------- +- [ ] End-user documentation is updated to reflect the change
-### Documentation +### Miscellaneous Tasks
-Generate clients from openapi (#778) +Prepare 0.4.6 (#795) -Demonstrate how to use the openapi spec to generate clients in most -languages/frameworks. +- Bump version to 0.4.6-0 +- Add sanity tests for published SDKs +- Bump deno to 1.45.2 +- Bump rust to 1.79.0 +- Fix myriad of bugs #### Migration notes -None +... -- [ ] The change comes with new or modified tests +- [x] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change @@ -1825,30 +1804,45 @@ None ## Summary by CodeRabbit -- **Documentation** -- Updated REST API documentation URLs with placeholders for easier -configuration. -- Added information on generating and using OpenAPI clients, including -TypeScript fetch client generation. +- **New Features** +- Introduced new logging capabilities in the `ConnectedEngine` with +adjustable logging levels. +- Implemented cleanup procedures in tests to enhance resource +management. + - **Bug Fixes** -- Corrected a regular expression in import handling to ensure accurate -replacements. -- **Chores** -- Improved file writing by appending a newline character to JSON -strings. +- Fixed import paths for permissions to ensure correct functionality in +tests and applications. + +- **Version Updates** +- Incremented version numbers across multiple projects and packages to +reflect ongoing development and improvements. + +- **Documentation** +- Added comments to clarify code behavior and potential future +considerations in various modules. + +- **Refactor** +- Optimized string handling in several functions and adjusted method +signatures for improved clarity and efficiency.
-### Features +### Refactor
-Move all the configs to one single file (#733) +(docs) Better documentation on `quick-start` page (#793) +## Improve the documentation on `quick-start` page + +- [x] add dev hunt result to homepage. + + -- Move all the configs to one single file -- Remove some specific configs from the global config variable and make -them accessible on the `Typegate` instance, to improve test -configurability. +- - +- #### Migration notes -- `SYNC_REDIS_PASSWORD` has been removed, can only be set on the -`SYNC_REDIS_URL`. - +... -- [x] The change comes with new or modified tests +- [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments -- [x] End-user documentation is updated to reflect the change - ---------- +- [ ] End-user documentation is updated to reflect the change
+ + +## [v0.4.5](https://github.com/metatypedev/metatype/releases/tag/v0.4.5) - 2024-07-18 + +### Bug Fixes +
-Remove restrictions for union/either types (#761) +Broken pipeline for 0.4.4 (#782) - +Fixes erroneous usage of `setup-deno` which has been replaced by `ghjk` +itself. - +#### Migration notes -In the previous versions, we restricted the variant types allowed in -union/either to be all in the same category (after flattening -multi-level unions): -- *Category 1* - **GraphQL leaf types**: scalar type, or array of scalar -type, which require no selection set on GraphQL. -- *Category 2* - **GraphQL non-leaf types**: object type or array of -object type, which require a selection set on GraphQL (aka selectable -types in the codebase). +... -Those restrictions can be lifted, and the selection field of an -union-type field will have inline fragments with type conditions for -each *Category 2* variant. No type condition is required for *Category -1* types, the selection sets are not relevant. +- [ ] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change + +
+
+ +Broken release pipeline 2 (#783) + + +Fix issue with the three remaining failing jobs. -The case that is not handled by this PR is when one of the variants is -an array of union type. +#### Migration notes +... - +- [ ] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change + +
+
+ +Release pipeline 3 (#784) + + +- Remove accidental dry-run from jsr publish +- Fix cross dockerfile #### Migration notes -_N/A_ +... - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change - ---------- +- [ ] End-user documentation is updated to reflect the change
-Typegate in meta dev, upgrade test (#776) +Skip deno stack trace from error message (#787) -- Test the typegate upgrade from the latest published version to the -current version. -- Add a flag to run an instance of the typegate with the target -configuration (port, admin passsword) to `meta deploy`, enabled by -default for `meta dev`. +Skip the deno stack trace from the error message when tg_manage fails. @@ -1961,150 +1953,114 @@ default for `meta dev`. #### Migration notes -If you have a script that runs `meta dev`, add the flag `--no-typegate` -if you already have a typegate. - -- [x] The change comes with new or modified tests -- [x] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change +_N/A_ ---------- +- [ ] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change
-### Miscellaneous Tasks +### Features -
+
-Add programmatic deploy tests (#769) +(cli) Configurable backoff (#789) + - BREAKING: configurable backoff (#789) -## Add Programmatic deploy tests for the docs + - -[MET-591](https://linear.app/metatypedev/issue/MET-591/docstest-test-example-script-for-tg-deploy) +- Make the backoff configurable through the `--retry` and +`--retry-interval-ms` options. +- The default max retry count is changed to 0 on the default mode, and +remains 3 on the watch mode. +- The `--max-parallel-loads` option has been renamed to `--threads`. -- + #### Migration notes -_No Migrations Needed_ - -... - -- [x] The change comes with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments -- [x] End-user documentation is updated to reflect the change - -
-
- -Bump to version 0.4.4 (#779) - - -Prepare release of the 0.4.4 version. - -#### Migration notes +The `--max-parallel-loads` option has been renamed to `--threads`. - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change - -
- - -### Refactor - -
- -(sdk) Back to deno + jsr exploration (#760) - - BREAKING: back to deno + jsr exploration (#760) - - -Try reverting back to deno runtime for the typescript sdk in hope of -making the dx easier. -Hosting a custom node/npm project adds more layer of indirection which -may result in cryptic issues sometimes. - -This should also facilitate publishing on jsr although additional work -are still required on the `jco` codegen side. - -#### Migration notes - -N/A - -- [x] The change comes with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change - ---------- +- [x] End-user documentation is updated to reflect the change
-Move to ghjk 0.2.0 (#754) +Add list subcommand features to meta_cli (#775) -- Refactors the ghjk.ts, CI to the latest version of ghjk -- Bumps version to 0.4.4-0 -- Fixes race bug in python_sync tests -- Fixes flakeout of wasm `build.sh` scripts due to wasm-tools EOF issue -- #763 -- #746 - -#### Migration notes +new branch after conflict with main branch -- [ ] The change comes with new or modified tests -- [x] Hard-to-understand functions have explanatory comments -- [x] End-user documentation is updated to reflect the change + -## Summary by CodeRabbit - -- **Chores** -- Updated GitHub Actions workflows to use the latest version of -`metatypedev/setup-ghjk` for improved stability and performance. -- Modified `GHJK_VERSION` and various environment variables across -multiple configuration files to ensure compatibility with updated -dependencies. -- Revised Dockerfiles to streamline environment setup and improve build -efficiency. -- Updated dependency management in `pyproject.toml` for better security -and performance. - - Enhanced logging and error handling in test scripts. + -These updates collectively optimize the development environment, -ensuring smoother builds and more reliable workflows. +- - + + +- + + + +#### Migration notes + +... + +- [ ] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change ---------
+
+ +Upgrade www and gha (#786) + + -### Testing - +
-(full) Update test runner (#705) +Add back gleap (#791) - - -New test runner, by default: -- Less verbose -- No output for successful tests - -Parallel tests re-enabled. - - - - - - + +- Gleap.io was removed a while back +- this adds it back so visitors can open ticket and suggest feedback +- internally, we will use this to fine tune the documentation + +
+ + +### Miscellaneous Tasks + +
+ +Bump v0.4.5 (#792) + + +- Bumps metatype version to 0.4.5 +- Bumps ghjk to latest commit +- Fixes `setup` whiz task to avoid issues on macos +- Fixes release pipeline to publish JSR - +MET-614 MET-606 MET-605 MET-613 #### Migration notes -_N/A_ +_No changes required._ - +- [ ] End-user documentation is updated to reflect the change
-## [v0.4.3](https://github.com/metatypedev/metatype/releases/tag/v0.4.3) - 2024-06-22 +## [v0.4.4](https://github.com/metatypedev/metatype/releases/tag/v0.4.4) - 2024-07-05 ### Bug Fixes
-(ci) Poetry lockfile (#732) +(gate) Ensure all deps are defined in import_map.json (#768) -- Fixes poetry lockfile and adds pre-commit hook to prevent issue from -happening +Ensure that all deps are defined in `import_map.json` with a specific +version.
-(docs) Fix demo typegraphs 2 (#756) +Missing typegraphs (#755) -Fix example typegraphs on metatype.dev. -- [x] reduce.ts -- [x] policies.ts -- [x] graphql.ts -- [x] authentication.ts - - -[MET_574](https://linear.app/metatypedev/issue/MET-574/docs-fix-demo-typegraphs-2) +- fix the typegraphs that were incorrectly formatted @@ -2187,9 +2139,7 @@ Fix example typegraphs on metatype.dev. -#### Migration notes -_No Migrations Needed_ - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments @@ -2198,7 +2148,7 @@ _No Migrations Needed_
-(docs) Fix programmatic deployment guides (#762) +Stable formatting and uniformize the code-loader (#766) -- [x] Fix typo -- [x] fix/test tg deploy -- [x] fix/test tg remove - - -[MET-587](https://linear.app/metatypedev/issue/MET-587/docs-fix-programmatic-deployment-guides) +- add prettier to avoid doc formatting issue +- now explicitly require `!!code-loader!` to load code inside the +documentation (will hopefully help also with the missing typegraphs +issues, still under investigation) -- - -#### Migration notes - -_No Migration Needed_ -... - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change +- [ ] End-user documentation is updated to reflect the change + +---------
+ + +### Documentation +
-Only build xtask once for the tests (#720) +Generate clients from openapi (#778) -Use the xtask binary to run the tests. +Demonstrate how to use the openapi spec to generate clients in most +languages/frameworks. + +#### Migration notes + +None - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments @@ -2253,26 +2206,68 @@ Use the xtask binary to run the tests. ## Summary by CodeRabbit -- **New Features** - - Updated platform compatibility to `x86_64-linux`. -- Added new configuration entry for enhanced versioning and platform -support. +- **Documentation** +- Updated REST API documentation URLs with placeholders for easier +configuration. +- Added information on generating and using OpenAPI clients, including +TypeScript fetch client generation. +- **Bug Fixes** +- Corrected a regular expression in import handling to ensure accurate +replacements. +- **Chores** +- Improved file writing by appending a newline character to JSON +strings. -- **Improvements** -- Modified test script to use a custom build script for better test -management. + + +
+ + +### Features + +
+ +Move all the configs to one single file (#733) + + + - + + +- Move all the configs to one single file +- Remove some specific configs from the global config variable and make +them accessible on the `Typegate` instance, to improve test +configurability. + + + + + + + +#### Migration notes + +- `SYNC_REDIS_PASSWORD` has been removed, can only be set on the +`SYNC_REDIS_URL`. + + +- [x] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [x] End-user documentation is updated to reflect the change ---------
-Missing typegraphs (#741) +Remove restrictions for union/either types (#761) -**Fix Missing Typegraphs** -- attempt to fix the missing typegraphs on metatype.dev. +In the previous versions, we restricted the variant types allowed in +union/either to be all in the same category (after flattening +multi-level unions): +- *Category 1* - **GraphQL leaf types**: scalar type, or array of scalar +type, which require no selection set on GraphQL. +- *Category 2* - **GraphQL non-leaf types**: object type or array of +object type, which require a selection set on GraphQL (aka selectable +types in the codebase). - +Those restrictions can be lifted, and the selection field of an +union-type field will have inline fragments with type conditions for +each *Category 2* variant. No type condition is required for *Category +1* types, the selection sets are not relevant. + +The case that is not handled by this PR is when one of the variants is +an array of union type. -- -[MET-563](https://linear.app/metatypedev/issue/MET-563/docs-complete-missing-typegraphs) #### Migration notes -_No Migrations Needed_ -... + +_N/A_ - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change +- [ ] End-user documentation is updated to reflect the change + +---------
-Upload url path and add logging in the SDK (#740) +Typegate in meta dev, upgrade test (#776) -- Fix upload url: prepare-upload returns upload tokens instead of upload -urls -- Add logging in the typegraph SDK -- Refactor the actor system in the CLI -- Use jsonrpc for communication between the CLI and typegraph processes -(over stdin/stdout) + + + + +- Test the typegate upgrade from the latest published version to the +current version. +- Add a flag to run an instance of the typegate with the target +configuration (port, admin passsword) to `meta deploy`, enabled by +default for `meta dev`. + + + + + + #### Migration notes -- The `typegraphs.deno` section of the `metatype.yaml` config file has -been replaced by `typegraphs.typescript` and `typegraphs.javascript`. -- `tg_deploy` params has changed. - +If you have a script that runs `meta dev`, add the flag `--no-typegate` +if you already have a typegate. - [x] The change comes with new or modified tests - [x] Hard-to-understand functions have explanatory comments -- [x] End-user documentation is updated to reflect the change +- [ ] End-user documentation is updated to reflect the change + +---------
+ + +### Miscellaneous Tasks +
-Failed typegraph deployment (#758) +Add programmatic deploy tests (#769) - +- [x] Add programmatic typegraph deploy/remove tests +- [x] refactor tg_remove to accept `typegraph_name` instead of +`TypegraphOutput` obj. -- Fix casing typo in the typescript sdk -- Fix error reporting in the typescript sdk -- Display the retry number -- Warning on cancelled retry + +[MET-591](https://linear.app/metatypedev/issue/MET-591/docstest-test-example-script-for-tg-deploy) +- + #### Migration notes -N/A +_No Migrations Needed_ + +... + +- [x] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [x] End-user documentation is updated to reflect the change + +
+
+ +Bump to version 0.4.4 (#779) + + +Prepare release of the 0.4.4 version. + +#### Migration notes - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments @@ -2365,145 +2405,101 @@ N/A
-### Documentation +### Refactor -
+
-`/docs/concepts/features-overview/` (#725) +(sdk) Back to deno + jsr exploration (#760) + - BREAKING: back to deno + jsr exploration (#760) -- Re-does the feature overview page of the documentation. - - -## Summary by CodeRabbit +Try reverting back to deno runtime for the typescript sdk in hope of +making the dx easier. +Hosting a custom node/npm project adds more layer of indirection which +may result in cryptic issues sometimes. -- **New Features** -- Added a "Features Roadmap" component to the website, displaying a list -of features with details and links. +This should also facilitate publishing on jsr although additional work +are still required on the `jco` codegen side. -- **Documentation** -- Updated various guides and reference documents to improve clarity and -presentation of code examples. -- Added new sections for various features such as Typegate, Typegraph, -Runtimes, Prisma, Auth, Tooling, and SDK. +#### Migration notes -- **Bug Fixes** - - Corrected a typo in the GraphQL runtimes reference documentation. +N/A -- **Refactor** -- Replaced `SDKTabs` and `TabItem` components with `TGExample` for -better code example presentation. -- Adjusted the `MiniQL` component to handle optional properties and -default settings. - +- [x] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change ---------
-`/docs/reference/metagen` + `/docs/guides/wasm-functions` (#751) +Move to ghjk 0.2.0 (#754) -- Adds `/docs/reference/metagen` -- Adds `/docs/guides/wasm-functions` -- Adds a codegen section to `/docs/guides/external-functions` - -MDK-492. +- Refactors the ghjk.ts, CI to the latest version of ghjk +- Bumps version to 0.4.4-0 +- Fixes race bug in python_sync tests +- Fixes flakeout of wasm `build.sh` scripts due to wasm-tools EOF issue +- #763 +- #746 #### Migration notes -... - - [ ] The change comes with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments +- [x] Hard-to-understand functions have explanatory comments - [x] End-user documentation is updated to reflect the change - ## Summary by CodeRabbit -- **New Features** -- Added new targets for `metagen` with different generators and paths -for TypeScript, Python, and Rust. -- Introduced new functionality for defining and exposing typegraphs with -policies in various environments (Deno, Python, Rust). -- Added automated Rust WebAssembly project generation and compilation -script. -- Enhanced documentation with new sections and updated code examples -using `TGExample`. - -- **Bug Fixes** - - Updated `.gitignore` to exclude `*.wasm` files. - -- **Documentation** -- Updated links and added detailed instructions for generating types -using `metagen`. +- **Chores** +- Updated GitHub Actions workflows to use the latest version of +`metatypedev/setup-ghjk` for improved stability and performance. +- Modified `GHJK_VERSION` and various environment variables across +multiple configuration files to ensure compatibility with updated +dependencies. +- Revised Dockerfiles to streamline environment setup and improve build +efficiency. +- Updated dependency management in `pyproject.toml` for better security +and performance. + - Enhanced logging and error handling in test scripts. -- **Refactor** -- Switched from `HashMap` to `BTreeMap` and `HashSet` to `BTreeSet` in -various modules for better data structure handling. - - Added logging enhancements in the `Typegate` class. +These updates collectively optimize the development environment, +ensuring smoother builds and more reliable workflows. -- **Chores** - - Updated build script for Rust WebAssembly target. + - - -
-
- -Programmatic deployment blogpost (#752) - - -Blogpost to help discover programmatic deployment additions. - - -#### Migration notes - -... - -- [ ] The change comes with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change - - - - -## Summary by CodeRabbit - -- **New Features** -- Introduced programmatic deployment feature for deploying typegraphs -within the Metatype ecosystem using TypeScript/Python SDKs. -- Added new configuration options and deployment functions to enhance -automation and flexibility in deployment processes. - -- **Documentation** -- Added a new blog post detailing the programmatic deployment feature -and its usage. - - +---------
-### Features +### Testing
-(SDK) Add `globs` and `dir` support for artifact deps. (#698) +(full) Update test runner (#705) -- [x] Include glob and dir support for `PythonRuntime` deps. -- [x] Include glob and dir support for `DenoRuntime` deps. -- [x] add tests + + + + +New test runner, by default: +- Less verbose +- No output for successful tests + +Parallel tests re-enabled. @@ -2511,56 +2507,39 @@ The change includes support for declaring artifact dependencies through -[MET-441](https://linear.app/metatypedev/issue/MET-441/sdk-support-globs-and-directories-in-artifact-dependencies) #### Migration notes -In the `deps` parameter for `python.import(...)` and `deno.import(...)`, -globs and dirs can be passed in addition to files. - +_N/A_ -- [x] The change come with new or modified tests + -## Summary by CodeRabbit - -- **New Features** -- Introduced functionality for defining and deploying Typegraphs for -Deno and Python runtimes. -- Added support for defining a Deno runtime dependency graph with -policies for test scenarios. - -- **Bug Fixes** -- Corrected the structure of the `Deno.serve` call in the `serve` -function. - -- **Refactor** -- Enhanced method chaining for better readability in the `MetaTest` -class. - -- **Tests** -- Updated test coverage reporting to include new Deno runtime test -files. - - Commented out and removed outdated test cases in Deno runtime tests. - -- **Chores** - - Updated platform specification in configuration files. - - ---------- +--> + +
+ + +## [v0.4.3](https://github.com/metatypedev/metatype/releases/tag/v0.4.3) - 2024-06-22 + +### Bug Fixes + +
+ +(ci) Poetry lockfile (#732) + + +- Fixes poetry lockfile and adds pre-commit hook to prevent issue from +happening
-(docs) Add `embedded typegate` page (#747) +(docs) Fix demo typegraphs 2 (#756) -# Embedded typegate docs page - -- [x] need a page under meta-cli/embedded typegate to explain how that -works -- [x] tutorials should take advantage of the embedded one -- [x] the embedded one should be the default everything -- [x] explain that there is 2 flavors in reference/meta-cli - -[MET-562](https://linear.app/metatypedev/issue/MET-562/docs-use-embedded-whenever-possible-in-the-docs-and-examples) +Fix example typegraphs on metatype.dev. +- [x] reduce.ts +- [x] policies.ts +- [x] graphql.ts +- [x] authentication.ts -- + +[MET_574](https://linear.app/metatypedev/issue/MET-574/docs-fix-demo-typegraphs-2) -- + #### Migration notes _No Migrations Needed_ -... - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments @@ -2604,295 +2579,140 @@ _No Migrations Needed_
-(mdk) Mdk python (#707) +(docs) Fix programmatic deployment guides (#762) -Mdk for python runtime - -#### Migration notes - -None + -## Summary by CodeRabbit -- **New Features** -- Introduced new functionalities for generating Python code based on -configurations, including handling of templates and required objects. -- Added Python script templates for defining typed functions and -structured objects with comprehensive data type handling. - - Enhanced type management and priority handling in utility functions. +- [x] Fix typo +- [x] fix/test tg deploy +- [x] fix/test tg remove -- **Documentation** -- Provided detailed summaries and documentation for new functionalities -and templates. + -- **Refactor** -- Implemented new structures and methods for efficient code generation -and type handling. -- **Tests** - - Added tests for defining typegraph structures and policies in Python. +[MET-587](https://linear.app/metatypedev/issue/MET-587/docs-fix-programmatic-deployment-guides) -- **Chores** -- Updated URLs in the `.ghjk/deno.lock` file to reflect new changes in -the codebase. - + ---------- - -
-
- -(mdk) `mdk_typescript` (#739) - - BREAKING: `mdk_typescript` (#739) - - -- Implements the `mdk_typescript` code generator for typescript type -inference on Deno runtime external modules. -- Ports the very simple generator already present in meta-cli. -- Removes old codegen from cli and sdk. - -#### Migration notes - -- Metagen section of `metatype.yaml` has changed. Targets are now lists -instead of maps, items no sporting `generator` field instead of key -acting as ref to generator. -- (sdk) WasmRuntime's `fromExport` method has been renamed to `export` -to make it more uniform to handler. -- (sdk) WasmRuntime `export` and `handler` method's now expect -handler/func name under `name` instead of `func`. -- (sdk) `codegen` flag has been removed from `ArtifactsConfig` object. -- (cli) `gen mod/mdk` has been simplified to just `gen` as the previous -mod option is no longer avail. - ---- - -- [x] The change comes with new or modified tests -- [x] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change - -
-
- -(mdk,gate) Hostcall (#706) - - -Introduces a mechanism for wasm materializers to access hostgate -functions. +- -This implements a pretty basic JSON wire interface, a singular -`hostcall` function that's exposed to materializers. The only -implemented function on this interface are `gql` queries. + -This is a stacked PR on top of #687. +#### Migration notes -MET-473. +_No Migration Needed_ -- [x] The change come with new or modified tests +... - - - - -## Summary by CodeRabbit - -- **New Features** -- Added an import statement for `std_url` and a new task for installing -WASI adapter related files. -- Introduced new functionalities in the application's runtime to support -additional parameters and error handling. - -- **Enhancements** -- Improved the application's handling of GraphQL queries with new error -types and display methods. -- Enhanced the WASM runtime build process to target a more appropriate -architecture. - -- **Bug Fixes** -- Fixed issues in Python and WASM runtime tests to ensure reliability -and performance. - -- **Documentation** -- Updated internal documentation to reflect new command interfaces and -environmental interactions in the application's CLI tools. - -- **Refactor** -- Refactored various internal APIs to improve code maintainability and -efficiency. - - ---------- +- [ ] End-user documentation is updated to reflect the change
-(meta-test) Update `t.engine()` impl (#716) +Only build xtask once for the tests (#720) -Update the implementation of `t.engine()` - - - -The change comes with removing the different spin-offs of `t.engine` -which arose from the previous impl of t.engine incompatibility with -artifact upload protocol. The change will make `t.engine` deploy the -artifacts in Artifact Resolution mode by running a shell command to -deploy the typegraph. - - - -... - - - - -[MET-500](https://linear.app/metatypedev/issue/MET-500/test-update-the-implementation-of-tengine) - - - -- [x] remove different versions of `t.engine` -- [x] add tg_deploy caller script which imports typegraphs dynamically -and deploys them. -- [x] make changes to make `t.engine` run in artifact resolution mode -- [x] update existing tests to adhere to the current change -- [x] pass unique different `tempDir`s to all the typegate instances -created during test. -- [x] add support for authoring multiple typegraphs in a single file in -`meta-test` and add multi typegraph tests. - -#### Migration notes - -python SDK test typegraphs' function names should be the same with the -filename of the typegraph file, for dynamic import compatibility -reasons. +Use the xtask binary to run the tests. - + ## Summary by CodeRabbit - **New Features** -- Introduced a new function `wasm_duplicate` to handle WebAssembly -runtimes with specific policies. + - Updated platform compatibility to `x86_64-linux`. +- Added new configuration entry for enhanced versioning and platform +support. -- **Refactor** -- Renamed and refactored functions and test setups to align with updated -test frameworks and improve code clarity. +- **Improvements** +- Modified test script to use a custom build script for better test +management. -- **Bug Fixes** -- Added error handling in the `getLocalPath` function to log warnings if -linking errors occur. +These changes improve platform compatibility and streamline the testing +process. -- **Tests** -- Updated test scripts to reflect changes in function calls, imports, -and engine instantiation for better test accuracy and reliability. - + + +---------
-Doc polish (#735) +Missing typegraphs (#741) -- doc polish and cleanup -- upgrade website except Docusaurus as the css issue is stil present -- bump to next pre-release -- not everything is done, but let's iterate! - - + +**Fix Missing Typegraphs** -## Summary by CodeRabbit - -- **New Features** - - Added platform compatibility for `x86_64-linux`. -- Introduced new functionalities for generating Python code and enhanced -type management. -- Added import statement for `std_url` and new task for installing WASI -adapter files. -- Enhanced runtime support for additional parameters and error handling. - -- **Improvements** -- Enhanced GraphQL query handling with new error types and display -methods. -- Improved WASM runtime build process for better architecture targeting. + -- **Documentation** - - Updated feature overview and added a "Features Roadmap" component. - - Enhanced various guides and references for better clarity. -- Added new sections for Typegate, Typegraph, Runtimes, Prisma, Auth, -Tooling, and SDK. - - Corrected typos and improved code example presentation. +- attempt to fix the missing typegraphs on metatype.dev. -- **Bug Fixes** - - Fixed issues in Python and WASM runtime tests to ensure reliability. + - +- +[MET-563](https://linear.app/metatypedev/issue/MET-563/docs-complete-missing-typegraphs) ---------- + + +#### Migration notes +_No Migrations Needed_ +... + +- [ ] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change
- - -### Miscellaneous Tasks -
-(docs) Replace term materializer with function for user facing concepts (#736) +Upload url path and add logging in the SDK (#740) -Materializer and function might introduce confusion as they are pretty -much the same thing from the user point of view, one can be defined in -terms of the other. +- Fix upload url: prepare-upload returns upload tokens instead of upload +urls +- Add logging in the typegraph SDK +- Refactor the actor system in the CLI +- Use jsonrpc for communication between the CLI and typegraph processes +(over stdin/stdout) #### Migration notes -None - -- [ ] The change comes with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change - - - - -## Summary by CodeRabbit - -- **Documentation** -- Updated terminology from "materializers" to "functions" across various -documentation files to reflect a semantic shift and provide clearer -descriptions. -- Improved clarity in descriptions of custom functions, runtimes, and -their roles in the Metatype computing model. -- Corrected typos and refined explanations in multiple guides and -reference documents. +- The `typegraphs.deno` section of the `metatype.yaml` config file has +been replaced by `typegraphs.typescript` and `typegraphs.javascript`. +- `tg_deploy` params has changed. -These changes enhance the readability and consistency of our -documentation, making it easier for users to understand and implement -the features and concepts within the system. - +- [x] The change comes with new or modified tests +- [x] Hard-to-understand functions have explanatory comments +- [x] End-user documentation is updated to reflect the change
-(docs) Embedded typegate (v0.3.x) blog (#750) +Failed typegraph deployment (#758) -# Add a blog about Embedded Typegate. - - -[MET-564](https://linear.app/metatypedev/issue/MET-564/docs-embedded-typegate-v03x) +- Fix casing typo in the typescript sdk +- Fix error reporting in the typescript sdk +- Display the retry number +- Warning on cancelled retry - - #### Migration notes -_No Migrations Needed_ +N/A - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change - +- [ ] End-user documentation is updated to reflect the change + +
+ + +### Documentation + +
+ +`/docs/concepts/features-overview/` (#725) + + +- Re-does the feature overview page of the documentation. - ## Summary by CodeRabbit - **New Features** -- Introduced a new blog post on emulating server nodes locally using the -Embedded Typegate feature in Meta CLI. -- Added a new `BlogIntro` component to the website for displaying styled -blog introductions. +- Added a "Features Roadmap" component to the website, displaying a list +of features with details and links. - **Documentation** -- Updated documentation to explain how to spin up a local instance of -Typegate for testing and development. +- Updated various guides and reference documents to improve clarity and +presentation of code examples. +- Added new sections for various features such as Typegate, Typegraph, +Runtimes, Prisma, Auth, Tooling, and SDK. -- **Chores** -- Updated platform compatibility from "x86_64-linux" to -"aarch64-darwin". +- **Bug Fixes** + - Corrected a typo in the GraphQL runtimes reference documentation. - +- **Refactor** +- Replaced `SDKTabs` and `TabItem` components with `TGExample` for +better code example presentation. +- Adjusted the `MiniQL` component to handle optional properties and +default settings. + + +---------
-(website) `g.rest` reference at `/docs/reference/rest` (#734) +`/docs/reference/metagen` + `/docs/guides/wasm-functions` (#751) -Add reference page for `g.rest(..)` +- Adds `/docs/reference/metagen` +- Adds `/docs/guides/wasm-functions` +- Adds a codegen section to `/docs/guides/external-functions` + +MDK-492. #### Migration notes -None +... - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments @@ -2969,41 +2807,141 @@ None ## Summary by CodeRabbit +- **New Features** +- Added new targets for `metagen` with different generators and paths +for TypeScript, Python, and Rust. +- Introduced new functionality for defining and exposing typegraphs with +policies in various environments (Deno, Python, Rust). +- Added automated Rust WebAssembly project generation and compilation +script. +- Enhanced documentation with new sections and updated code examples +using `TGExample`. + +- **Bug Fixes** + - Updated `.gitignore` to exclude `*.wasm` files. + - **Documentation** - - Added a reference to the REST reference section in the REST guide. - - Introduced new documentation for consuming APIs using Metatype. -- Included examples in Python and TypeScript for interacting with REST -APIs. - - Explained query types, dynamic queries, and endpoint access. -- Provided guidance on accessing auto-generated documentation and -downloading the OpenAPI spec. +- Updated links and added detailed instructions for generating types +using `metagen`. - +- **Refactor** +- Switched from `HashMap` to `BTreeMap` and `HashSet` to `BTreeSet` in +various modules for better data structure handling. + - Added logging enhancements in the `Typegate` class. ---------- +- **Chores** + - Updated build script for Rust WebAssembly target. + +
-Bump deno to 1.43.6 (#737) +Programmatic deployment blogpost (#752) -Update deno to 1.43.6 and make requisite changes. +Blogpost to help discover programmatic deployment additions. + + +#### Migration notes + +... + +- [ ] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change + + + + +## Summary by CodeRabbit + +- **New Features** +- Introduced programmatic deployment feature for deploying typegraphs +within the Metatype ecosystem using TypeScript/Python SDKs. +- Added new configuration options and deployment functions to enhance +automation and flexibility in deployment processes. + +- **Documentation** +- Added a new blog post detailing the programmatic deployment feature +and its usage. + + + +
+ + +### Features + +
+ +(SDK) Add `globs` and `dir` support for artifact deps. (#698) + + +- [x] Include glob and dir support for `PythonRuntime` deps. +- [x] Include glob and dir support for `DenoRuntime` deps. +- [x] add tests -Required because of dep conflicts with latest lade-sdk. +The change includes support for declaring artifact dependencies through +`globs` and `dirs` + + + + + + + +[MET-441](https://linear.app/metatypedev/issue/MET-441/sdk-support-globs-and-directories-in-artifact-dependencies) + + #### Migration notes -- [ ] The change comes with new or modified tests +In the `deps` parameter for `python.import(...)` and `deno.import(...)`, +globs and dirs can be passed in addition to files. + + +- [x] The change come with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change + + + +## Summary by CodeRabbit + +- **New Features** +- Introduced functionality for defining and deploying Typegraphs for +Deno and Python runtimes. +- Added support for defining a Deno runtime dependency graph with +policies for test scenarios. + +- **Bug Fixes** +- Corrected the structure of the `Deno.serve` call in the `serve` +function. + +- **Refactor** +- Enhanced method chaining for better readability in the `MetaTest` +class. + +- **Tests** +- Updated test coverage reporting to include new Deno runtime test +files. + - Commented out and removed outdated test cases in Deno runtime tests. + +- **Chores** + - Updated platform specification in configuration files. + + ---------
-Update `rust` dependencies (#748) +(docs) Add `embedded typegate` page (#747) +# Embedded typegate docs page + +- [x] need a page under meta-cli/embedded typegate to explain how that +works +- [x] tutorials should take advantage of the embedded one +- [x] the embedded one should be the default everything +- [x] explain that there is 2 flavors in reference/meta-cli + + +[MET-562](https://linear.app/metatypedev/issue/MET-562/docs-use-embedded-whenever-possible-in-the-docs-and-examples) -update Rust dependencies +- - -[MET-479](https://linear.app/metatypedev/issue/MET-479/sdkgate-update-rust-dependencies) +- #### Migration notes _No Migrations Needed_ - ... - [ ] The change comes with new or modified tests @@ -3039,69 +2985,95 @@ _No Migrations Needed_
-Bump `METATYPE_VERSION` to 0.4.3 (#764) - - - - -
- - -## [v0.4.2](https://github.com/metatypedev/metatype/releases/tag/v0.4.2) - 2024-05-22 - -### Bug Fixes - -
- -(release) Fix fat CLI compilation (#730) +(mdk) Mdk python (#707) -- Fix fat CLI compilation -- Bump to 0.4.2 -- Bump wasmtime to 21 -- Bump rust to 1.78.0 +Mdk for python runtime +#### Migration notes +None -- [x] The change comes with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change + +## Summary by CodeRabbit + +- **New Features** +- Introduced new functionalities for generating Python code based on +configurations, including handling of templates and required objects. +- Added Python script templates for defining typed functions and +structured objects with comprehensive data type handling. + - Enhanced type management and priority handling in utility functions. + +- **Documentation** +- Provided detailed summaries and documentation for new functionalities +and templates. + +- **Refactor** +- Implemented new structures and methods for efficient code generation +and type handling. + +- **Tests** + - Added tests for defining typegraph structures and policies in Python. + +- **Chores** +- Updated URLs in the `.ghjk/deno.lock` file to reflect new changes in +the codebase. + ---------
+
+ +(mdk) `mdk_typescript` (#739) + - BREAKING: `mdk_typescript` (#739) + +- Implements the `mdk_typescript` code generator for typescript type +inference on Deno runtime external modules. +- Ports the very simple generator already present in meta-cli. +- Removes old codegen from cli and sdk. -## [v0.4.1](https://github.com/metatypedev/metatype/releases/tag/v0.4.1) - 2024-05-20 +#### Migration notes -### Bug Fixes +- Metagen section of `metatype.yaml` has changed. Targets are now lists +instead of maps, items no sporting `generator` field instead of key +acting as ref to generator. +- (sdk) WasmRuntime's `fromExport` method has been renamed to `export` +to make it more uniform to handler. +- (sdk) WasmRuntime `export` and `handler` method's now expect +handler/func name under `name` instead of `func`. +- (sdk) `codegen` flag has been removed from `ArtifactsConfig` object. +- (cli) `gen mod/mdk` has been simplified to just `gen` as the previous +mod option is no longer avail. -
- -(SDK) Artifact upload fails when same file referred multiple times (#715) - +--- -- [x] fix the bug where duplicate artifact references causing failure -during artifact resolution(typegate) during runtime. -- [x] add sync mode tests for Python and Deno runtime. -- [x] add other edge test cases to artifact upload. - - [x] test for no artifact in typegraph - - [x] test for duplicate artifact reference in the same typegraph +- [x] The change comes with new or modified tests +- [x] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change
-(gate) Improve logging and responses, prepare 0.4.1 (#714) +(mdk,gate) Hostcall (#706) -- Logging before and after each faillible operation - - Runtimes: foreign resolvers -- Always log before reporting error: HTTP response -- Fix error code in artifact_service -- Add `BaseError` class for structured messages in responses +Introduces a mechanism for wasm materializers to access hostgate +functions. + +This implements a pretty basic JSON wire interface, a singular +`hostcall` function that's exposed to materializers. The only +implemented function on this interface are `gql` queries. + +This is a stacked PR on top of #687. + +MET-473. + +- [x] The change come with new or modified tests @@ -3112,96 +3084,75 @@ during artifact resolution(typegate) during runtime. ## Summary by CodeRabbit - **New Features** -- Updated Docker image versions and dependency versions to ensure -compatibility and stability. - - Added a search functionality to the app. +- Added an import statement for `std_url` and a new task for installing +WASI adapter related files. +- Introduced new functionalities in the application's runtime to support +additional parameters and error handling. + +- **Enhancements** +- Improved the application's handling of GraphQL queries with new error +types and display methods. +- Enhanced the WASM runtime build process to target a more appropriate +architecture. - **Bug Fixes** -- Enhanced error handling with specific error classes for more detailed -error messages. +- Fixed issues in Python and WASM runtime tests to ensure reliability +and performance. -- **Refactor** -- Replaced generic `Error` instances with specific error classes for -better error categorization. -- Refactored error handling in HTTP response functions to use a -`BaseError` class. +- **Documentation** +- Updated internal documentation to reflect new command interfaces and +environmental interactions in the application's CLI tools. -- **Chores** -- Updated version numbers across multiple configuration files to -`0.4.1-0`. +- **Refactor** +- Refactored various internal APIs to improve code maintainability and +efficiency. ---------
- - -### Features -
-Polish documentation and project (#696) +(meta-test) Update `t.engine()` impl (#716) - +Update the implementation of `t.engine()` -- update the headline, the overviews and many other documentation areas -- upgrades the dependencies. +The change comes with removing the different spin-offs of `t.engine` +which arose from the previous impl of t.engine incompatibility with +artifact upload protocol. The change will make `t.engine` deploy the +artifacts in Artifact Resolution mode by running a shell command to +deploy the typegraph. +... - - -- [ ] The change come with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments -- [x] End-user documentation is updated to reflect the change - - - -## Summary by CodeRabbit - + -- **Bug Fixes** -- Updated Docker image version for the `typegate` service to ensure -stability and compatibility. -- **Documentation** -- Revised `TAGLINE` for better clarity on supported languages: WASM, -Typescript, and Python. -- Updated version declarations for improved consistency and -functionality across multiple files. +[MET-500](https://linear.app/metatypedev/issue/MET-500/test-update-the-implementation-of-tengine) - + ---------- - -
- - -### Miscellaneous Tasks - -
- -(docs) Final polish to comparison table. (#709) - - -some changes to comparison table(docs) +- [x] remove different versions of `t.engine` +- [x] add tg_deploy caller script which imports typegraphs dynamically +and deploys them. +- [x] make changes to make `t.engine` run in artifact resolution mode +- [x] update existing tests to adhere to the current change +- [x] pass unique different `tempDir`s to all the typegate instances +created during test. +- [x] add support for authoring multiple typegraphs in a single file in +`meta-test` and add multi typegraph tests. #### Migration notes -_No Migrations Needed_ +python SDK test typegraphs' function names should be the same with the +filename of the typegraph file, for dynamic import compatibility +reasons. ## Summary by CodeRabbit +- **New Features** +- Introduced a new function `wasm_duplicate` to handle WebAssembly +runtimes with specific policies. + +- **Refactor** +- Renamed and refactored functions and test setups to align with updated +test frameworks and improve code clarity. -- **Documentation** -- Introduced a new section on Artifact Tracking Protocol in the -architecture documentation, explaining artifact classification and -tracking modes in Metatype. -- Updated comparisons documentation with additional platforms, criteria -for choosing Metatype, and detailed feature comparison tables. -- Renamed project directory for clarity and consistency in project setup -documentation. - **Bug Fixes** - - Removed outdated `TODO` comment in installation documentation. +- Added error handling in the `getLocalPath` function to log warnings if +linking errors occur. +- **Tests** +- Updated test scripts to reflect changes in function calls, imports, +and engine instantiation for better test accuracy and reliability.
-Bump to version 0.4.1-0 (#713) +Doc polish (#735) -- Bumps version to 0.4.1-0. -- Fixes broken release CI. -- #719 -- Adds 20 minutes to test-full timeout. +- doc polish and cleanup +- upgrade website except Docusaurus as the css issue is stil present +- bump to next pre-release +- not everything is done, but let's iterate! - -## Summary by CodeRabbit ## Summary by CodeRabbit - **New Features** -- Updated platform support for better compatibility with "x86_64-linux". + - Added platform compatibility for `x86_64-linux`. +- Introduced new functionalities for generating Python code and enhanced +type management. +- Added import statement for `std_url` and new task for installing WASI +adapter files. +- Enhanced runtime support for additional parameters and error handling. -- **Bug Fixes** -- Minor version updates across multiple configurations to enhance -stability. +- **Improvements** +- Enhanced GraphQL query handling with new error types and display +methods. +- Improved WASM runtime build process for better architecture targeting. -- **Chores** -- Updated version numbers from "0.4.0" to "0.4.1-0" across various files -and configurations. +- **Documentation** + - Updated feature overview and added a "Features Roadmap" component. + - Enhanced various guides and references for better clarity. +- Added new sections for Typegate, Typegraph, Runtimes, Prisma, Auth, +Tooling, and SDK. + - Corrected typos and improved code example presentation. -- **Refactor** -- Adjusted build and test scripts for improved efficiency and -compatibility. +- **Bug Fixes** + - Fixed issues in Python and WASM runtime tests to ensure reliability. -- **Documentation** -- Enhanced internal documentation to reflect version and platform -changes. --------- @@ -3277,272 +3230,298 @@ changes.
-## [v0.4.0](https://github.com/metatypedev/metatype/releases/tag/v0.4.0) - 2024-05-09 - -### Bug Fixes +### Miscellaneous Tasks
-(gh-tests) Fix local npm registry config (#692) +(docs) Replace term materializer with function for user facing concepts (#736) - +#### Migration notes - +None -Fix the NPM registry config in the Github tests. +- [ ] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change - - + - +## Summary by CodeRabbit -#### Migration notes +- **Documentation** +- Updated terminology from "materializers" to "functions" across various +documentation files to reflect a semantic shift and provide clearer +descriptions. +- Improved clarity in descriptions of custom functions, runtimes, and +their roles in the Metatype computing model. +- Corrected typos and refined explanations in multiple guides and +reference documents. -_N/A_ +These changes enhance the readability and consistency of our +documentation, making it easier for users to understand and implement +the features and concepts within the system. - +
-Website and headline (#691) +(docs) Embedded typegate (v0.3.x) blog (#750) - - -#### Motivation and context - -Fix the CSS issue introduced by docusaurus 3.2.0 -(https://github.com/facebook/docusaurus/issues/10005). 3.2.1 should fix -it but the affected version maybe loaded by dependencies, so we will -have to wait a bit more. +# Add a blog about Embedded Typegate. - + - +[MET-564](https://linear.app/metatypedev/issue/MET-564/docs-embedded-typegate-v03x) -### Checklist + -- [ ] The change come with new or modified tests -- [x] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change ---------- - -
-
- -Do not override log level when no verbosity flag is present (#694) - - - + - +#### Migration notes -Remove log level override by the verbosity flag when no flag is present. -It will default to the configured env_logger default level (or env -variable). +_No Migrations Needed_ - +- [ ] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change -... - + -The default log level became "error" after #664, and `RUST_LOG` -environment variable where ignored. +## Summary by CodeRabbit - +- **New Features** +- Introduced a new blog post on emulating server nodes locally using the +Embedded Typegate feature in Meta CLI. +- Added a new `BlogIntro` component to the website for displaying styled +blog introductions. -#### Migration notes +- **Documentation** +- Updated documentation to explain how to spin up a local instance of +Typegate for testing and development. -_N/A_ +- **Chores** +- Updated platform compatibility from "x86_64-linux" to +"aarch64-darwin". - +
- - -### Documentation -
-Add examples for each command (#684) +(website) `g.rest` reference at `/docs/reference/rest` (#734) -#### Motivation and context - -Getting started with `meta` cli should be easy +Add reference page for `g.rest(..)` #### Migration notes None -### Checklist - -- [ ] The change come with new or modified tests +- [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change +- [x] End-user documentation is updated to reflect the change + + + + +## Summary by CodeRabbit + +- **Documentation** + - Added a reference to the REST reference section in the REST guide. + - Introduced new documentation for consuming APIs using Metatype. +- Included examples in Python and TypeScript for interacting with REST +APIs. + - Explained query types, dynamic queries, and endpoint access. +- Provided guidance on accessing auto-generated documentation and +downloading the OpenAPI spec. + + + +---------
-Improve `/tutorials/quick-start` section. (#681) +Bump deno to 1.43.6 (#737) -- [x] Improve Layout -- [x] Include a simple project. -- [x] Add the result/outputs to running CLI commands. -- [x] Remove Metatype cloud registration form. -- [x] Separate the CLI commands to separate code blocks -- [x] Add links to references and concepts. -- [x] Add playground. - -#### Motivation and context +Update deno to 1.43.6 and make requisite changes. -[Docs -Meta-task](https://linear.app/metatypedev/issue/MET-440/docs-meta-task) +Required because of dep conflicts with latest lade-sdk. #### Migration notes -_No Migration Needed_ - -### Checklist +- [ ] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change -- [x] Test the commands and the examples. -- [ ] The change come with new or modified tests +---------
-Improve `/docs/tutorials/metatype-basics` (#688) +Update `rust` dependencies (#748) -Improve `/docs/tutorials/metatype-basics` + + + + +update Rust dependencies + + + + +[MET-479](https://linear.app/metatypedev/issue/MET-479/sdkgate-update-rust-dependencies) -[Docs -Meta-task](https://linear.app/metatypedev/issue/MET-440/docs-meta-task) + #### Migration notes _No Migrations Needed_ -### Checklist +... -- [ ] The change come with new or modified tests +- [ ] The change comes with new or modified tests +- [ ] Hard-to-understand functions have explanatory comments +- [ ] End-user documentation is updated to reflect the change
-Improve `/reference/runtimes/` (#676) +Bump `METATYPE_VERSION` to 0.4.3 (#764) -#### Motivation and context - -Better documentation - -#### Migration notes - -N/A - -### Checklist - -- [ ] The change come with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments -- [x] End-user documentation is updated to reflect the change +
+ + +## [v0.4.2](https://github.com/metatypedev/metatype/releases/tag/v0.4.2) - 2024-05-22 + +### Bug Fixes +
-Improve `/guides/external-functions` (#677) +(release) Fix fat CLI compilation (#730) -- Improvements to the `/guides/external-functions` page. -- Adds a configuration file for git-town - -#### Motivation and context - -_N/A_ - -#### Migration notes +- Fix fat CLI compilation +- Bump to 0.4.2 +- Bump wasmtime to 21 +- Bump rust to 1.78.0 -_N/A_ -### Checklist -- [ ] The change come with new or modified tests +- [x] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change ---------
+ + +## [v0.4.1](https://github.com/metatypedev/metatype/releases/tag/v0.4.1) - 2024-05-20 + +### Bug Fixes + +
+ +(SDK) Artifact upload fails when same file referred multiple times (#715) + + +- [x] fix the bug where duplicate artifact references causing failure +during artifact resolution(typegate) during runtime. +- [x] add sync mode tests for Python and Deno runtime. +- [x] add other edge test cases to artifact upload. + - [x] test for no artifact in typegraph + - [x] test for duplicate artifact reference in the same typegraph + +
-Improve `docs/reference/types` (#685) +(gate) Improve logging and responses, prepare 0.4.1 (#714) -Improves `docs/reference/types` +- Logging before and after each faillible operation + - Runtimes: foreign resolvers +- Always log before reporting error: HTTP response +- Fix error code in artifact_service +- Add `BaseError` class for structured messages in responses -#### Motivation and context + -_N/A_ -#### Migration notes + +## Summary by CodeRabbit -_N/A_ +- **New Features** +- Updated Docker image versions and dependency versions to ensure +compatibility and stability. + - Added a search functionality to the app. -### Checklist +- **Bug Fixes** +- Enhanced error handling with specific error classes for more detailed +error messages. -- [ ] The change come with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments -- [x] End-user documentation is updated to reflect the change +- **Refactor** +- Replaced generic `Error` instances with specific error classes for +better error categorization. +- Refactored error handling in HTTP response functions to use a +`BaseError` class. + +- **Chores** +- Updated version numbers across multiple configuration files to +`0.4.1-0`. + ---------
+ + +### Features +
-Add a comparison b/n metatype and other similar solutions/products. (#697) +Polish documentation and project (#696) -- Adds a comparison table between metatype and other similar services. -- Add artifact upload protocol to `Architecture` section in docs. - - +- update the headline, the overviews and many other documentation areas +- upgrades the dependencies. - + -[MET-443](https://linear.app/metatypedev/issue/MET-443/include-comparisons-with-other-products-similar-to-metatype) -#### Migration notes -_No Migration Needed_ - - +- [x] End-user documentation is updated to reflect the change + + + +## Summary by CodeRabbit + + +- **Bug Fixes** +- Updated Docker image version for the `typegate` service to ensure +stability and compatibility. + +- **Documentation** +- Revised `TAGLINE` for better clarity on supported languages: WASM, +Typescript, and Python. +- Updated version declarations for improved consistency and +functionality across multiple files. + + + +---------
-### Features - -
- -(cli) Timeout loader process (#693) - - - +### Miscellaneous Tasks -
-(cli,sdk) Better error messages (#689) +(docs) Final polish to comparison table. (#709) -#### Motivation and context - -Make it more clear where failures happen +some changes to comparison table(docs) #### Migration notes -None - -### Checklist +_No Migrations Needed_ + -#### Migration notes -No changes needed. + +## Summary by CodeRabbit -### Checklist -- [x] The change come with new or modified tests -- [x] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change +- **Documentation** +- Introduced a new section on Artifact Tracking Protocol in the +architecture documentation, explaining artifact classification and +tracking modes in Metatype. +- Updated comparisons documentation with additional platforms, criteria +for choosing Metatype, and detailed feature comparison tables. +- Renamed project directory for clarity and consistency in project setup +documentation. +- **Bug Fixes** + - Removed outdated `TODO` comment in installation documentation. ---------- +
-Upload `PythonRuntime` artifacts and deps (#672) +Bump to version 0.4.1-0 (#713) -#### Motivation and context +- Bumps version to 0.4.1-0. +- Fixes broken release CI. +- #719 +- Adds 20 minutes to test-full timeout. -Track artifact/module dependencis for `PythonRuntime` + -#### Migration notes + +## Summary by CodeRabbit -`python.import(...)` and `python.import_(...)` accept an optional parameter `deps` that accepts list of dependencies for the python module. +## Summary by CodeRabbit -### Checklist +- **New Features** +- Updated platform support for better compatibility with "x86_64-linux". -- [x] The change come with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change +- **Bug Fixes** +- Minor version updates across multiple configurations to enhance +stability. + +- **Chores** +- Updated version numbers from "0.4.0" to "0.4.1-0" across various files +and configurations. + +- **Refactor** +- Adjusted build and test scripts for improved efficiency and +compatibility. + +- **Documentation** +- Enhanced internal documentation to reflect version and platform +changes. + ---------
+ + +## [v0.4.0](https://github.com/metatypedev/metatype/releases/tag/v0.4.0) - 2024-05-09 + +### Documentation +
-Upload `DenoRuntime` artifacts and deps (#674) +Add a comparison b/n metatype and other similar solutions/products. (#697) -- [x] Track deno runtime artifacts(also dependencies) -- [x] Upload artifacts during deploy to either local(single replica) or -shared(s3) -- [x] resolve artifacts(module and deps) upon typegate runtime. + -Persisting deno runtime artifacts to a local/shared storage. + +- Adds a comparison table between metatype and other similar services. +- Add artifact upload protocol to `Architecture` section in docs. -#### Migration notes + -`deno.import(...)` and `deno.import_(...)` accept an optional parameter -that accepts list of dependencies for the deno/ts module. -### Checklist + -- [x] The change come with new or modified tests +[MET-443](https://linear.app/metatypedev/issue/MET-443/include-comparisons-with-other-products-similar-to-metatype) + + + +#### Migration notes +_No Migration Needed_ + +
-
- -Enable batch prisma queries in the typegate runtime (#682) - - -Enable batch prisma queries (and transaction) in the typegate runtime - -#### Motivation and context - -Console - -[MET-381](https://linear.app/metatypedev/issue/MET-381/console-collections) - -#### Migration notes - - -### Checklist -- [x] The change come with new or modified tests -- [ ] Hard-to-understand functions have explanatory comments -- [ ] End-user documentation is updated to reflect the change - ---------- +### Features -
Artifact removal (#668) @@ -3806,14 +3798,6 @@ and stability with the new software version 0.4.0. --------- -
-
- -(sdk,gate) Bump wasmtime to 20.0.0 and wit-bindgen to 0.24.0 (#695) - - - -
@@ -3844,3 +3828,6 @@ Make sure to sync `typegate/src/types.ts` when an update is made on the typegraph schema.
+ + + diff --git a/Cargo.lock b/Cargo.lock index db49daf38..54ad24769 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1600,7 +1600,7 @@ dependencies = [ [[package]] name = "common" -version = "0.5.0-rc.5" +version = "0.5.0-rc.6" dependencies = [ "anyhow", "async-trait", @@ -6891,7 +6891,7 @@ dependencies = [ [[package]] name = "meta-cli" -version = "0.5.0-rc.5" +version = "0.5.0-rc.6" dependencies = [ "actix", "assert_cmd", @@ -6958,7 +6958,7 @@ dependencies = [ [[package]] name = "metagen" -version = "0.5.0-rc.5" +version = "0.5.0-rc.6" dependencies = [ "color-eyre", "common", @@ -7307,7 +7307,7 @@ dependencies = [ [[package]] name = "mt_deno" -version = "0.5.0-rc.5" +version = "0.5.0-rc.6" dependencies = [ "anyhow", "deno", @@ -11268,7 +11268,7 @@ dependencies = [ [[package]] name = "substantial" -version = "0.5.0-rc.5" +version = "0.5.0-rc.6" dependencies = [ "anyhow", "chrono", @@ -12756,7 +12756,7 @@ dependencies = [ [[package]] name = "typegate" -version = "0.5.0-rc.5" +version = "0.5.0-rc.6" dependencies = [ "colored", "env_logger 0.11.0", @@ -12769,7 +12769,7 @@ dependencies = [ [[package]] name = "typegate_engine" -version = "0.5.0-rc.5" +version = "0.5.0-rc.6" dependencies = [ "anyhow", "base64 0.22.1", @@ -12814,7 +12814,7 @@ dependencies = [ [[package]] name = "typegraph_core" -version = "0.5.0-rc.5" +version = "0.5.0-rc.6" dependencies = [ "anyhow", "color-eyre", @@ -14567,7 +14567,7 @@ checksum = "791978798f0597cfc70478424c2b4fdc2b7a8024aaff78497ef00f24ef674193" [[package]] name = "xtask" -version = "0.5.0-rc.5" +version = "0.5.0-rc.6" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index dc6aa6319..81d6052c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ exclude = [ ] [workspace.package] -version = "0.5.0-rc.5" +version = "0.5.0-rc.6" edition = "2021" [workspace.dependencies] diff --git a/examples/templates/deno/api/example.ts b/examples/templates/deno/api/example.ts index 65ca61262..3dfd55f70 100644 --- a/examples/templates/deno/api/example.ts +++ b/examples/templates/deno/api/example.ts @@ -1,6 +1,6 @@ -import { Policy, t, typegraph } from "jsr:@typegraph/sdk@0.5.0-rc.5/index.ts"; -import { PythonRuntime } from "jsr:@typegraph/sdk@0.5.0-rc.5/runtimes/python.ts"; -import { DenoRuntime } from "jsr:@typegraph/sdk@0.5.0-rc.5/runtimes/deno.ts"; +import { Policy, t, typegraph } from "jsr:@typegraph/sdk@0.5.0-rc.6/index.ts"; +import { PythonRuntime } from "jsr:@typegraph/sdk@0.5.0-rc.6/runtimes/python.ts"; +import { DenoRuntime } from "jsr:@typegraph/sdk@0.5.0-rc.6/runtimes/deno.ts"; await typegraph("example", (g) => { const pub = Policy.public(); diff --git a/examples/templates/deno/compose.yml b/examples/templates/deno/compose.yml index 32eaab03f..a911a1a8d 100644 --- a/examples/templates/deno/compose.yml +++ b/examples/templates/deno/compose.yml @@ -1,6 +1,6 @@ services: typegate: - image: ghcr.io/metatypedev/typegate:v0.5.0-rc.5 + image: ghcr.io/metatypedev/typegate:v0.5.0-rc.6 restart: always ports: - "7890:7890" diff --git a/examples/templates/node/compose.yml b/examples/templates/node/compose.yml index 1814897da..5a51e0e18 100644 --- a/examples/templates/node/compose.yml +++ b/examples/templates/node/compose.yml @@ -1,6 +1,6 @@ services: typegate: - image: ghcr.io/metatypedev/typegate:v0.5.0-rc.5 + image: ghcr.io/metatypedev/typegate:v0.5.0-rc.6 restart: always ports: - "7890:7890" diff --git a/examples/templates/node/package.json b/examples/templates/node/package.json index 8fd1ab330..87626906b 100644 --- a/examples/templates/node/package.json +++ b/examples/templates/node/package.json @@ -6,7 +6,7 @@ "dev": "MCLI_LOADER_CMD='npm x tsx' meta dev" }, "dependencies": { - "@typegraph/sdk": "^0.5.0-rc.5" + "@typegraph/sdk": "^0.5.0-rc.6" }, "devDependencies": { "tsx": "^3.13.0", diff --git a/examples/templates/python/compose.yml b/examples/templates/python/compose.yml index 1814897da..5a51e0e18 100644 --- a/examples/templates/python/compose.yml +++ b/examples/templates/python/compose.yml @@ -1,6 +1,6 @@ services: typegate: - image: ghcr.io/metatypedev/typegate:v0.5.0-rc.5 + image: ghcr.io/metatypedev/typegate:v0.5.0-rc.6 restart: always ports: - "7890:7890" diff --git a/examples/templates/python/pyproject.toml b/examples/templates/python/pyproject.toml index 4f7581522..d96722f35 100644 --- a/examples/templates/python/pyproject.toml +++ b/examples/templates/python/pyproject.toml @@ -1,12 +1,12 @@ [tool.poetry] name = "example" -version = "0.5.0-rc.5" +version = "0.5.0-rc.6" description = "" authors = [] [tool.poetry.dependencies] python = ">=3.8,<4.0" -typegraph = "0.5.0-rc.5" +typegraph = "0.5.0-rc.6" [build-system] requires = ["poetry-core"] diff --git a/pyproject.toml b/pyproject.toml index 3fe689498..3286edbfc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ [tool.poetry] name = "metatype" -version = "0.5.0-rc.5" +version = "0.5.0-rc.6" description = "" authors = [] diff --git a/src/meta-lsp/package.json b/src/meta-lsp/package.json index 6d5daf839..687932fa8 100644 --- a/src/meta-lsp/package.json +++ b/src/meta-lsp/package.json @@ -4,7 +4,7 @@ "description": "VSCode extension for Metatype support", "icon": "logo.png", "author": "Metatype Team", - "version": "0.5.0-rc.5", + "version": "0.5.0-rc.6", "repository": { "type": "git", "url": "https://github.com/metatypedev/metatype" diff --git a/src/meta-lsp/ts-language-server/package.json b/src/meta-lsp/ts-language-server/package.json index e3f80f477..0aca12ac3 100644 --- a/src/meta-lsp/ts-language-server/package.json +++ b/src/meta-lsp/ts-language-server/package.json @@ -2,7 +2,7 @@ "name": "typegraph-ts-server", "description": "TypeScript language server for TypeGraph", "author": "Metatype Team", - "version": "0.5.0-rc.5", + "version": "0.5.0-rc.6", "repository": { "type": "git", "url": "https://github.com/metatypedev/metatype" diff --git a/src/meta-lsp/vscode-metatype-support/package.json b/src/meta-lsp/vscode-metatype-support/package.json index a8cf018d2..4e59ab4ea 100644 --- a/src/meta-lsp/vscode-metatype-support/package.json +++ b/src/meta-lsp/vscode-metatype-support/package.json @@ -2,7 +2,7 @@ "name": "vscode-metatype-support", "description": "VSCode extension for Metatype support", "author": "Metatype Team", - "version": "0.5.0-rc.5", + "version": "0.5.0-rc.6", "repository": { "type": "git", "url": "https://github.com/metatypedev/metatype" diff --git a/src/pyrt_wit_wire/pyproject.toml b/src/pyrt_wit_wire/pyproject.toml index 429c6d1d1..2219100ce 100644 --- a/src/pyrt_wit_wire/pyproject.toml +++ b/src/pyrt_wit_wire/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pyrt_wit_wire" -version = "0.5.0-rc.5" +version = "0.5.0-rc.6" description = "Wasm component implementing the PythonRuntime host using wit_wire protocol." license = "MPL-2.0" readme = "README.md" diff --git a/src/typegate/src/runtimes/wit_wire/mod.ts b/src/typegate/src/runtimes/wit_wire/mod.ts index 0270fd221..f6299e8ca 100644 --- a/src/typegate/src/runtimes/wit_wire/mod.ts +++ b/src/typegate/src/runtimes/wit_wire/mod.ts @@ -9,7 +9,7 @@ import { getLogger } from "../../log.ts"; const logger = getLogger(import.meta); -const METATYPE_VERSION = "0.5.0-rc.5"; +const METATYPE_VERSION = "0.5.0-rc.6"; export class WitWireMessenger { static async init( diff --git a/src/typegraph/core/Cargo.toml b/src/typegraph/core/Cargo.toml index 6752ff48f..7df464726 100644 --- a/src/typegraph/core/Cargo.toml +++ b/src/typegraph/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "typegraph_core" -version = "0.5.0-rc.5" +version = "0.5.0-rc.6" edition = "2021" [lib] diff --git a/src/typegraph/core/src/global_store.rs b/src/typegraph/core/src/global_store.rs index dd31e9f31..5f95ee80a 100644 --- a/src/typegraph/core/src/global_store.rs +++ b/src/typegraph/core/src/global_store.rs @@ -107,7 +107,7 @@ const PREDEFINED_DENO_FUNCTIONS: &[&str] = &["identity", "true"]; thread_local! { pub static STORE: RefCell = RefCell::new(Store::new()); - pub static SDK_VERSION: String = "0.5.0-rc.5".to_owned(); + pub static SDK_VERSION: String = "0.5.0-rc.6".to_owned(); } fn with_store T>(f: F) -> T { diff --git a/src/typegraph/deno/deno.json b/src/typegraph/deno/deno.json index 99d2a8b2d..960caa6de 100644 --- a/src/typegraph/deno/deno.json +++ b/src/typegraph/deno/deno.json @@ -1,6 +1,6 @@ { "name": "@typegraph/sdk", - "version": "0.5.0-rc.5", + "version": "0.5.0-rc.6", "publish": { "exclude": [ "!src/gen", diff --git a/src/typegraph/python/pyproject.toml b/src/typegraph/python/pyproject.toml index bc4c252bd..582d73e18 100644 --- a/src/typegraph/python/pyproject.toml +++ b/src/typegraph/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "typegraph" -version = "0.5.0-rc.5" +version = "0.5.0-rc.6" description = "Declarative API development platform. Build backend components with WASM, Typescript and Python, no matter where and how your (legacy) systems are." authors = ["Metatype Contributors "] license = "MPL-2.0" diff --git a/src/typegraph/python/typegraph/__init__.py b/src/typegraph/python/typegraph/__init__.py index ef07c55fd..d6b9ef338 100644 --- a/src/typegraph/python/typegraph/__init__.py +++ b/src/typegraph/python/typegraph/__init__.py @@ -5,4 +5,4 @@ from typegraph.policy import Policy # noqa from typegraph import effects as fx # noqa -version = "0.5.0-rc.5" +version = "0.5.0-rc.6" diff --git a/src/xtask/Cargo.toml b/src/xtask/Cargo.toml index a93a17451..a792626bb 100644 --- a/src/xtask/Cargo.toml +++ b/src/xtask/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xtask" -version = "0.5.0-rc.5" +version = "0.5.0-rc.6" edition = "2021" # this allows us to exclude the rust files diff --git a/tests/metagen/__snapshots__/metagen_test.ts.snap b/tests/metagen/__snapshots__/metagen_test.ts.snap index 87775e9db..8631459cd 100644 --- a/tests/metagen/__snapshots__/metagen_test.ts.snap +++ b/tests/metagen/__snapshots__/metagen_test.ts.snap @@ -448,7 +448,7 @@ impl Router { } pub fn init(&self, args: InitArgs) -> Result { - static MT_VERSION: &str = "0.5.0-rc.5"; + static MT_VERSION: &str = "0.5.0-rc.6"; if args.metatype_version != MT_VERSION { return Err(InitError::VersionMismatch(MT_VERSION.into())); } @@ -1254,7 +1254,7 @@ impl Router { } pub fn init(&self, args: InitArgs) -> Result { - static MT_VERSION: &str = "0.5.0-rc.5"; + static MT_VERSION: &str = "0.5.0-rc.6"; if args.metatype_version != MT_VERSION { return Err(InitError::VersionMismatch(MT_VERSION.into())); } diff --git a/tests/runtimes/wasm_reflected/rust/Cargo.toml b/tests/runtimes/wasm_reflected/rust/Cargo.toml index ea6f24c97..7ffa7b88b 100644 --- a/tests/runtimes/wasm_reflected/rust/Cargo.toml +++ b/tests/runtimes/wasm_reflected/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rust" -version = "0.5.0-rc.5" +version = "0.5.0-rc.6" edition = "2021" [lib] diff --git a/tools/consts.ts b/tools/consts.ts index 4c1154917..898ab8eac 100644 --- a/tools/consts.ts +++ b/tools/consts.ts @@ -1,8 +1,8 @@ // Copyright Metatype OÜ, licensed under the Mozilla Public License Version 2.0. // SPDX-License-Identifier: MPL-2.0 -export const METATYPE_VERSION = "0.5.0-rc.5"; -export const PUBLISHED_VERSION = "0.5.0-rc.4"; +export const METATYPE_VERSION = "0.5.0-rc.6"; +export const PUBLISHED_VERSION = "0.5.0-rc.5"; export const GHJK_VERSION = "v0.2.1"; export const GHJK_ACTION_VERSION = "318209a9d215f70716a4ac89dbeb9653a2deb8bc"; export const RUST_VERSION = "1.80.1";