Releases: mify-io/mify
Releases · mify-io/mify
Mify v0.1.19
What's Changed
Features
- Moved generated files to a single directory mify-generated. Migration should be automatic, Mify will update the files after you run
mify-generate. - Added a test mode to add clients for existing service. In this mode Mify will not create a full managed service, it, will generate only the clients for any OpenAPI schema you can provide, and you'll be able to use it in your existing service. Here's how to use this:
- Go to your existing repository and run:
mify init
- Update workspace.mify.yaml to include these params:
generator_params:
template:
go:
dev_runner: {}
mify_generated_path: internal/mify-generated
- Add any OpenAPI schema to a client that you want to use and put it in
schemas/mify-external/<client-name>/api/api .yaml. - Create a config for your existing service, put it in
schemas/<service-name>/service.mify.yaml, here's an example of config:
language: go
service_name: myservice
maintainers: []
components:
layout: {}
- Run
mify add client myservice --to external-service
This feature is not fully finished, so it doesn't have an easy interface yet, but feel free to try it!
Mify v0.1.18
What's Changed
Features
- Added support for generating clients from externally provided schemas.
Now you can generate clients for any external OpenAPI schema, here's how to try it:- Put OpenAPI 3.0 yaml in
schemas/mify-external/<external-service-name/api/api.yaml. - Run
mify add client your-service --to external-service-name. - Now you can use client in your service!
- Put OpenAPI 3.0 yaml in
Bugfixes
- Fixed dashes in path generation in Python.
- Added missing support for datetime field in Go.
- Updated sqlc generator and Go version to 1.21.
- Fixed CLI logging, ovewriting previous runs.
- Fixed some races during client generation.
- Fixed invalid package.json for JS service.
Installation
Check the installation guide in the docs: https://mify.io/docs/#installing-mify or download the packages below!
Mify v0.1.17
What's Changed
Features
- Made React template default for frontend
- Removed strict mode from React frontend
Bugfixes
- Updated python-consul package to fix it for Python 3.11
- Added replacement of dash to underscore for python service name
Mify v0.1.16
What's Changed
Bugfixes
- fix ExpressJS OpenAPI validation in requests
Full Changelog: v0.1.15...v0.1.16
Mify v0.1.15
What's Changed
Features
- Allow specifying custom authentication/authorization for controllers
- Initial support for ExpressJS
- Add Dockerfile with nginx instead of node
Full Changelog: v0.1.14...v0.1.15
Mify v0.1.14
Mify v0.1.13
What's Changed
Bugfixes
- Fix request metrics in the Go backend
- Fix path parsing in the Go backend in some cases where path params are used
Full Changelog: v0.1.12...v0.1.13
Mify v0.1.12
Mify v0.1.11
What's Changed
Features
- Added support for sqlc code generation (#108)
Full Changelog: v0.1.10...v0.1.11