Releases: metatypedev/metatype
v0.4.10-rc1
v0.4.10-rc1 - 2024-09-03
Bug Fixes
Use import_map at runtime (#833)
- Bump to release v0.4.10-rc1
- Use import_map.json at runtime since remote configs aren't supported
v0.4.9-rc2
v0.4.9-rc2 - 2024-09-02
Miscellaneous Tasks
(release) Prepare 0.4.9-rc2 (#829)
- Fix the minor issues with rc1
- Bump to rc2
v0.4.9-rc1
v0.4.9-rc1 - 2024-09-02
Features
(docs) Post on `Durable Execution`. (#816)
(metagen) Client_ts (#790)
- Implements
client_ts
as described in #777 .
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 error handling in the
typegraph
function to provide better
error messages. -
Chores
-
Updated Docker image references to use
docker.io
prefix for
consistency.- Excluded unnecessary files from the VSCode settings.
- Enhanced configurability of Docker commands in development tasks.
-
Updated environment variable
GHJK_VERSION
to reflect a semantic
versioning format. -
New Features
-
Introduced modules and methods for TypeScript and Python code
generation in themetagen
library, enhancing client generation
capabilities.- Added
test_typegraph_3
function for improved testing capabilities. - Included metadata for the package manager in the project settings.
- Added
(sub) Sdk and typing (#811)
User side of substantial
Migration notes
None
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
Add caching to Secrets struct to improve performance (#813)
Migration notes
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
Refactor
(docs, gate) Push for `meta dev` instead of `meta typegate` on docs (#822)
Ensure documentation is pushing for meta dev instead of meta typegate
- add a warning that envs are not set.
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
Flatten deps and improve repo folder (#821)
- Renames
libs/
tosrc/
. - Moves
typegate/
,meta-cli
,typegraph/
,meta-lsp/
tosrc/
. - Renames
dev/
totools/
- Moves
website/
todocs/metatype.dev
/ - Moves
src/typegate/tests
totests/
- Moves
src/typegraph/deno/dev
totools/jsr/
- Moves
src/typegraph/deno/sdk
tosrc/typegraph/deno/
- Renames
src/deno
tosrc/mt_deno
- Bumps deno to
1.46.1
- Bumps rust toolchain to
1.80.1
- Moves all rust dependencies to workspace section
- Moves
tools/task-*.ts
totools/task/*.ts
- Moves
cliff.toml
,Cross.toml
,ruff.toml
totools/
- Uses deno
workspaces to
organizesrc/typegraph/deno
,src/typegate
,tools/
,tests/
and
more. - Closes MET-607
- Updates poetry to 1.8.3
- Bumps metatype to version 0.4.9-rc1
- Update CONTRIBUTING.md
- Fix CI workflows
- Fix Dockerfile
- Fix all tests
Migration notes
-
No end user changes required
-
The change comes with new or modified tests
-
Hard-to-understand functions have explanatory comments
-
End-user documentation is updated to reflect the change
v0.4.9
v0.4.8
v0.4.8 - 2024-08-16
Bug Fixes
Table method for kv runtime (#815)
I discover an issue in the KV runtime documentation
kvruntime docs
`wasm_backtrace` config bug (#814)
$WASM_BACKTRACE_DETAILS
was enabled inmain
ghjk env which
affected embedded wasm module compilation to have backtrace enabled.
This broke typegate runs without the flag enabled due to mismatch.- Fixes Cargo.lock not being used in Dockerfile.
- Prepare 0.4.8 release
Features
Kv runtime (#797)
Migration notes
...
- The change comes with new or modified tests
- End-user documentation is updated to reflect the change
- Hard-to-understand functions have explanatory comments
Miscellaneous Tasks
Bump to 0.4.8-0 (#810)
- Bump prerelease
- Fix minor issue with release pipeline
v0.4.7
v0.4.7 - 2024-08-08
Features
(cli) Fix auto deployment (#806)
- Upgrade lade-sdk
- Fix discovery
- Remove obsolete dep: actix-web
lade-sdk
uses the main branch, which now has the fix for the
following issues:- dependency version conflict with
deno:
url
is set at<2.5.0
; - required ProjectID error for infisical: the project id is added
explicitly on the command.
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
Cors headers on error (#803)
Migration notes
...
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
Miscellaneous Tasks
Bump to 0.4.7-0 (#805)
- Bump version to 0.4.7-0
Refactor
(docs) Add how to test typegraphs doc (#798)
How to test your typegraphs
documentation
- add python doc
- add ts doc
- upgrade bitnami/minIo image to 2024?
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
Summary by CodeRabbit
-
New Features
-
Updated the Minio service to the latest version for improved
performance and potential new features. -
Introduced comprehensive documentation for testing typegraphs in both
TypeScript and Python, enhancing developer experience. -
Documentation
- Enhanced readability of the
Meta CLI
upgrade instructions.
- Enhanced readability of the
-
Reformatted installation instructions for the
typegraph
package for
better clarity. -
Chores
-
Updated dependency management configuration for improved compatibility
and performance across different platforms.
Improve JSR score (part 1) (#807)
- Add symbol documentations
- Fix slow types
Migration notes
...
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
v0.4.6
v0.4.6 - 2024-08-01
Features
Better arg split logic for MCLI_LOADER (#799)
Migration notes
...
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
Miscellaneous Tasks
Prepare 0.4.6 (#795)
- Bump version to 0.4.6-0
- Add sanity tests for published SDKs
- Bump deno to 1.45.2
- Bump rust to 1.79.0
- Fix myriad of bugs
Migration notes
...
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
Summary by CodeRabbit
-
New Features
-
Introduced new logging capabilities in the
ConnectedEngine
with
adjustable logging levels. -
Implemented cleanup procedures in tests to enhance resource
management. -
Bug Fixes
-
Fixed import paths for permissions to ensure correct functionality in
tests and applications. -
Version Updates
-
Incremented version numbers across multiple projects and packages to
reflect ongoing development and improvements. -
Documentation
-
Added comments to clarify code behavior and potential future
considerations in various modules. -
Refactor
-
Optimized string handling in several functions and adjusted method
signatures for improved clarity and efficiency.
Refactor
(docs) Better documentation on `quick-start` page (#793)
Improve the documentation on quick-start
page
- add dev hunt result to homepage.
Migration notes
...
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
v0.4.5
v0.4.5 - 2024-07-18
Bug Fixes
Broken pipeline for 0.4.4 (#782)
Fixes erroneous usage of setup-deno
which has been replaced by ghjk
itself.
Migration notes
...
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
Broken release pipeline 2 (#783)
Fix issue with the three remaining failing jobs.
Migration notes
...
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
Release pipeline 3 (#784)
- Remove accidental dry-run from jsr publish
- Fix cross dockerfile
Migration notes
...
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
Skip deno stack trace from error message (#787)
Skip the deno stack trace from the error message when tg_manage fails.
Migration notes
N/A
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
Features
(cli) Configurable backoff (#789) - BREAKING: configurable backoff (#789)
- Make the backoff configurable through the
--retry
and
--retry-interval-ms
options. - The default max retry count is changed to 0 on the default mode, and
remains 3 on the watch mode. - The
--max-parallel-loads
option has been renamed to--threads
.
Migration notes
The --max-parallel-loads
option has been renamed to --threads
.
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
Add list subcommand features to meta_cli (#775)
new branch after conflict with main branch
Migration notes
...
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
Upgrade www and gha (#786)
Add back gleap (#791)
- Gleap.io was removed a while back
- this adds it back so visitors can open ticket and suggest feedback
- internally, we will use this to fine tune the documentation
Miscellaneous Tasks
Bump v0.4.5 (#792)
- Bumps metatype version to 0.4.5
- Bumps ghjk to latest commit
- Fixes
setup
whiz task to avoid issues on macos - Fixes release pipeline to publish JSR
MET-614 MET-606 MET-605 MET-613
Migration notes
No changes required.
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
v0.4.4
v0.4.4 - 2024-07-05
Bug Fixes
(gate) Ensure all deps are defined in import_map.json (#768)
Ensure that all deps are defined in import_map.json
with a specific
version.
Missing typegraphs (#755)
- fix the typegraphs that were incorrectly formatted
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
Stable formatting and uniformize the code-loader (#766)
- add prettier to avoid doc formatting issue
- now explicitly require
!!code-loader!
to load code inside the
documentation (will hopefully help also with the missing typegraphs
issues, still under investigation)
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
Documentation
Generate clients from openapi (#778)
Demonstrate how to use the openapi spec to generate clients in most
languages/frameworks.
Migration notes
None
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
Summary by CodeRabbit
- Documentation
- Updated REST API documentation URLs with placeholders for easier
configuration. - Added information on generating and using OpenAPI clients, including
TypeScript fetch client generation. - Bug Fixes
- Corrected a regular expression in import handling to ensure accurate
replacements. - Chores
- Improved file writing by appending a newline character to JSON
strings.
Features
Move all the configs to one single file (#733)
- Move all the configs to one single file
- Remove some specific configs from the global config variable and make
them accessible on theTypegate
instance, to improve test
configurability.
Migration notes
-
SYNC_REDIS_PASSWORD
has been removed, can only be set on the
SYNC_REDIS_URL
. -
The change comes with new or modified tests
-
Hard-to-understand functions have explanatory comments
-
End-user documentation is updated to reflect the change
Remove restrictions for union/either types (#761)
In the previous versions, we restricted the variant types allowed in
union/either to be all in the same category (after flattening
multi-level unions):
- Category 1 - GraphQL leaf types: scalar type, or array of scalar
type, which require no selection set on GraphQL. - Category 2 - GraphQL non-leaf types: object type or array of
object type, which require a selection set on GraphQL (aka selectable
types in the codebase).
Those restrictions can be lifted, and the selection field of an
union-type field will have inline fragments with type conditions for
each Category 2 variant. No type condition is required for Category
1 types, the selection sets are not relevant.
The case that is not handled by this PR is when one of the variants is
an array of union type.
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
Typegate in meta dev, upgrade test (#776)
- Test the typegate upgrade from the latest published version to the
current version. - Add a flag to run an instance of the typegate with the target
configuration (port, admin passsword) tometa deploy
, enabled by
default formeta dev
.
Migration notes
If you have a script that runs meta dev
, add the flag --no-typegate
if you already have a typegate.
- 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
Add programmatic deploy tests (#769)
Add Programmatic deploy tests for the docs
- Add programmatic typegraph deploy/remove tests
- refactor tg_remove to accept
typegraph_name
instead of
TypegraphOutput
obj.
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
Bump to version 0.4.4 (#779)
Prepare release of the 0.4.4 version.
Migration notes
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
Refactor
(sdk) Back to deno + jsr exploration (#760) - BREAKING: back to deno + jsr exploration (#760)
Try reverting back to deno runtime for the typescript sdk in hope of
making the dx easier.
Hosting a custom node/npm project adds more layer of indirection which
may result in cryptic issues sometimes.
This should also facilitate publishing on jsr although additional work
are still required on the jco
codegen side.
Migration notes
N/A
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
Move to ghjk 0.2.0 (#754)
- Refactors the ghjk.ts, CI to the latest version of ghjk
- Bumps version to 0.4.4-0
- Fixes race bug in python_sync tests
- Fixes flakeout of wasm
build.sh
scripts due to wasm-tools EOF issue - #763
- #746
Migration notes
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
Summary by CodeRabbit
- Chores
- Updated GitHub Actions workflows to use the latest version of
metatypedev/setup-ghjk
for improved stability and performance. - Modified
GHJK_VERSION
and various environment variables across
multiple configuration files to ensure compatibility with updated
dependencies. - Revised Dockerfiles to streamline environment setup and improve build
efficiency. - Updated dependen...
v0.4.3
v0.4.3 - 2024-06-22
The Typescript/Deno SDK is now stable.
Bug Fixes
(ci) Poetry lockfile (#732)
- Fixes poetry lockfile and adds pre-commit hook to prevent issue from
happening
(docs) Fix demo typegraphs 2 (#756)
Fix example typegraphs on metatype.dev.
- reduce.ts
- policies.ts
- graphql.ts
- authentication.ts
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
(docs) Fix programmatic deployment guides (#762)
- Fix typo
- fix/test tg deploy
- fix/test tg remove
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
Only build xtask once for the tests (#720)
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
Summary by CodeRabbit
-
New Features
- Updated platform compatibility to
x86_64-linux
.
- Updated platform compatibility to
-
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.
Missing typegraphs (#741)
Fix Missing Typegraphs
- attempt to fix the missing typegraphs on metatype.dev.
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
Upload url path and add logging in the SDK (#740)
- 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 themetatype.yaml
config file has
been replaced bytypegraphs.typescript
andtypegraphs.javascript
. -
tg_deploy
params has changed. -
The change comes with new or modified tests
-
Hard-to-understand functions have explanatory comments
-
End-user documentation is updated to reflect the change
Failed typegraph deployment (#758)
- Fix casing typo in the typescript sdk
- Fix error reporting in the typescript sdk
- Display the retry number
- Warning on cancelled retry
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
Documentation
`/docs/concepts/features-overview/` (#725)
- Re-does the feature overview page of the documentation.
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
andTabItem
components withTGExample
for
better code example presentation. -
Adjusted the
MiniQL
component to handle optional properties and
default settings.
`/docs/reference/metagen` + `/docs/guides/wasm-functions` (#751)
- 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
- End-user documentation is updated to reflect the change
Summary by CodeRabbit
-
New Features
-
Added new targets for
metagen
with different generators and paths
for TypeScript, Python, and Rust. -
Introduced new functionality for defining and exposing typegraphs with
policies in various environments (Deno, Python, Rust). -
Added automated Rust WebAssembly project generation and compilation
script. -
Enhanced documentation with new sections and updated code examples
usingTGExample
. -
Bug Fixes
- Updated
.gitignore
to exclude*.wasm
files.
- Updated
-
Documentation
-
Updated links and added detailed instructions for generating types
usingmetagen
. -
Refactor
-
Switched from
HashMap
toBTreeMap
andHashSet
toBTreeSet
in
various modules for better data structure handling.- Added logging enhancements in the
Typegate
class.
- Added logging enhancements in the
-
Chores
- Updated build script for Rust WebAssembly target.
Programmatic deployment blogpost (#752)
Blogpost to help discover programmatic deployment additions.
Migration notes
...
- The change comes with new or modified tests
- Hard-to-understand functions have explanatory comments
- End-user documentation is updated to reflect the change
Summary by CodeRabbit
-
New Features
-
Introduced programmatic deployment feature for deploying typegraphs
within the Metatype ecosystem using TypeScript/Python SDKs. -
Added new configuration options and deployment functions to enhance
automation and flexibility in deployment processes. -
Documentation
-
Added a new blog post detailing the programmatic deployment feature
and its usage.
Features
(SDK) Add `globs` and `dir` support for artifact deps. (#698)
- Include glob and dir support for
PythonRuntime
deps. - Include glob and dir support for
DenoRuntime
deps. - add tests
The change includes support for declaring artifact dependencies thro...