Skip to content

Service Bundling, Go 1.21, encore rand, and more!

Compare
Choose a tag to compare
@eandre eandre released this 10 Aug 15:19
· 493 commits to main since this release

We're excited to announce Encore v1.24 which comes with several new features! As always, upgrade with encore version update.

Service Bundling

Encore now supports configurable bundling/unbundling of services when deploying to your own cloud. When creating a new cloud environment you can decide whether all services should be bundled together into a single deployment, or split into one deployment per service.

Bundling services improves API call performance and reduces latency between them, but removes the ability to scale them independently. Typically for Kubernetes and AWS Fargate you'll want each service deployed separately, whereas for GCP Cloud Run to bundle them together, but it depends on the use case.

Under the hood Encore already supports mixing and matching between these two modes, enabling specific services to be co-located in whatever ways you wish according to performance requirements. In the future these knobs will be exposed directly in the UI, but let us know if you want to customize the setup until then.

Go 1.21

Encore v1.24 includes support for the newly released Go 1.21, which includes a whole slew of improvements. Check out the official release notes for more information.

Database users & passwords

The infrastructure page now lists database users and allows decrypting and viewing the database password (for admins).

encore rand

Encore now contains a set of CLI utilities for generating random data of various kinds. This is useful for generating cryptographically secure random data for things like secrets. For example:

  • Random bytes: encore rand bytes 32 (in various formats with -f hex|base32|base64|etc)
  • Random words: encore rand words 8 (for passphrases or such)
  • Random UUID: encore rand uuid (defaults to v4, override with -1|-4|-6|-7)

What’s next

Right now we're working on adding support for deploying to Kubernetes on AWS, gRPC, and much more. Remember to vote on your favorite feature on the roadmap!

As always, if you have questions or feedback, tell us on Slack or just email us at hello@encore.dev.
We’re excited to hear your feedback! ❤️

Catch you in the cloud,
The Encore team