Introducing the Encore App Metadata API #214
marcuskohlberg
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As developers, we often find ourselves in situations where we need to change something in our codebase, but don't want to change it everywhere the code is deployed.
Using Encore's new App Metadata API, you can now query the runtime to find out what environment the application is running in. Which means you can easily load the appropriate configuration files into memory and get the correct behavior for each environment.
This makes it a breeze to do things like:
Check out the docs to learn more.
Upgrading
With this release, we've updated the runtime API with the new metadata API's and types. To upgrade you will need to both:
encore version update
to downloadv1.1.0
of the Encore compiler.go get -u encore.dev
to upgrade to the latest runtime API.Bugfixes and other improvements
— Thanks to @davidmytton, @klemmster, @ValeriaVG, @vilhelmmelkstam, @kwihl, and @MaxDanielsson for your contributions, bug reports, and feedback!
Join the most pioneering developer community
Developers building with Encore are forward-thinkers working on exciting and innovative products. Join the conversation on Slack to see what's going on, learn from others, and share what you're working on.
What's next
Over the coming weeks we'll be releasing a vastly improved web UI, and focus on adding much requested flexibility to the Encore framework. We'll add improved support for things like: http headers in Encore APIs, middleware, and dependency injection.
As always, if you have questions or feedback, tell us on Slack or just reply to this email.
We're excited to hear your feedback! ❤️
Catch you in the cloud,
The Encore team
This discussion was created from the release Introducing the Encore App Metadata API .
Beta Was this translation helpful? Give feedback.
All reactions