v0.5.0-rc.1 #884
v0.5.0-rc.1
#884
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
v0.5.0-rc.1 - 2024-10-22
Bug Fixes
(ci) Disable sccache when secrets not avail (#874)
the test suite.
(cli) Change default installation directory (#873)
Migration notes
...
(docs) Grpc docs (#852)
Migration notes
...
(gate) Make __typename returns the variant name on unions (#838)
transformations on the typegate
MET-642:
Fix the
__typename
result on union variants: return the variant nameinstead of the parent type name
Migration notes
N/A
Checklist
(subs) Key collision on redis (#865)
Follow up of #863
When multiple start occurs for redis, some schedules can happen
exactly at the same time resulting into the same identifier (and
leading to an inconsistent state).
This solution simply combines the
schedule
with the run_id making itunique instead of using it as is.
Migration notes
None
Fix missing images (#847)
Fix missing images for
durable execution
blogMigration notes
...
Improve name generation for prisma types (#849)
Solve
MET-657
Migration notes
...
Documentation
(blog) Running python with WebAssembly part 1 (#823)
Running python with webassembly (part 1)
Migration notes
None
Summary by CodeRabbit
Summary by CodeRabbit
New Features
Introduced a comprehensive guide for integrating Python runtime with
WebAssembly (WASI) in the Metatype ecosystem.
Detailed the advantages of using WebAssembly over Docker for platform
independence and resource management.
Provided technical requirements and a refined solution for executing
Python scripts in a sandboxed environment.
Expanded vocabulary with new relevant terms for enhanced text
processing and validation.
Documentation
Updated YAML configuration structure in documentation for clarity on
type gate usage.
`/docs/reference/typegraph/client` (#777)
Pre-documentation for the code-first queries feature.
Migration notes
...
Features
(dev) Typegraph explorer (#859)
metatype.yml
config file(gate) Empty object as custom scalar (#876)
Int
,String
, and such, rightfully refer the constant{}
as a scalarEmptyObject
scalarMigration notes
None
(mdk) Overridable templates (#842)
Solve
MET-630
mdk_rust
mdk_python
mdk_typescript
Migration notes
No changes needed.
(metagen) Union/either for clients (#857)
client_xx
metagen implementations.There are still some edge cases especially around variant identification
in the client languages. I tried many things but our hands are tied by
serde. Basically, users will have to be careful when designing their
union types to avoid ambiguity cases. Hopefully,
674
will help there.
Migration notes
...
Summary by CodeRabbit
New Features
Introduced new methods for rendering union types in both TypeScript
and Python.
Enhanced GraphQL query generation with support for multiple union
types.
Added a new
variants
property to theNodeMeta
type for improvedselection handling.
Bug Fixes
Tests
Updated test cases to reflect schema changes and added new tests for
client functionality.
(subs) Redis backend (#855)
SUBSTANTIAL_POLL_INTERVAL_SEC
andSUBSTANTIAL_LEASE_LIFESPAN_SEC
to configMigration notes
Backend.fs()
andBackend.memory()
toBackend.dev_fs()
and
Backend.dev_memory()
SUBSTANTIAL_RELAUNCH_MS
as it was relevant only for purelyworker-based runs, which rendered the new
SUBSTANTIAL_POLL_INTERVAL_SEC
redundant when an interrupt hits.Summary by CodeRabbit
Release Notes
New Features
Introduced Redis as a new backend option for enhanced data management.
Implemented comprehensive testing for Redis functionality and backend
integration.
Bug Fixes
Documentation
Updated type definitions for backend configurations to streamline
Redis integration.
Chores
Refactored test cases for clarity and consistency across different
backend types.
(subs) Retry + timeout on save (#863)
Port and improve retry/timeout.
Migration notes
N/A
(subs) Child workflows + docs (#867)
Support for child workflows.
Solves MET-689 and MET-668.
Migration notes
Previously
This approach relied on workflow files being referenced in each
materializer, but the constructs were too restrictive to support
something like
mutation { results(name: "nameManuallyGiven") }
.We now have instead
(subs,gate) Substantial integration (#844)
(subs,gate) Port agent concept (#845)
Continuation of #844
Well-defined type comparison semantics (#846)
Solve
MET-655
EnsureSubtypeOf
trait)Migration notes
No change is needed.
...
Summary by CodeRabbit
Release Notes
New Features
Introduced comprehensive type comparison rules and semantics for
scalar types, optionals, lists, objects, and unions.
Added support for enumerated types in the type system, allowing for
more precise type definitions.
Enhanced parent injection mechanism documentation to clarify type
compatibility requirements.
Implemented a new suite of type comparison tests and validation
mechanisms.
Bug Fixes
Improved error reporting and handling in the type validation process.
Documentation
Updated and expanded documentation for type comparisons, enumerations,
and parent injections.
Tests
Grpc runtime (#819)
Migration notes
...
Python hostcall (#860)
Dead lock on python worker
Migration notes
...
Miscellaneous Tasks
Checks/validation on t.either (#868) - BREAKING: Checks/validation on t.either (#868)
Emit a warning or an error when a variant is a subtype of another one.
Migration notes
BREAKING CHANGE: Previously valid typegraph might fail validation.
You will need to fix your types to add some consistency in
t.either
/t.union
types.Update prisma + deno + rust deps (#869)
Closes MET-669 and MET-622 and MET-680.
Migration notes
...
Refactor
(gate) Add err msg for missing env vars (#827)
Migration notes
...
(gate) Use stream during artifact upload to s3 (#841)
Migration notes
...
(gen, doc) Rename mdk to fdk (#851)
Migration notes
...
(sdk) Remove index based names (#848) - BREAKING: remove index based names (#848)
in graph
Migration notes
TODO
Move as_id out of `TypeNode` (#866) - BREAKING: Move as_id out of `TypeNode` (#866)
Solve
MET-684
and
MET-471
ObjectTypeData
instead of in the targettype (
as_id
)id()
method ont.integer
andt.string
as_id
,injection
andpolicy
inTypeRef::attribute
TypeRef
TypeDef
source
Migration notes
BREAKING CHANGE
from_parent
injections source shall be changed to the key in theparent
t.struct
instead of the type name.Checklist
Move injection data to `t.func` (#871)
MET-682
ObjectTypeData
(i.e.t.func
)MET-656
t.func
MET-94
TypeNode
(#858)MET-683
MaterializerData
orRuntimeData
TG_PORT=0
); this willwork with
meta dev
with embedded typegate if you set the--gate
option with port
0
.Migration notes
...
This discussion was created from the release v0.5.0-rc.1.
Beta Was this translation helpful? Give feedback.
All reactions