Socket
Socket
Sign inDemoInstall

@typegraph/sdk

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typegraph/sdk - npm Package Versions

13

0.4.3

Diff

Changelog

Source

v0.4.3 - 2024-06-22

Bug Fixes

<details > <summary> (ci) Poetry lockfile (<a href="https://github.com/metatypedev/metatype/pull/732">#732</a>) </summary>
  • Fixes poetry lockfile and adds pre-commit hook to prevent issue from happening
</details> <details > <summary> (docs) Fix demo typegraphs 2 (<a href="https://github.com/metatypedev/metatype/pull/756">#756</a>) </summary> <!-- Pull requests are squashed and merged using: - their title as the commit message - their description as the commit body Having a good title and description is important for the users to get readable changelog. -->

Fix example typegraphs on metatype.dev.

  • [x] reduce.ts
  • [x] policies.ts
  • [x] graphql.ts
  • [x] authentication.ts
<!-- 1. Explain WHAT the change is about -->

MET_574

<!-- 2. Explain WHY the change cannot be made simpler --> <!-- 3. Explain HOW users should update their code -->
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
</details> <details > <summary> (docs) Fix programmatic deployment guides (<a href="https://github.com/metatypedev/metatype/pull/762">#762</a>) </summary> <!-- Pull requests are squashed and merged using: - their title as the commit message - their description as the commit body Having a good title and description is important for the users to get readable changelog. -->
  • [x] Fix typo
  • [x] fix/test tg deploy
  • [x] fix/test tg remove
<!-- 1. Explain WHAT the change is about -->

MET-587

<!-- 2. Explain WHY the change cannot be made simpler -->
<!-- 3. Explain HOW users should update their code -->
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
</details> <details > <summary> Only build xtask once for the tests (<a href="https://github.com/metatypedev/metatype/pull/720">#720</a>) </summary>

Use the xtask binary to run the 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
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

Summary by CodeRabbit

  • New Features

    • Updated platform compatibility to x86_64-linux.
  • Added new configuration entry for enhanced versioning and platform support.

  • Improvements

  • Modified test script to use a custom build script for better test management.

These changes improve platform compatibility and streamline the testing process.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details> <details > <summary> Missing typegraphs (<a href="https://github.com/metatypedev/metatype/pull/741">#741</a>) </summary> <!-- Pull requests are squashed and merged using: - their title as the commit message - their description as the commit body Having a good title and description is important for the users to get readable changelog. -->

Fix Missing Typegraphs

<!-- 1. Explain WHAT the change is about -->
  • attempt to fix the missing typegraphs on metatype.dev.
<!-- 2. Explain WHY the change cannot be made simpler -->

MET-563

<!-- 3. Explain HOW users should update their code -->
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
</details> <details > <summary> Upload url path and add logging in the SDK (<a href="https://github.com/metatypedev/metatype/pull/740">#740</a>) </summary>
  • 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
  • The typegraphs.deno section of the metatype.yaml config file has been replaced by typegraphs.typescript and typegraphs.javascript.

  • tg_deploy params has changed.

  • [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

</details> <details > <summary> Failed typegraph deployment (<a href="https://github.com/metatypedev/metatype/pull/758">#758</a>) </summary> <!-- Pull requests are squashed and merged using: - their title as the commit message - their description as the commit body Having a good title and description is important for the users to get readable changelog. --> <!-- 1. Explain WHAT the change is about -->
  • Fix casing typo in the typescript sdk
  • Fix error reporting in the typescript sdk
  • Display the retry number
  • Warning on cancelled retry
<!-- 2. Explain WHY the change cannot be made simpler --> <!-- 3. Explain HOW users should update their code -->
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
</details>

Documentation

<details > <summary> `/docs/concepts/features-overview/` (<a href="https://github.com/metatypedev/metatype/pull/725">#725</a>) </summary>
  • Re-does the feature overview page of the documentation.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

Summary by CodeRabbit

  • New Features

  • Added a "Features Roadmap" component to the website, displaying a list of features with details and links.

  • 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.

  • 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.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details> <details > <summary> `/docs/reference/metagen` + `/docs/guides/wasm-functions` (<a href="https://github.com/metatypedev/metatype/pull/751">#751</a>) </summary>
  • Adds /docs/reference/metagen
  • Adds /docs/guides/wasm-functions
  • Adds a codegen section to /docs/guides/external-functions

MDK-492.

Migration notes

...

  • [ ] 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
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

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.

  • 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.
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details> <details > <summary> Programmatic deployment blogpost (<a href="https://github.com/metatypedev/metatype/pull/752">#752</a>) </summary>

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
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

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.

<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>

Features

<details > <summary> (SDK) Add `globs` and `dir` support for artifact deps. (<a href="https://github.com/metatypedev/metatype/pull/698">#698</a>) </summary>
  • [x] Include glob and dir support for PythonRuntime deps.
  • [x] Include glob and dir support for DenoRuntime deps.
  • [x] add tests

The change includes support for declaring artifact dependencies through globs and dirs

<!-- 2. Explain below WHY the change cannot be made simpler --> <!-- 3. Explain below WHY the was made or link an issue number -->

MET-441

<!-- 4. Explain HOW users should update their code or remove that section -->
Migration notes

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
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

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.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details> <details > <summary> (docs) Add `embedded typegate` page (<a href="https://github.com/metatypedev/metatype/pull/747">#747</a>) </summary> <!-- Pull requests are squashed and merged using: - their title as the commit message - their description as the commit body Having a good title and description is important for the users to get readable changelog. -->

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

<!-- 1. Explain WHAT the change is about -->
<!-- 2. Explain WHY the change cannot be made simpler -->
<!-- 3. Explain HOW users should update their code -->
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
</details> <details > <summary> (mdk) Mdk python (<a href="https://github.com/metatypedev/metatype/pull/707">#707</a>) </summary>

Mdk for python runtime

Migration notes

None

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

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.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details> <details open> <summary> (mdk) `mdk_typescript` (<a href="https://github.com/metatypedev/metatype/pull/739">#739</a>) - BREAKING: `mdk_typescript` (<a href="https://github.com/metatypedev/metatype/pull/739">#739</a>) </summary>
  • 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
</details> <details > <summary> (mdk,gate) Hostcall (<a href="https://github.com/metatypedev/metatype/pull/706">#706</a>) </summary>

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
<!-- 5. Readiness checklist - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change --> <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

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 of auto-generated comment: release notes by coderabbit.ai -->
</details> <details > <summary> (meta-test) Update `t.engine()` impl (<a href="https://github.com/metatypedev/metatype/pull/716">#716</a>) </summary>

Update the implementation of t.engine()

<!-- 1. Explain below WHAT the change is -->

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.

<!-- 2. Explain below WHY the change cannot be made simpler -->

...

<!-- 3. Explain below WHY the was made or link an issue number -->

MET-500

<!-- 4. Explain HOW users should update their code or remove that section -->
  • [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 tempDirs 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.

<!-- 5. Readiness checklist - [ ] The change come with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change --> <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

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.

  • Bug Fixes

  • 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.

<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details> <details > <summary> Doc polish (<a href="https://github.com/metatypedev/metatype/pull/735">#735</a>) </summary>
  • 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!
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

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.
  • Bug Fixes

    • Fixed issues in Python and WASM runtime tests to ensure reliability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details>

Miscellaneous Tasks

<details > <summary> (docs) Replace term materializer with function for user facing concepts (<a href="https://github.com/metatypedev/metatype/pull/736">#736</a>) </summary>

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.

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
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

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.

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.

<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details> <details > <summary> (docs) Embedded typegate (v0.3.x) blog (<a href="https://github.com/metatypedev/metatype/pull/750">#750</a>) </summary> <!-- Pull requests are squashed and merged using: - their title as the commit message - their description as the commit body Having a good title and description is important for the users to get readable changelog. -->

Add a blog about Embedded Typegate.

<!-- 1. Explain WHAT the change is about -->

MET-564

<!-- 2. Explain WHY the change cannot be made simpler --> <!-- 3. Explain HOW users should update their code -->
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
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

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.

  • Documentation

  • Updated documentation to explain how to spin up a local instance of Typegate for testing and development.

  • Chores

  • Updated platform compatibility from "x86_64-linux" to "aarch64-darwin".

<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details> <details > <summary> (website) `g.rest` reference at `/docs/reference/rest` (<a href="https://github.com/metatypedev/metatype/pull/734">#734</a>) </summary>

Add reference page for g.rest(..)

Migration notes

None

  • [ ] 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
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

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.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details> <details > <summary> Bump deno to 1.43.6 (<a href="https://github.com/metatypedev/metatype/pull/737">#737</a>) </summary>

Update deno to 1.43.6 and make requisite changes.

Required because of dep conflicts with latest lade-sdk.

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

</details> <details > <summary> Update `rust` dependencies (<a href="https://github.com/metatypedev/metatype/pull/748">#748</a>) </summary> <!-- Pull requests are squashed and merged using: - their title as the commit message - their description as the commit body Having a good title and description is important for the users to get readable changelog. --> <!-- 1. Explain WHAT the change is about -->

update Rust dependencies

<!-- 2. Explain WHY the change cannot be made simpler -->

MET-479

<!-- 3. Explain HOW users should update their code -->
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
</details> <details > <summary> Bump `METATYPE_VERSION` to 0.4.3 (<a href="https://github.com/metatypedev/metatype/pull/764">#764</a>) </summary> </details>
zifeo
published 0.4.2 •

Changelog

Source

v0.4.2 - 2024-05-22

Bug Fixes

<details > <summary> (release) Fix fat CLI compilation (<a href="https://github.com/metatypedev/metatype/pull/730">#730</a>) </summary>
  • Fix fat CLI compilation

  • Bump to 0.4.2

  • Bump wasmtime to 21

  • Bump rust to 1.78.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


</details>
zifeo
published 0.4.1 •

Changelog

Source

v0.4.1 - 2024-05-20

Bug Fixes

<details > <summary> (SDK) Artifact upload fails when same file referred multiple times (<a href="https://github.com/metatypedev/metatype/pull/715">#715</a>) </summary>
  • [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
</details> <details > <summary> (gate) Improve logging and responses, prepare 0.4.1 (<a href="https://github.com/metatypedev/metatype/pull/714">#714</a>) </summary>
  • 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
<!-- 5. Readiness checklist - [ ] The change come with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change --> <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

Summary by CodeRabbit

  • New Features

  • Updated Docker image versions and dependency versions to ensure compatibility and stability.

    • Added a search functionality to the app.
  • Bug Fixes

  • Enhanced error handling with specific error classes for more detailed error messages.

  • 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.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details>

Features

<details > <summary> Polish documentation and project (<a href="https://github.com/metatypedev/metatype/pull/696">#696</a>) </summary> <!-- Pull requests are squash merged using: - their title as the commit message - their description as the commit body Having a good title and description is important for the users to get readable changelog. --> <!-- 1. Explain below WHAT the change is -->
  • update the headline, the overviews and many other documentation areas
  • upgrades the dependencies.
<!-- 2. Explain below WHY the change cannot be made simpler --> <!-- 4. Explain HOW users should update their code or remove that section -->
  • [ ] 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
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

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.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details>

Miscellaneous Tasks

<details > <summary> (docs) Final polish to comparison table. (<a href="https://github.com/metatypedev/metatype/pull/709">#709</a>) </summary>

some changes to comparison table(docs)

Migration notes

No Migrations Needed

<!-- 5. Readiness checklist - [ ] The change come with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change --> <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

Summary by CodeRabbit

  • 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.
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details> <details > <summary> Bump to version 0.4.1-0 (<a href="https://github.com/metatypedev/metatype/pull/713">#713</a>) </summary>
  • Bumps version to 0.4.1-0.
  • Fixes broken release CI.
  • #719
  • Adds 20 minutes to test-full timeout.
<!-- 5. Readiness checklist - [ ] The change come with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change --> <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

Summary by CodeRabbit

Summary by CodeRabbit

  • New Features

  • Updated platform support for better compatibility with "x86_64-linux".

  • 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.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details>
zifeo
published 0.4.0 •

Changelog

Source

v0.4.0 - 2024-05-09

Bug Fixes

<details > <summary> (ci) Fix broken nighly jobs (<a href="https://github.com/metatypedev/metatype/pull/659">#659</a>) </summary>

Fixes the broken nightly builds. Look at solved results here.

Motivation and context

Nightly builds were broken due to oversight during the #571 fixes.

Migration notes

No changes required

Checklist

  • [ ] The change come with new or modified tests
  • [ ] Hard-to-understand functions have explanatory comments
  • [ ] End-user documentation is updated to reflect the change
</details> <details > <summary> (gh-tests) Fix local npm registry config (<a href="https://github.com/metatypedev/metatype/pull/692">#692</a>) </summary> <!-- Pull requests are squash merged using: - their title as the commit message - their description as the commit body Having a good title and description is important for the users to get readable changelog. --> <!-- 1. Explain below WHAT the change is -->

Fix the NPM registry config in the Github tests.

<!-- 2. Explain below WHY the change cannot be made simpler --> <!-- 3. Explain below WHY the was made or link an issue number --> <!-- 4. Explain HOW users should update their code or remove that section -->
Migration notes

N/A

<!-- 5. Readiness checklist - [ ] The change come with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change --> </details> <details > <summary> Set max log level based on verbose flag (<a href="https://github.com/metatypedev/metatype/pull/664">#664</a>) </summary>

Set max log level based on verbose flag

Motivation and context

MET-445

Migration notes

n/a

Checklist

  • [ ] The change come with new or modified tests
  • [ ] Hard-to-understand functions have explanatory comments
  • [ ] End-user documentation is updated to reflect the change
</details> <details > <summary> Fix secret passing (<a href="https://github.com/metatypedev/metatype/pull/675">#675</a>) </summary>

Fix secret passing in examples and documentation.

Motivation and context

Followup to #666.

Migration notes

N/A

Checklist

  • [x] 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
</details> <details > <summary> Website and headline (<a href="https://github.com/metatypedev/metatype/pull/691">#691</a>) </summary> <!-- Pull requests are squash merged using: - their title as the commit message - their description as the commit body Having a good title and description is important for the users to get readable changelog and understand when they need to update his code and how. --> <!-- Explain WHAT the change is -->
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.

<!-- Explain WHY the was made or link an issue number --> <!-- Explain HOW users should update their code when required -->

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

</details> <details > <summary> Do not override log level when no verbosity flag is present (<a href="https://github.com/metatypedev/metatype/pull/694">#694</a>) </summary> <!-- Pull requests are squash merged using: - their title as the commit message - their description as the commit body Having a good title and description is important for the users to get readable changelog. --> <!-- 1. Explain below WHAT the change is -->

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).

<!-- 2. Explain below WHY the change cannot be made simpler -->

...

<!-- 3. Explain below WHY the was made or link an issue number -->

The default log level became "error" after #664, and RUST_LOG environment variable where ignored.

<!-- 4. Explain HOW users should update their code or remove that section -->
Migration notes

N/A

<!-- 5. Readiness checklist - [ ] The change come with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change --> </details>

Documentation

<details > <summary> Start rebranding (<a href="https://github.com/metatypedev/metatype/pull/641">#641</a>) </summary> <!-- Pull requests are squash merged using: - their title as the commit message - their description as the commit body Having a good title and description is important for the users to get readable changelog and understand when they need to update his code and how. --> <!-- Explain WHAT the change is -->
Motivation and context

Changing the intro.

<!-- Explain WHY the was made or link an issue number -->
Migration notes

None.

<!-- Explain HOW users should update their code when required -->

Checklist

  • [ ] The change come with new or modified tests
  • [ ] Hard-to-understand functions have explanatory comments
  • [ ] End-user documentation is updated to reflect the change

</details> <details > <summary> Add `reference/programmatic-deployment/` (<a href="https://github.com/metatypedev/metatype/pull/686">#686</a>) </summary>
Motivation and context

Add missing docs for tgDeploy, tgRemove

Migration notes

None

Checklist

  • [ ] The change come with new or modified tests
  • [ ] Hard-to-understand functions have explanatory comments
  • [ ] End-user documentation is updated to reflect the change
</details> <details > <summary> Add examples for each command (<a href="https://github.com/metatypedev/metatype/pull/684">#684</a>) </summary>
Motivation and context

Getting started with meta cli should be easy

Migration notes

None

Checklist

  • [ ] The change come with new or modified tests
  • [ ] Hard-to-understand functions have explanatory comments
  • [ ] End-user documentation is updated to reflect the change
</details> <details > <summary> Improve `/tutorials/quick-start` section. (<a href="https://github.com/metatypedev/metatype/pull/681">#681</a>) </summary>
  • [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

Docs Meta-task

Migration notes

No Migration Needed

Checklist

  • [x] Test the commands and the examples.
  • [ ] The change come with new or modified tests
</details> <details > <summary> Improve `/docs/tutorials/metatype-basics` (<a href="https://github.com/metatypedev/metatype/pull/688">#688</a>) </summary>

Improve /docs/tutorials/metatype-basics

Motivation and context

Docs Meta-task

Migration notes

No Migrations Needed

Checklist

  • [ ] The change come with new or modified tests
</details> <details > <summary> Improve `/reference/runtimes/` (<a href="https://github.com/metatypedev/metatype/pull/676">#676</a>) </summary>
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
</details> <details > <summary> Improve `/guides/external-functions` (<a href="https://github.com/metatypedev/metatype/pull/677">#677</a>) </summary>
  • Improvements to the /guides/external-functions page.
  • Adds a configuration file for git-town
Motivation and context

N/A

Migration notes

N/A

Checklist

  • [ ] The change come with new or modified tests
  • [ ] Hard-to-understand functions have explanatory comments
  • [ ] End-user documentation is updated to reflect the change

</details> <details > <summary> Improve `docs/reference/types` (<a href="https://github.com/metatypedev/metatype/pull/685">#685</a>) </summary>

Improves docs/reference/types

Motivation and context

N/A

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

</details> <details > <summary> Add a comparison b/n metatype and other similar solutions/products. (<a href="https://github.com/metatypedev/metatype/pull/697">#697</a>) </summary> <!-- Pull requests are squash merged using: - their title as the commit message - their description as the commit body Having a good title and description is important for the users to get readable changelog. --> <!-- 1. Explain below WHAT the change is -->
  • Adds a comparison table between metatype and other similar services.
  • Add artifact upload protocol to Architecture section in docs.
<!-- 2. Explain below WHY the change cannot be made simpler --> <!-- 3. Explain below WHY the was made or link an issue number -->

MET-443

<!-- 4. Explain HOW users should update their code or remove that section -->
Migration notes

No Migration Needed

<!-- 5. Readiness checklist - [ ] The change come with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change --> </details>

Features

<details > <summary> (cli) Long running discovery (<a href="https://github.com/metatypedev/metatype/pull/599">#599</a>) </summary>

Delegate serialize, deploy, undeploy, unpack work to SDK.

Motivation and context

Remove duplicate logic, thinking of cli as a convenience on top of the SDK.

Migration notes

When meta cli is used, Migration files are unpacked/resolved relative to the typegraph's path, not the process's workdir.

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

</details> <details > <summary> (cli) `meta gen` (<a href="https://github.com/metatypedev/metatype/pull/636">#636</a>) </summary>

Adds a command to meta-cli to invoke metagen.

Motivation and context

MET-424

Migration notes

No changes required

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

</details> <details > <summary> (cli) Timeout loader process (<a href="https://github.com/metatypedev/metatype/pull/693">#693</a>) </summary> </details> <details > <summary> (cli,sdk) Codegen command (<a href="https://github.com/metatypedev/metatype/pull/661">#661</a>) </summary>
Motivation and context

Enable back codegen on current cli implementation.

Migration notes

None

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
</details> <details > <summary> (cli,sdk) Better error messages (<a href="https://github.com/metatypedev/metatype/pull/689">#689</a>) </summary>
Motivation and context

Make it more clear where failures happen

Migration notes

None

Checklist

  • [ ] The change come with new or modified tests
  • [ ] Hard-to-understand functions have explanatory comments
  • [ ] End-user documentation is updated to reflect the change
</details> <details open> <summary> (gate) Wasmtime support (<a href="https://github.com/metatypedev/metatype/pull/669">#669</a>) - BREAKING: wasmtime support (<a href="https://github.com/metatypedev/metatype/pull/669">#669</a>) </summary>
Motivation and context

Enable support for wit and facilitate readiness for the upcoming specs.

Migration notes

#[wasmedge_bindgen] are replaced by wit bindings.

In the old version we were restricted to#[wasmedge_bindgen], which was only available in Rust and unique to WasmEdge.

#[wasmedge_bindgen]
fn add(a: u32, b: u32) -> u32 {
   a + b
}

In the new implementation, wasm modules written in any language that uses the wit interface are now natively supported within typegate.

// wit/example.wit
package example:host;
world host {
  export add: func(a: u32, b: u32) -> u32;
}

An implementation (eg. in Rust) may look like this..

// src/lib.rs
wit_bindgen::generate!({ world: "host" });
struct MyLib;
impl Guest for MyLib {
    fn add(a: u32, b: u32) -> u32 {
        a + b
    }
}
export!(MyLib);

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

</details> <details > <summary> (gate,cli) `$DENO_V8_FLAGS` (<a href="https://github.com/metatypedev/metatype/pull/647">#647</a>) </summary>

Enables the DENO_V8_FLAGS env var for tuning v8.

Motivation and context

MET-435 or #621

Migration notes
  • This just exposes the deno paramter directly. Refer to deno or v8 docs for more details.

Checklist

  • [x] 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
</details> <details > <summary> (metagen) Metagen mdk rust (<a href="https://github.com/metatypedev/metatype/pull/624">#624</a>) </summary>

Implements the general framework for metagen including a generator for rust based wasm mat functions modules.

Motivation and context

MET-420

Migration notes

No breaking changes

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
</details> <details > <summary> (sdk) .tgignore file support (<a href="https://github.com/metatypedev/metatype/pull/633">#633</a>) </summary>
Motivation and context

Set what files/folders should be ignored when using the custom expand_path function in an external .tgignore file. .tgignore will behave similarly to most .ignore files with basic glob syntax support.

Migration notes

expand_glob has been renamed to expand_path

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

</details> <details > <summary> (sdk) Introduce flag for disabling hashing artifacts + move hash to rust (<a href="https://github.com/metatypedev/metatype/pull/645">#645</a>) </summary>
Motivation and context

The mdk codegen and typegraph mutually depends on each other (typegraph needs a concrete mdk.wasm for hashing, and for the mdk.wasm to be built, it needs type generation based on the typegraph) Add a flag to enable processing a partial typegraph when using meta gen (partial == no artifact resolution).

Migration notes

get_file_hash has been moved to core sdk (under the name hash_file)

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

</details> <details > <summary> (sdk, gate, cli) Upload protocol poc uploading wasm file for `WasmEdge Runtime` for single replica mode (<a href="https://github.com/metatypedev/metatype/pull/631">#631</a>) </summary>

Upload protocol for wasm files and atrifacts for WasmEdge Runtime for single replica mode

Motivation and context
  • Upload WasmEdge Runtime artifacts during typegraph deploy
  • Access and load WasmEdge Runtime artifacts from the local file system from typegate
Migration notes

No Migrations Needed

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

</details> <details > <summary> Raw prisma query through the typegate runtime (<a href="https://github.com/metatypedev/metatype/pull/634">#634</a>) </summary>
  • Enable prisma query execution through the typegate runtime
Motivation and context

Console.

Migration notes

N/A

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
</details> <details open> <summary> Store the typegraph on s3 (<a href="https://github.com/metatypedev/metatype/pull/620">#620</a>) - BREAKING: Store the typegraph on s3 (<a href="https://github.com/metatypedev/metatype/pull/620">#620</a>) </summary>

Store the typegraph on s3 for multiple instance support mode.

Motivation and context

Reduce Redis data.

Migration notes

Environment variables:

  • REDIS_URL has been removed
  • For multiple instance support, the following variables are required: SYNC_REDIS_URL, SYNC_S3_HOST, SYNC_S3_REGION, SYNC_S3_BUCKET, SYNC_S3_ACCESS_KEY, SYNC_S3_SECRET_KEY; and the following variables are optional: SYNC_REDIS_PASSWORD, SYNC_S3_PATH_STYLE. Otherwise, none of them can be set.

Checklist

  • [x] 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
</details> <details open> <summary> Remove secret definitions through env vars (<a href="https://github.com/metatypedev/metatype/pull/666">#666</a>) - BREAKING: Remove secret definitions through env vars (<a href="https://github.com/metatypedev/metatype/pull/666">#666</a>) </summary>

Remove the ability to define secrets in the env vars of the typegate.

Secrets can now only be defined in the metatype config file and the --secret CLI option.

Motivation and context

MET-370

  • Security
  • Better DX
Migration notes
  1. Metatype config file: On the node configuration, secrets are defined at secrets.<tg_name>.key:
# before
typegates:
  dev:
    env:
      TG_CONSOLE_POSTGRES_CONN: postgresql://postgres:password@localhost:5432/db?schema=console
      TG_CONSOLE_BASIC_ADMIN: password

#after
typegates:
  dev:
    secrets:
      console:
        POSTGRES_CONN: postgresql://postgres:password@localhost:5432/db?schema=console
        BASIC_ADMIN: password    
  1. Secret override option on meta/cli
# before
meta deploy -f my-tg.py --secret TG_CONSOLE_POSTGRES_CONN=postgresql://postgres:password@localhost:5432/db?schema=console

# after
meta deploy -f my-tg.py --secret POSTGRES_CONN=postgresql://postgres:password@localhost:5432/db?schema=console
# or - with the typegraph name
meta deploy -f my-tg.py --secret console:POSTGRES_CONN=postgresql://postgres:password@localhost:5432/db?schema=console

Checklist

  • [x] 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
</details> <details > <summary> Add queryPrismaModel in the typegate runtime (<a href="https://github.com/metatypedev/metatype/pull/635">#635</a>) </summary>

The queryPrismaModel function on the typegate typegraph queries rows from a prisma model.

Motivation and context

Console.

Migration notes

N/A

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
</details> <details > <summary> Upload artifacts to s3 (<a href="https://github.com/metatypedev/metatype/pull/638">#638</a>) </summary>

Upload artifacts to S3 when sync-mode is enabled

Motivation and context

Sharing artifacts between replicas without including it in the typegraph (and sync through redis)

Migration notes

No changes needed.

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

</details> <details > <summary> Upload `PythonRuntime` artifacts and deps (<a href="https://github.com/metatypedev/metatype/pull/672">#672</a>) </summary>
Motivation and context

Track artifact/module dependencis for PythonRuntime

Migration notes

python.import(...) and python.import_(...) accept an optional parameter deps that accepts list of dependencies for the python module.

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

</details> <details > <summary> Upload `DenoRuntime` artifacts and deps (<a href="https://github.com/metatypedev/metatype/pull/674">#674</a>) </summary>
  • [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.
Motivation and context

Persisting deno runtime artifacts to a local/shared storage.

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
  • [ ] Hard-to-understand functions have explanatory comments
  • [ ] End-user documentation is updated to reflect the change

</details> <details > <summary> Enable batch prisma queries in the typegate runtime (<a href="https://github.com/metatypedev/metatype/pull/682">#682</a>) </summary>

Enable batch prisma queries (and transaction) in the typegate runtime

Motivation and context

Console

MET-381

Migration notes
<!-- Explain HOW users should update their code when required -->

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

</details> <details > <summary> Artifact removal (<a href="https://github.com/metatypedev/metatype/pull/668">#668</a>) </summary>
  • Add GC: remove artifacts when unreferenced by any deployed typegraph
  • Improve resource management: use AsyncDisposable and AsyncDisposableStack
  • Improve testability (for parallel testing): always read the tmpDir config from the Typegate object
Motivation and context

MET-433

Migration notes

N/A

Checklist

  • [x] The change come with new or modified tests
  • [x] Hard-to-understand functions have explanatory comments
  • [x] End-user documentation is updated to reflect the change
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

Summary by CodeRabbit

  • New Features

    • Enhanced search functionality with the addition of a new search bar.
    • Introduced new test configurations to improve script execution.
  • Updated artifact storage documentation to clarify management processes.

    • Added new extensions to support improved code commenting.
  • Bug Fixes

  • Removed outdated Deno import mapping settings to streamline development environment setup.

  • Documentation

  • Expanded documentation on artifact tracking and management, including reference counting and garbage collection mechanisms.

  • Refactor

  • Implemented interface changes in QueryEngine for better async disposal management.

  • Code restructuring in artifact management for enhanced performance and maintainability.

  • Chores

  • Adjusted settings and configurations in the development environment to align with current best practices.

  • Tests

  • Introduced new test cases for artifact upload and management functionalities.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details>

Miscellaneous Tasks

<details > <summary> (release) Prepare 0.4.0 (<a href="https://github.com/metatypedev/metatype/pull/710">#710</a>) </summary>

Bumps version to release 0.4.0.

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

Summary by CodeRabbit

  • New Features
  • Updated the software across various components to version 0.4.0, enhancing functionality and potentially introducing new features or fixes.
  • Documentation
  • Updated version documentation in multiple configuration files to reflect new version 0.4.0.
  • Bug Fixes
  • Adjusted version constants and dependencies to ensure compatibility and stability with the new software version 0.4.0.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details> <details > <summary> (sdk,gate) Bump wasmtime to 20.0.0 and wit-bindgen to 0.24.0 (<a href="https://github.com/metatypedev/metatype/pull/695">#695</a>) </summary> </details>

Refactor

<details > <summary> (gate) Wasi 0.2 pyrt (<a href="https://github.com/metatypedev/metatype/pull/687">#687</a>) </summary>
  • Rewrites the PythonRuntime host using a componentize-py based component.
  • Leaf through this memo for a mental model.
</details> <details > <summary> (libs/xtask,gate) Remove xtask/codegen (<a href="https://github.com/metatypedev/metatype/pull/700">#700</a>) </summary>

Faster build time

Migration notes

Make sure to sync typegate/src/types.ts when an update is made on the typegraph schema.

</details> <details open> <summary> (sdk,gate) Improve temporal rt (<a href="https://github.com/metatypedev/metatype/pull/642">#642</a>) - BREAKING: improve temporal rt (<a href="https://github.com/metatypedev/metatype/pull/642">#642</a>) </summary>

Improve the temporal runtime exposing more parameters and adding more tests.

Motivation and context

MET-397. The old implementation was bug-ridden and did not expose necessary params.

Migration notes

API changes to TemporalRuntime ctor, methods and generated materializers.

Checklist

  • [x] 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
</details> <details > <summary> Pass test options in the first parameter (<a href="https://github.com/metatypedev/metatype/pull/667">#667</a>) </summary>

Pass the test options in the first parameter along with the test name/description.

Motivation and context

Avoid scrolling to the end of the test function to see/update the test options.

Migration notes

N/A

Checklist

  • [ ] The change come with new or modified tests
  • [ ] Hard-to-understand functions have explanatory comments
  • [ ] End-user documentation is updated to reflect the change
</details>

Testing

<details > <summary> Use local npm registry for tests (<a href="https://github.com/metatypedev/metatype/pull/646">#646</a>) </summary>

Use verdaccio local npm registry for tests:

  • The @typegraph/sdk package is published to the local npm registry, and can now be consumed like any npm package from Nodejs or Deno.
Motivation and context

...

Migration notes

N/A

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

tg-sdk-verdaccio

</details>
zifeo
published 0.3.6 •

Changelog

Source

v0.3.6 - 2024-03-14

Bug Fixes

<details > <summary> Optimize typegraph size (<a href="https://github.com/metatypedev/metatype/pull/618">#618</a>) </summary>
  • Hash all type data to compare them on the conversion phase in typegraph/core: remove duplicate types from type final typegraph (duplicate: same value for all the fields except for the "random" name/title).
  • Skip unreferenced types in .apply
Motivation and context

Typegraph is too big sometimes.

Migration notes
<!-- Explain HOW users should update their code when required -->

Checklist

  • [ ] The change come with new or modified tests
  • [ ] Hard-to-understand functions have explanatory comments
  • [ ] End-user documentation is updated to reflect the change
</details>

Miscellaneous Tasks

<details > <summary> Prepare release v0.3.6 (<a href="https://github.com/metatypedev/metatype/pull/626">#626</a>) </summary>

Prepare release v0.3.6

Motivation and context

N/A

Migration notes

N/A

Checklist

  • [ ] The change come with new or modified tests
  • [ ] Hard-to-understand functions have explanatory comments
  • [ ] End-user documentation is updated to reflect the change
</details>
zifeo
published 0.3.5 •

zifeo
published 0.3.4 •

zifeo
published 0.3.3 •

zifeo
published 0.3.2 •

zifeo
published 0.2.4 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc