v0.3.6 - 2024-03-14
Bug Fixes
<details >
<summary>
(gate) `RandomRuntime` does not consider `enum`, `either`, `union` variants (<a href="https://github.com/metatypedev/metatype/pull/619">#619</a>)
</summary>
add either, enum, struct and union type support in Random Runtime.
Motivation and context
generating random values for enums, either and union types was failing.
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>
(python-wasi) Fix for vm not initialized after consecutive deploy (<a href="https://github.com/metatypedev/metatype/pull/617">#617</a>)
</summary>
Bug fix for typegate throwing vm not initialized
after reload
Motivation and context
Bug fix
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>
Apply from context (<a href="https://github.com/metatypedev/metatype/pull/616">#616</a>)
</summary>
Fix type validators for apply from context.
Motivation and context
Bug.
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>
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>