Releases: encoredev/encore
v1.54.2 — Bugfix
What's Changed
Full Changelog: v1.54.1...v1.54.2
v1.54.1 — Improvements and fixes
What's Changed
- Add docs for GET /rollouts/{id} platform API endpoint by @eandre in #2263
- tsparser: fix usage parsing of service names containing '-' by @eandre in #2268
- Pre-compute scrub paths during code generation by @eandre in #2267
- runtimes/core: Include more details when prometheus export fails by @fredr in #2275
- exporters/prometheus: sort labels by @fredr in #2278
- Refresh some docs by @marcuskohlberg in #2279
- runtimes/core: set x-encore-trace-id header in gateway by @eandre in #2276
- chore(docs): Updates to markdown docs found during review by @eleijonmarck in #2286
- runtimes: always sample traces from Encore Platform by @eandre in #2290
- Add GitHub templates for issues and discussions by @simon-johansson in #2291
- runtimes: add trace sampling config for endpoint/service by @fredr in #2292
- clientgen: fix optional arrays by @fredr in #2271
- tsparser: add missing uniqueness checks by @fredr in #2295
- docs: Set prebuild and postbuild hooks default value by @fredr in #2294
Full Changelog: v1.54.0...v1.54.1
v1.54.0 — Customizable dashboard, Move services between Cloud Run instances, Build hooks
In this release we've added several highly requested features. Remember to update your CLI using encore version update.
Customizable Cloud Dashboard
dashupdate.mp4
You can now pick the environments you want to see on your app overview dashboard and choose which deployments should show up. We hope this update helps you keep your focus on what matters most.
Your settings are saved in local storage per app, so you can make the dashboard your own for each of your projects.
Move services between Cloud Run instances
moveservices.mp4
On Encore Cloud you can now easily move services between existing Cloud Run instances, or move services into new instances. This makes it simple to run different services with different infrastructure configurations to optimize for your performance, scalability, and cost targets.
To try it out, open the Infrastructure page in Encore Cloud and rearrange your services using click-to-move or drag and drop.
When you make a change, it gets saved in preview and you can then click Deploy to apply the changes.
This lets you make multiple configuration changes, staying in control over how and when they are applied.
- Want to see this for other compute types? Let us know!
Build Hooks
You can now define custom build hooks that execute during the build process when deploying to Encore Cloud or building a Docker image via encore build docker.
Two hooks are available:
prebuild— Runs before the Encore build, but after dependencies are fetched (e.g.,npm install)postbuild— Runs after the Encore build has finished
This is particularly useful for building dependencies in a monorepo setup. See our guides for Turborepo and Nx.
Configuration
Define hooks in your encore.app file:
{
"build": {
"hooks": {
"prebuild": "my-command",
"postbuild": "my-command"
}
}
}Hooks can also be specified as an object with custom environment variables:
{
"build": {
"hooks": {
"prebuild": {"command": "my-command", "env": {"MY_VAR": "value"}}
}
}
}Other improvements
- docs: add info about the service client ref by @fredr in #2255
- docs: add docs for ts monorepos by @fredr in #2254
- feat(add): Adds endpoints for
dash.gofor localdev -traces/spans/summaries/list,traces/spans/events/listby @eleijonmarck in #2257 - daemon: run prepare correctly on encore run by @fredr in #2259
- runtimes/core: add support for trace sampling rate by @fredr in #2262
Full Changelog: v1.53.8...v1.54.0
v1.53.8 — Improvements and fixes
What's Changed
- cli: llm-rules init error message fix by @fredr in #2242
- runtimes/js: initialize type constructors in test mode by @eandre in #2241
- update uptime monitor tutorial assets by @marcuskohlberg in #2243
- docs: streamline AI integration docs, add skills and video by @ivancernja in #2244
- Update README.md visuals by @marcuskohlberg in #2247
- Add AI integration docs for Encore Cloud by @ivancernja in #2246
- Add noshadow class to initllm image by @ivancernja in #2248
- export: parse metrics collection interval correctly by @fredr in #2253
- Add pubsub message id to end event by @eandre in #2249
- Update ts_llm_instructions.txt by @simon-johansson in #2238
- Update go_llm_instructions.txt by @simon-johansson in #2251
Full Changelog: v1.53.7...v1.53.8
v1.53.7 — Bugfixes
What's Changed
- clientgen: handle nil when generating typescript client by @fredr in #2239
- cli/daemon/engine/trace2/sqlite: fix updateSpanEndIndex by @eandre in #2240
Full Changelog: v1.53.6...v1.53.7
v1.53.6 — Improvements and fixes
What's Changed
- tsparser: add support for call expressions by @fredr in #2209
- feat(traces): Adds
caller_event_idto spanEnd message by @eleijonmarck in #2223 - tsparser: add support for parsing call signatures by @fredr in #2210
- docs: fix typo and grammar in readme by @WuMingDao in #2232
- Update billing.md by @marcuskohlberg in #2236
- cli: don't use temp dirs when running test prepare by @fredr in #2234
- Fix db browser when using ENCORE_SQLDB_HOST by @eandre in #2220
- runtimes/js: add service client ref by @fredr in #2237
Thanks to our first time contributor ❤️
- @WuMingDao made their first contribution in #2232
Full Changelog: v1.53.5...v1.53.6
v1.53.5 — Improvements and fixes
What's Changed
- Add support for drizzle-v1 migrations by @ekerfelt in #2222
- fix(docs): Fix grammar in benefits.md by @harishkrishnan24 in #2221
- cli: dont exit on q in name input by @fredr in #2227
- traces: Update trace version to 15 for core runtime by @eleijonmarck in #2229
- runtimes/core: support equal paths with different path param names by @fredr in #2231
Thanks to our first time contributor ❤️
- @harishkrishnan24 made their first contribution in #2221
Full Changelog: v1.53.4...v1.53.5
v1.53.4 — Fix for trace view
What's Changed
- bug: Fix argument list having duplicate reads by @eleijonmarck in #2216
Full Changelog: v1.53.3...v1.53.4
v1.53.3 — Improvements and fixes
What's Changed
- Ensure rust panics are logged as errors by @ekerfelt in #2211
- Adds
caller_event_idto spansummaries same asparent_span_idby @eleijonmarck in #2215
Full Changelog: v1.53.2...v1.53.3
v1.53.2 — Improvements and fixes
What's Changed
- encore test: fix conflict with pre-installed go versions by @fredr in #2206
- clientgen: add openapi test cases for tsapp by @fredr in #2204
- tsparser: handle re-exports when resolving namespace imports by @fredr in #2207
- Compile and attach service configs when exporting docker image by @ekerfelt in #2208
Full Changelog: v1.53.1...v1.53.2