Skip to content

Releases: encoredev/encore

v1.56.6 — Fixes and improvements

13 Apr 12:05
4211c0b

Choose a tag to compare

What's Changed

Full Changelog: v1.56.5...v1.56.6

v1.56.5 — Fixes and improvements

09 Apr 12:07
66c3ca1

Choose a tag to compare

What's Changed

Full Changelog: v1.56.4...v1.56.5

v1.56.4 — Fixes and improvements

07 Apr 09:00
0eb4203

Choose a tag to compare

What's Changed

  • runtimes/go: fix missing start event ids for sqldb spans by @fredr in #2378
  • runtimes/js: handle error for non async handler by @fredr in #2377
  • runtimes/core: emit end span even if the request handler is cancelled by @fredr in #2370
  • gateway-forwarded requests incorrectly marked as non-root by @fredr in #2381

Full Changelog: v1.56.3...v1.56.4

v1.56.3 — Fixes and improvements

01 Apr 09:29
915b0eb

Choose a tag to compare

What's Changed

  • runtimes: propagate trace sample decision via tracestate by @fredr in #2363
  • runtimes/core: handle pubsub push trace sampling correctly by @fredr in #2365
  • Replace deploy image buttons with DeployButton component by @ivancernja in #2366
  • docs: improve encore app subcommand descriptions by @marcuskohlberg in #2367
  • Add DeployButton to quick-start guides and Clerk how-to by @ivancernja in #2368
  • runtimes: only force sample manual cron executions by @fredr in #2369
  • runtimes: only force sample pubsub when parent is a traced platform request by @fredr in #2371
  • runtimes/core: dont emit sub events when request is not sampled by @fredr in #2374
  • remove buildjet as they are deprecated by @fredr in #2376
  • clientgen: skip must be set for set-cookie in browsers by @fredr in #2373

Full Changelog: v1.56.2...v1.56.3

v1.56.2 — Fixes for the build docker command

26 Mar 17:16
b3837f2

Choose a tag to compare

What's Changed

  • export: fixes for infra config for ts apps by @fredr in #2361

Full Changelog: v1.56.1...v1.56.2

v1.56.1 — Improvements and fixes

25 Mar 10:50

Choose a tag to compare

What's Changed

Thanks to our first time contributor ❤️

Full Changelog: v1.56.0...v1.56.1

v1.56.0 — Go 1.26 & Improved Secret Management

13 Mar 16:47
89a42d1

Choose a tag to compare

Highlights

  • Go 1.26 support: Encore.go now runs on Go 1.26, bringing the latest language features and performance improvements.
  • New secret delete command: Encore CLI now supports deleting secrets via encore secret delete. In favor or archive and unarchive commands. Making you able to create/delete secrets using the same name.

What's Changed

Full Changelog: v1.55.0...v1.56.0

v1.55.0 — Caching in Encore.ts

11 Mar 09:44

Choose a tag to compare

Caching support for Encore.ts

Encore.ts now has built-in support for caching, powered by Redis. Define cache clusters declaratively and interact with them using type-safe keyspaces — Encore handles provisioning and infrastructure automatically.

Comes with multiple keyspace types out of the box: StringKeyspace, IntKeyspace, FloatKeyspace, StructKeyspace, StringListKeyspace, NumberListKeyspace,
StringSetKeyspace, and NumberSetKeyspace.

import { CacheCluster, StringKeyspace, expireInMinutes } from "encore.dev/storage/cache";

const cluster = new CacheCluster("my-cache", {
  evictionPolicy: "allkeys-lru",
});

const tokens = new StringKeyspace<{ tokenId: string }>(cluster, {
  keyPattern: "token/:tokenId",
  defaultExpiry: expireInMinutes(30),
});

// Type-safe get/set with automatic key generation
await tokens.set({ tokenId: "abc123" }, "user-token-value");
const token = await tokens.get({ tokenId: "abc123" });

Read more at https://encore.dev/docs/ts/primitives/caching

What's Changed

Thanks to our first time contributor ❤️

  • @L8D made their first contribution in #2315

Full Changelog: v1.54.2...v1.55.0

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