Skip to content

Releases: encoredev/encore

v1.54.2 — Bugfix

23 Feb 12:48
94210c7

Choose a tag to compare

What's Changed

Full Changelog: v1.54.1...v1.54.2

v1.54.1 — Improvements and fixes

23 Feb 12:47
cec8064

Choose a tag to compare

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

30 Jan 12:35
20c655b

Choose a tag to compare

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.go for localdev - traces/spans/summaries/list, traces/spans/events/list by @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

26 Jan 13:56
570ed0d

Choose a tag to compare

What's Changed

Full Changelog: v1.53.7...v1.53.8

v1.53.7 — Bugfixes

19 Jan 08:38
b99b094

Choose a tag to compare

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

16 Jan 14:19
a61c3cb

Choose a tag to compare

What's Changed

Thanks to our first time contributor ❤️

Full Changelog: v1.53.5...v1.53.6

v1.53.5 — Improvements and fixes

13 Jan 10:54
ee01860

Choose a tag to compare

What's Changed

Thanks to our first time contributor ❤️

Full Changelog: v1.53.4...v1.53.5

v1.53.4 — Fix for trace view

07 Jan 15:30
f0a2f01

Choose a tag to compare

What's Changed

Full Changelog: v1.53.3...v1.53.4

v1.53.3 — Improvements and fixes

07 Jan 15:27
d3db7ec

Choose a tag to compare

What's Changed

Full Changelog: v1.53.2...v1.53.3

v1.53.2 — Improvements and fixes

07 Jan 15:27
aca4649

Choose a tag to compare

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