Skip to content

Releases

v0.5.1-rc.6

v0.5.1-rc.6 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 07 Aug 09:04
4326903

v0.5.1-rc.6 - 2025-08-07

Refactor

Ordered recieve (#1041)

v0.5.1-rc.5

v0.5.1-rc.5 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 18 Jul 18:39
36294a8

v0.5.1-rc.5 - 2025-07-18

Bug Fixes

(gate) Auth refactor (#1028) - BREAKING: auth refactor (#1028)

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

  • OAuth2 authentication now supports multiple clients per provider with
    explicit client ID and redirect URI configuration.

  • Introduced a secure PKCE-based token flow requiring Redis for state
    management, including new token exchange and refresh endpoints.

    • Added Redis configuration support for both sync and non-sync modes.
  • Improvements

  • Unified OAuth2 configuration across Python, TypeScript, and Rust SDKs
    with a single structured interface replacing provider-specific methods.

  • Enhanced validation and security for OAuth2 redirect URIs and client
    identification.

    • Updated JWT token duration defaults and made them configurable.
    • Modularized Redis URL parsing and connection logic.
  • Bug Fixes

  • Improved error handling and validation in OAuth2 token and
    authorization flows.

  • Documentation

  • Updated OAuth2 authentication docs to reflect the new PKCE token flow,
    token refresh, and Redis requirements.

  • Added Redis configuration and updated JWT duration defaults in
    environment variable documentation.

  • Tests

  • Expanded authentication tests to cover PKCE, Redis state management,
    token exchange, and refresh flows.

  • Chores

    • Updated example projects to use the new OAuth2 configuration format.
    • Removed deprecated OAuth2 helper methods and related code.
(sub) Recover from broken run + race conditions (#1033)
  • Broken run
  1. Detect already handled schedules but interrupted before closing then
    close/skip them
  2. Try to recover from schedule dups such as
 [Start Start ...] or
 [... Stop Stop] or
 [ .... Event X Event X ... ]

These dups can occur when we crash at a given timing and the underlying
event of the appointed schedule was not closed. The engine will happily
append onto the operation log, we throw by default but realistically we
can recover.
However 1. should make sure dups do not occur accross all nodes, this
should mitigate unknown unknowns (timestamp identifies schedules so it
should be safe).
WARN: Undesirable side effects cannot be ruled out if we crash before
saving the Saved results.

  • Moved from setInterval to a custom blocking async interval
  • Changed lease renew logic

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

Summary by CodeRabbit

  • New Features

  • Added a Redis Commander service for easier Redis database management
    via a web interface.

  • Introduced lease heartbeat renewal to automatically manage lease
    lifetimes.

  • Added asynchronous interval control to ensure sequential execution of
    recurring tasks.

  • Bug Fixes

  • Improved handling of duplicate operations and run state validation to
    prevent data inconsistencies and duplicate scheduling.

    • Enhanced logic to prevent appending operations to stopped runs.
  • Added run log integrity validation to detect corrupted or overlapping
    run states.

  • Refactor

  • Replaced and reorganized utility functions for checking run status and
    operation scheduling.

  • Updated type definitions and imports for better code clarity and
    maintainability.

  • Improved logging, debugging, and tracing for better observability and
    troubleshooting.

  • Replaced standard intervals with controlled async intervals to avoid
    concurrency issues.

  • Tests

  • Added assertions to verify lease expiration and run state consistency.

  • Style

    • Reformatted import statements for consistency and readability.
  • Documentation

  • Added comments and documentation to clarify lease handling,
    concurrency, and run integrity validation.

Prisma query batching (#1027)

Features

(gate) Idempotent request (#1031)

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

  • New Features

  • Introduced idempotency support for GraphQL requests, enabling repeated
    requests with the same idempotency key to return cached responses for up
    to one day.

  • Added a new GraphQL query nextInt that returns an incrementing
    integer.

  • Provided documentation explaining how to use the idempotency key
    header to ensure safe request retries.

  • Chores

  • Removed an unused port and its metadata from internal configuration
    files.

(sub) Query workflow logs + timing bug fix when stressed (#1034)
  • Make a separate entity for log events
  • Query log by run
  • Fix timing error when there are many workflows running at the same
    time but too few workers
    (MET-902)

Migration notes

  • ctx.logger.*() does not return Promise anymore
  • 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

  • Added structured logging support to workflows, enabling logs with
    levels (Info, Warn, Error) to be recorded and queried for each workflow
    run.

  • Workflow run results now include detailed logs, accessible via GraphQL
    queries.

  • Introduced documentation on debugging workflows and accessing logs in
    real time.

  • Added a stress test script and a helper client for workflow run
    management.

  • Bug Fixes

  • Improved deduplication of operations to prevent duplicate logs after
    crashes or incomplete saves.

  • Improvements

  • Logging methods (info, warn, error) are now synchronous for
    better usability.

  • Enhanced error handling and validation in workflow runtime and agent
    logic.

    • Lowered the minimum polling interval for workflow status checks.
  • Documentation

  • Expanded documentation with detailed guides and examples for workflow
    logging and debugging.

  • Tests

  • Extended test coverage to verify workflow logs and blocking interval
    behavior.

  • Updated existing tests to reflect new synchronous logging and log
    retrieval features.

  • Style

  • Various formatting and consistency improvements in code and type
    declarations.

  • Chores

  • Updated dependencies and configuration for improved compatibility and
    performance.


(sub) Detect non deterministic run (#1037)

Miscellaneous Tasks

Update deno to v2.2.4 (#923)
Bump ghjk to 0.3.1-rc.2 (#1029)

= Updates ghjk to 0.3.1-rc.2

Summary by CodeRabbit

  • Chores

  • Upgraded the GHJK tool and related dependencies to version v0.3.1-rc.2
    across workflows, Dockerfiles, and configuration files.

  • Updated Python version to 3.9.23 and improved Docker build context
    handling for Rust projects.

  • Switched to using external GHJK packages for imports and streamlined
    environment setup in CI workflows.

  • Expanded and reorganized ignore and configuration files for better
    build and linting control.

  • Refreshed port references, versions, build dependencies, and profiles
    in configuration files.

  • Updated environment variables and deployment workflows for consistency
    and reliability.

  • Added new GHJK and Deno configuration files to support workspace and
    import map management.

  • Refactor

  • Reformatted and improved code style across many files for consistency
    and readability, including type declarations, method signatures,
    imports, and code generation templates.

    • Updated export and import orders in various modules for clarity.
  • Improved formatting in test cases and utility scripts for better
    maintainability.

  • Enhanced ...

Read more

v0.5.1-rc.4

Choose a tag to compare

@github-actions github-actions released this 02 Jun 10:02
6f6851c

v0.5.1-rc.4 - 2025-06-02

Miscellaneous Tasks

Bump to v0.5.1-rc.4 (#1023)

Summary by CodeRabbit

  • Chores

  • Updated project, dependency, and Docker image versions from 0.5.1-rc.3
    to 0.5.1-rc.4 across multiple files and templates.

  • Tests

  • Disabled certain Python runtime performance tests by commenting them
    out or marking them as ignored.

Refactor

Relax prisma type safety to decrease type count (#1019)
  • Improves the type count of the prisma type generators by relaxing type
    safety. Namely:
  • Create/update types have all related types as optional even when
    required
  • Where filters will always have all the relationships present even when
    netsted in another where 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

Summary by CodeRabbit

  • New Features

  • Added an optional selection flag property to multiple TypeScript
    selection types, enabling enhanced selection capabilities in generated
    client code.

  • Bug Fixes

  • Updated version checks in initialization routines to expect version
    "0.5.1-rc.3".

  • Refactor

  • Simplified and streamlined type generation logic by disabling
    selective relationship and model skipping in generated types.

  • Reorganized and clarified struct and type alias declarations for
    improved code structure and maintainability.

  • Adjusted internal variant ordering for RPC calls to improve internal
    consistency.

  • Tests

  • Updated test output to provide more concise and relevant debugging
    information.

v0.5.1-rc.3

Choose a tag to compare

@github-actions github-actions released this 13 May 17:44
38df9d0

v0.5.1-rc.3 - 2025-05-13

Bug Fixes

(gate) Update graphql playground deps (#1012)
  • Fixes broken graphQL playground by updating the react version and
    pinning graphiql.

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
  • Upgraded the GraphiQL playground to use the latest React and GraphiQL
    versions for improved performance and compatibility.
(perf) Improve the performance of the typegraph expansion (#1008)

The previous single-pass recursive algorithm for the typegraph expansion
was buggy and had terrible performance.
This PR attempts to simplify the expansion, making it easier to debug
and have better performance. For more details, see the doc comments at
the crate root (src/typegraph/graph/src/lib.rs).

Other changes:

  • Change the github runners:
    • Downgrade to Ubuntu 22.04
    • Use the native Github runners for ARM

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

Summary by CodeRabbit

  • New Features

  • The tree view web tool now displays a dynamic footer status bar
    showing loading state and type count, and supports union/either node
    types in typegraph visualization. The default tree depth can be set via
    a URL parameter.

  • Bug Fixes

  • Corrected naming and ordering of selection types and partial types in
    generated Rust, TypeScript, and Python client code for composite and
    cyclic structures.

    • Fixed a job naming typo in the test workflow.
  • Refactor

  • Major internal overhaul of typegraph conversion logic, simplifying and
    restructuring the process for converting, linking, and registering
    types.

  • Streamlined and clarified logic for rendering TypeScript FDK templates
    and type registries.

  • Improved visibility and access to generated TypeScript client manifest
    types.

  • Chores

  • Updated GitHub Actions workflows to use explicit Ubuntu 22.04 runners
    for consistency.

  • Increased verbosity of the meta-cli serialize command for tree view
    tooling.

    • Updated dependencies in configuration files.
  • Documentation

  • Added comprehensive module-level documentation for the typegraph
    expansion process.

  • Tests

  • Added and reorganized migration test files and improved structure of
    test-generated client code for clarity and accuracy.

Hostcall token issue (#1010)
Metagen select in client_ts (#1011)
  • Fix selection for optional types in metagen

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

  • Added support for alias selections in the selection system, improving
    handling of optional and list types.

  • Style

  • Enhanced debug output for various type structures, including list,
    object property, optional, and union types, to display more concise and
    informative information during debugging.

  • Chores

  • Updated dependencies to enable additional features for improved
    debugging support.

Substantial filter missing type (#1014)

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
  • Added support for "run_id" as a special property in filtering options.
  • Enhanced filtering to include conditions on the "run_id" field in
    workflow searches.
Substantial filter missing type (#1014)

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
  • Added support for "run_id" as a special property in filtering options.
  • Enhanced filtering to include conditions on the "run_id" field in
    workflow searches.
Fix injection filter in object properties (#1013)
  • Only filter out leaf nodes of the injection tree.
  • Type the selection and output type for nested functions (part of
    MET-862).
  • Support conservative expansion; needed for FDK handlers that take the
    original type.
  • Improve logging:
  • Disable tracing instrumentations unless the tracing-instrument
    feature is enabled (CLI). This will make the output more readable by
    default.
  • Enable logging on crates other than meta (CLI): typegraph,
    tg_schema, metagen.

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

Summary by CodeRabbit

  • New Features

  • Added advanced typegraph expansion capabilities with configurable
    duplication and naming engines.

    • Introduced support for disconnected types in typegraphs.
  • Added optional tracing instrumentation in the CLI, enabled via a
    feature flag.

  • Improvements

  • Enhanced manifest rendering for TypeScript, Python, and Rust clients
    with better type caching and logging.

  • Improved policy handling and expansion logic for richer typegraph
    processing.

  • Updated synchronization primitives for lazy initialization, improving
    thread safety.

  • Bug Fixes

  • Prevented potential runtime errors in filter utilities by adding null
    checks.

  • Refactor

  • Major internal restructuring of typegraph expansion, duplication, and
    naming systems for extensibility and maintainability.

    • Simplified and unified module imports and type definitions.
  • Chores

  • Updated tests and fixtures to align with new typegraph schema handling
    and expansion logic.

  • Added a new ...

Read more

v0.5.1-rc.2

Choose a tag to compare

@github-actions github-actions released this 18 Apr 06:25
900e25e

v0.5.1-rc.2 - 2025-04-18

Bug Fixes

(sdk) Node SDK cross-platform compatibility (#1000)
  • FFI had to be used to make file descriptors blocking on unix systems
    because they are asynchrnous by default, meaning a file descriptor read
    immediately fails when there's no data instead of waiting. Deno
    abstracts this in its implementation but we have to handle edge cases by
    ourselves with NodeJS.
  • Fixes CI issues by upgrading ghjk to v0.2.2.

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

  • Bug Fixes
  • Improved compatibility for reading standard input on macOS and Linux
    systems, ensuring smoother and more reliable input handling.
  • Chores
  • Updated the version of the development environment tool used across
    workflows, documentation, and build configurations to v0.2.2.
  • Documentation
  • Updated a Python code generation example in the documentation for
    clearer reference.
Type dedup and substantial filters (#994)
  • Fixes type dedup when using list and optional
  • Add run_id filter for substantial
    (MET-870)

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 two public endpoints for retrieving structured data as
    lists and optional objects.

    • Expanded filtering capabilities to support an additional identifier.
  • Improvements

  • Enhanced asynchronous processing to ensure operations complete
    reliably.

    • Streamlined messaging and error feedback for greater clarity.
    • Optimized naming consistency across system components.
  • Enhanced functionality of the SpecialTerms type for better
    expression evaluation.

Features

Expanded typegraph (#978)
  • Add a crate for an expanded version of the typegraph where hoisted
    parameters are expanded
  • Use the expanded typegraph in metagen
    • fdk_rs
    • client_rs
    • fdk_ts
    • client_ts
    • fdk_py
    • client_py
    • fdk_substantial
  • Support for injection in metagen: hide injected types in input
    types

The expanded typegraph duplicates the type for different injection data.
All numeric references for types, runtimes, materializers and policies
are inlined, removing the need to always have a reference to the
typegraph object 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

Summary by CodeRabbit

  • Chores
  • Updated dependency and workspace configurations to incorporate a new
    module for improved version management.
  • New Features
  • Introduced enhanced client generation across Python, Rust, and
    TypeScript with new manifest systems to better support GraphQL
    integration.
  • Added new methods for managing injection nodes and their associated
    data, enhancing dependency injection capabilities.
  • Refactor
  • Overhauled the type schema and metadata management systems for
    improved clarity, performance, and memory safety.
  • Refined error handling to provide clearer diagnostics during
    multi-threaded operations.
  • Restructured node metadata definitions and argument types for improved
    clarity and consistency.

These improvements streamline our code generation pipeline for a more
robust and maintainable experience.

Miscellaneous Tasks

Bump to v0.5.1-rc.2 (#1001)

Summary by CodeRabbit

  • New Features

  • Added a new Deno configuration for module import mappings and
    dependency locking.

  • Bug Fixes

  • Improved content-type validation in GraphQL response handling for
    Python tests.

  • Refactor

  • Standardized type naming conventions and method names in test code and
    Rust modules.

    • Updated enum variant order for improved code consistency.
  • Chores

  • Updated all version references from 0.5.1-rc.1 to 0.5.1-rc.2 across
    packages, Docker images, and dependencies.

    • Removed obsolete SQL migration and lock files.

v0.5.1-rc.1

Choose a tag to compare

@github-actions github-actions released this 20 Mar 04:50
92f53a2

v0.5.1-rc.1 - 2025-03-20

Bug Fixes

(gate) Skip unnecessary secret decryption step on `SYNC_FORCE_REMOVE` (#976)

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

  • New Features

  • Introduced a secure, improved mechanism for downloading type graph
    data, enhancing the retrieval process and ensuring sensitive data is
    handled safely.

  • Refactor

  • Updated processes to consistently leverage the new download approach,
    streamlining functionality and reinforcing robust error handling.

(gate) Struct typecheck codegen (#983)

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

  • Enhanced object validation now accepts additional properties when
    allowed, offering more flexible data processing.

  • Introduced a new REST endpoint that returns structured, stringified
    data based on provided input.

  • Tests

  • Added a test case to verify the functionality of the new REST endpoint
    and ensure robust input validation.

(metagen) Do not skip empty struct input (#989)
  • Make sure to include empty struct input in manifest
  • Update json schema
  • Bump version to v0.5.1-rc.1

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

  • Chores
  • Updated versions across packages, dependencies, container images, and
    configurations to v0.5.1-rc.1 for enhanced consistency.
  • New Features
  • Introduced a new configuration option allowing users to exclude client
    code generation.
  • Added new type definitions in sample integrations to improve
    type-safety.
(test) Add lockfile for metagen test (#981)
  • Fixes the build issue by adding a lockfile.

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
(typegraph) Implement `additional_props` (#980)

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 a configurable flag in object definitions that controls
    whether extra, unspecified properties are allowed. This enhances schema
    validation and data conversion by permitting flexible input when
    enabled.

  • Updated validation logic to conditionally bypass errors for additional
    properties when permitted.

  • Tests

  • Added new test cases and a helper function to verify input
    stringification and validation for both simple and nested structures.

Bad typenames and internal policy (#979)
  • Fix bad duplicated typenames for duplicate materializers and
    predefined internal policy function.

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

Summary by CodeRabbit

  • New Features
  • Enhanced access control with stricter authorization checks and refined
    data exposure across different contexts.
  • Introduced new type aliases for improved clarity in method return
    types.
    • Added a new internal policy for access control.
  • Refactor
  • Streamlined naming for inputs and outputs to ensure consistent
    labeling.
    • Adjusted evaluation logic to provide clearer security outcomes.
  • Tests
  • Expanded automated test scenarios to verify deduplication and
    authorization behavior.
    • Added new test cases to validate internal policy access control.

Features

(gate) Policies should affect visibility on introspection (#963) - BREAKING: policies should affect visibility on introspection (#963)

This ended up becoming a full rewrite of the introspection logic.
For context, the old implementation generated types dynamically but also
did a few parts statically (the __schema.types list). This worked as
long as we assume all object types fields are not context dependent.
Which resulted in a few bugs on injected fields.

In this new implementation, we "define" a type as required (it is added
into the __schema.types list), still recursively but this allows
emitting types with adhoc suffixes in demand depending on the policies
or injections. Then when the type is refered we simply give a reference
to it.

Migration notes

  • There can be multiple empty object scalars (vs only one previously)
  • Fields can be missing if not authorized
  • Type names depends on its shape (e.g.Foo missing a field would have
    different name than Foo with all its field), this extends to unions
    (depends on the variant names with each following the same naming rule)
  • 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

Summary by CodeRabbit

  • New Features

  • Enhanced GraphQL introspection now offers a more comprehensive and
    consistent schema view with refined field visibility controls.

  • New introspection queries and fragments improve the introspection
    capabilities of the GraphQL API.

  • Introduced new functions for managing type visibility and policies
    within the type graph context.

  • Added new test functions to validate introspection queries and their
    structures.

  • Refactor

  • Improved runtime initialization and error handling lead to a smoother
    query engine performance and more robust schema generation.

  • Code structure has been enhanced for better organization and clarity,
    particularly in type visibility management.

  • Modifications to authorization checks and policy evaluations enhance
    granularity and processing efficiency.

  • Tests

  • Expanded test coverage validates the new introspection enhancements
    and policy enforcement, ensuring reliable operation.

  • New tests focus on visibility checks and policy rule logic during
    introspection on complex and simple type graphs.

  • Added tests for ...

Read more

v0.5.1-rc.0

Choose a tag to compare

@github-actions github-actions released this 05 Feb 06:36
47d1005

v0.5.1-rc.0 - 2025-02-05

Bug Fixes

(cli) Avoid expected error backtrace (#960)

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

  • Chores
  • Updated error reporting configuration to reduce verbosity during panic
    events.
Secret leak when recovering (#965)

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

Release Notes

  • New Features

  • Added a deep cloning utility function to prevent unintended data
    mutations

  • Introduced a new workflow management capability with a sayHello
    function

    • Enhanced replay request filtering in agent runtime
  • Improvements

    • Refined runtime configuration handling
    • Improved code modularity and error handling in agent runtime
  • Testing

    • Updated sync test configuration with new Redis backend
    • Added new workflow test script

Support union type for object node in apply tree (#969)
  • Solve
    MET-790
    • Support union type or object node in apply tree

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

    • Enhanced type handling for optional and union types
    • Added support for complex GraphQL query retrieval
  • Introduced new method for filtering user records with advanced
    conditions

  • Tests

    • Added test case for complex object retrieval
    • Expanded test coverage for union type processing
  • Improvements

    • Refined error reporting for type resolution
    • Improved handling of optional and union type definitions
Metagen papercuts (#950) - BREAKING: metagen papercuts (#950)

Solves
MET-761:

  • Make generator naming consistent with the client_xx and fdk_xx format.
    Prefer shortened names of languages like the extension name of source
    files.
  • Reuse a typegraph serialization across multiple generation runs in a
    single cli invocation. It currently re-serializes a typegraph if it's
    referenced twice.
  • Explicit return types on QueryGraph methods for Typescript
  • Support for non-record queries for Gql transport. Currently, one's
    forced to name the query/mutation section which gets reflected in the
    response name

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

Based on the comprehensive summary, here are the high-level release
notes:

  • Generator Naming

    • Simplified generator names across the project
    • Updated from fdk_typescript → fdk_ts
    • Updated from fdk_python → fdk_py
    • Updated from fdk_rust → fdk_rs
  • Type Management

  • Transitioned from Box<Typegraph> to Arc<Typegraph> for improved
    memory management

    • Enhanced type flexibility in query and mutation methods
    • Added support for single and multiple node operations
  • New Features

  • Added identity and identity update functions across TypeScript,
    Python, and Rust clients

    • Improved caching mechanisms for typegraphs
    • Enhanced GraphQL transport layer with more flexible input handling
  • Documentation

  • Updated configuration examples and references to reflect new generator
    names

Use GraphQL-compliant response payload on error (#972)
  • Use GraphQL-compliant response payload on error on all GraphQL
    endpoints

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

  • Refactor
  • Consolidated JSON response formatting for both success and error
    cases.
  • Streamlined the handling of response structures across multiple
    service endpoints.
  • Improved consistency and reliability of data returned to clients,
    ensuring structured JSON output for all interactions.
  • Enhanced error handling to provide structured JSON responses across
    various services.
Better error message for missing artifacts (#973)
  • Solve
    MET-821
    • Better error message for missing artifacts
    • Shared logic for artifact registration on postprocess

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

  • Consolidated the artifact registration process to support bulk
    handling of primary and dependency artifacts.

  • Refactor

  • Streamlined registration workflows across multiple runtime
    integrations, enhancing efficiency and clarity.

  • Tests

  • Added comprehensive tests to ensure robust error reporting when
    dependencies are missing.

  • Introduced a new test case to validate behavior for non-existent
    engine scripts.

Documentation

(sub) Polish substantial docs (#967)

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
    • Enhanced documentation for Substantial runtime.
    • Added new section on Backend operations.
    • Renamed existing Backend section to "Persistence and Lifecycle."
  • Introduced new subsections on workflow management concepts including
    Context, Interrupts, Save, Send/Receive, and Ensure.
  • Added a new...
Read more

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 17 Jan 02:10
30d8b1e

v0.5.0 - 2025-01-16

Bug Fixes

(gate,sdk) Fail fast on bad credentials before artifact upload (#961)

Solves
MET-793

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

Release Notes

  • New Features

  • Added a ping functionality to verify typegate connectivity and
    credentials

  • Introduced a new server health check mechanism across multiple
    language implementations

  • Improvements

    • Simplified error handling in deployment and query-related functions
    • Enhanced pre-deployment validation process
  • Testing

    • Added test coverage for credential validation during deployment
    • Implemented new test scenarios for typegate connectivity checks
`selectAll` infinite recursion (#948)

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

  • Added nested composite structure support across multiple client
    implementations

    • Enhanced selection handling for composite queries
    • Expanded type definitions for more complex data representations
  • Bug Fixes

    • Improved selection processing logic in client implementations
    • Updated version compatibility for SDK imports
  • Chores

    • Updated package dependencies to newer SDK versions
    • Reformatted and improved code readability across multiple files
Patch proto to latest + update script (#953)

Update protobuf-codegen and protobuff to latest (3.7.1)

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

Release Notes

  • Dependency Updates

    • Updated protobuf library from version 3.5.1 to 3.7.1
    • Updated protobuf-codegen crate to version 3.7.1
  • Build Configuration

  • Modified protobuf compiler output option from --rust_out to
    --rs_out

    • Simplified protobuf code generation command
  • Compatibility

    • Ensured compatibility with latest protobuf runtime version
Bad name on shared types (#955)

Since types can be shared, prefixing the name with the first
function/path encountered would be confusing for the other types that
also refers to it.

This patch disables prefixing for types with more than one referrer.

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

Based on the comprehensive summary of changes across multiple files,
here are the updated release notes:

  • Type System Refinement

    • Standardized type naming conventions across multiple languages.
    • Replaced specific type aliases with more generic scalar types.
    • Updated function signatures to use simplified type definitions.
  • Version Updates

    • Incremented metatype version from "0.5.0-rc.8" to "0.5.0-rc.9".
  • Upload Functionality

  • Modified file upload method return types to return boolean instead of
    complex output.

    • Updated argument types for upload-related functions.
  • Performance and Naming Improvements

    • Enhanced reference counting for type naming processor.
    • Refined type generation logic with more consistent naming strategies.

These changes primarily focus on improving type system consistency and
simplifying type definitions across different runtime environments.

Where type issues (#958)
  • Fixes issues with type counts.

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

    • Enhanced duplicate detection mechanism for type graphs.
    • Improved type identification and relationship tracking.
  • Added new root functions for dynamic entity management in type
    duplication.

  • Refactor

    • Updated model identifier handling in type generation.
  • Modified key management for skip models from type-based to
    string-based keys.

  • Transitioned from static to dynamic entity definitions for
    scalability.

  • Bug Fixes

    • Streamlined type duplicate detection logic.
    • Improved error handling for unsupported type scenarios.
  • Adjusted assertions for serialization size and type count limits in
    tests.

Features

Python code validation (#939)

Add python code validation on deploy

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
Add json schema (#952)

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

  • Added comprehensive configuration schema validation for Metatype
    system configuration files.

  • Implemented JSON schema testing to ensure configuration integrity
    across multiple YAML files.

  • Tests

  • Introduced new test suite for validating configuration schema using
    Ajv JSON schema validator.

Unify worker manager (#954)
  • Solves
    MET-667
    • BaseWorkerManager
    • Use in Deno runtime
    • Use in Python runtime (followup PR)
    • Use in Rust runtime (followup PR)
    • Worker pooling (followup PR)

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

Summary by CodeRabbit

Based on the comprehensive summary, here are the updated release notes:

  • New Features
  • Enhanced worker management system with improved task tracking and
    execution.
  • Introduced new WorkerManager for more robust Deno runtime
    operations.
    • Added support for inline artifact generation and management.
  • New asynchronous metho...
Read more

v0.5.0-rc.9

Choose a tag to compare

@github-actions github-actions released this 25 Dec 10:01
6b68642

v0.5.0-rc.9 - 2024-12-25

Bug Fixes

Broken deno runtime secret injection (#946)
  • Bumps to 0.5.0-rc.9
  • Fixes bug with deno secret injection

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

Features

(gate,sdk) New policy spec (#937) - BREAKING: new policy spec (#937)

Migration notes

  • Replaced true, false, and null to ALLOW, DENY and PASS.

Composition rules:

  1. On traversal order:
  • ALLOW: allow parent and all its children (ignore inner policies)
  • DENY: deny parent and all its children (ignore inner policies)
  • PASS: pass through parent and evaluate each children (no-op,
    equivalent to no policies)
  1. On a single type (a.with_policy(X).with_policy(Y)):

ALLOW and DENY compose the same as true and false with the AND gate,
PASS does not participate.

  • ALLOW & P = P
  • DENY & P = DENY (e.g. DENY & ALLOW = DENY)
  • PASS & P = P (does not participate)
  • 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

  • Enhanced documentation for Metatype's mental model, including clearer
    policy definitions and a comparison table with classical models.

  • Introduction of a comprehensive tutorial on building a Metatype API,
    covering setup, CRUD operations, and security practices.

  • Bug Fixes

  • Updated policy logic to return explicit 'ALLOW' or 'DENY' strings
    instead of boolean values across various components.

  • Documentation

  • Improved clarity and detail in documentation for policies and core
    concepts.

    • Added new sections for policy composition rules and traversal order.
  • Refactor

  • Streamlined policy management and evaluation logic across multiple
    files, enhancing clarity and maintainability.

  • Tests

  • Added tests for new policy functionalities and updated existing tests
    to reflect changes in policy handling.


v0.5.0-rc.8

Choose a tag to compare

@github-actions github-actions released this 16 Dec 23:48
ea8711f

v0.5.0-rc.8 - 2024-12-16

Bug Fixes

(gate) Cache deno imports on deploy (#925)

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

(metagen) Client file upload fixup (#936)
  • Make reusable file on multiple path for python and added tests for TS
    and Python.

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
Type duplication bug (#938)
  • Fixes bug in type-deduplication impl.
  • Fixes issues with very long names generated by prisma where types.
  • Fix bug where duplicate names end up in typegraph
  • Tests to avoid type size and duplication regressions
  • Bumps version to 0.5.0-rc.8

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

Features

(metagen) Python client file upload (#931)

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
(metagen) Typescript client file upload (#934)

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,deno) Advanced filters + context util + replay aware logger (#930)

Solves
MET-720,
MET-749
and
MET-760.

Basic overview

Given an expression tree, a field can represent either an operator
(e.g., and, or, lte, etc.) or a 'special' field (started_at, ended_at,
status).

We can now answer queries such as: 'List all failed runs that started
between x and y but did not end at z, where the value is not null, or
alternatively completed but returned null'

Injection on output types (outjection) (#935)
  • Solve
    MET-140
    • Enable injection on output
  • Solve
    MET-47
    • test from parent injection for either/union types

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

Miscellaneous Tasks

Improve ux, installer (#932)

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