Releases: aosasona/robin
v0.8.2
v0.8.1
- Improved error message for
io.ReadClosermismatch to report the package pathTurns out
goimportmight accidentally importgithub.com/gogo/protobuf/ioinstead ofio
Full Changelog: v0.8.0...v0.8.1
v0.8.0
v0.7.0
v0.6.1
v0.6.0
v0.5.3
v0.5.2
v0.5.1
- Fixed leading slash bug in REST API layer
Full Changelog: v0.5.0...v0.5.1
v0.5.0
What's Changed
Full Changelog: v0.4.0...v0.5.0
This is a somewhat major release (obviously) laying the foundation for a few things including but not limited to OpenAPI/Swagger docs generation and more tests.
In this version, you can now expose REST-ful API endpoints that are automatically mapped to your procedures; currently limited to GET and POST methods with some naive path normalization which might require calling the new WithAlias method to clean up the endpoints/routes. In the future, Robin will also attempt to infer the appropriate HTTP verb to use depending on the name of your procedure and provide you options to override this decision.
As with everything else, this feature is available even if you are not using the built-in Serve method, you can manually attach the REST endpoints to your Mux router using the new methods like BuildRestEndpoints.
See a basic example of the new REST-ful layer in the examples/with-rest-endpoint folder.
Warning
Please note this is still a pre-1.0 release, there might be bugs (especially since I have unfortunately written very few tests so far), happy to take bug reports and address them as soon as possible.