Releases: encoredev/encore
v1.56.7 — Fixes and improvements
What's Changed
- docs: add Encore Toolbar documentation page by @simon-johansson in #2393
- runtimes/js: register signal handlers and drainig by @fredr in #2362
- infracfg: handle gcp pubsub project_id correctly by @fredr in #2397
- runtimes/js: rawHeaders should contain names and values by @fredr in #2399
- Add blurb about GHEC in docs by @ekerfelt in #2402
- fix new clippy lints by @fredr in #2403
- feat: add codegen-units = 1 setting for Release profile by @zamazan4ik in #2401
- fix flakey test by @fredr in #2404
- tsparser: validate cron format by @fredr in #2405
- bump deps by @fredr in #2407
- runtimes/core: handle signals on windows by @fredr in #2409
Thanks to our first time contributor ❤️
- @zamazan4ik made their first contribution in #2401
Full Changelog: v1.56.6...v1.56.7
v1.56.6 — Fixes and improvements
What's Changed
- go 1.26.2
- runtimes: auth handler sampling decision by @fredr in #2390
- Fix option value marshalling by @ekerfelt in #2396
Full Changelog: v1.56.5...v1.56.6
v1.56.5 — Fixes and improvements
What's Changed
- infracfg: handle disabled in tls_config by @fredr in #2383
- healthz: add app_slug and env_name to response by @simon-johansson in #2386
- Revert "healthz: add app_slug and env_name to response" by @simon-johansson in #2387
- Expose schemautil as a helper by @ekerfelt in #2389
- healthz: add app_slug and env_name to response by @simon-johansson in #2388
Full Changelog: v1.56.4...v1.56.5
v1.56.4 — Fixes and improvements
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
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
What's Changed
Full Changelog: v1.56.1...v1.56.2
v1.56.1 — Improvements and fixes
What's Changed
- Add caching instructions to Encore.ts LLM instructions by @marcuskohlberg in #2336
- Add support for gzipping secret data by @ekerfelt in #2340
- Update API docs for rollouts by @ekerfelt in #2342
- trace sampling: don't inherit decition from pubsub parent by @fredr in #2338
- Add "Migrate using AI agent" docs page by @simon-johansson in #2339
- Allow private endpoint calls through the gateway by @ekerfelt in #2343
- Update AI migration docs for Go by @simon-johansson in #2344
- daemon: handle non default port for external db by @fredr in #2346
- chore(fix): Fix legacy error message by @eleijonmarck in #2350
- clientgen: add service docs by @fredr in #2347
- cli: make ts exec support interactive cmds by @fredr in #2349
- Redis auth fails due to incorrect type string check by @marcwickenden in #2334
- Add Deploy to Encore buttons to tutorial docs by @marcuskohlberg in #2355
- Add styled Deploy to Encore buttons to tutorials by @marcuskohlberg in #2356
- runtimes: dont log unauthenticated as error by @fredr in #2352
- add docs for documenting apis by @fredr in #2357
- runtimes/go: allow overriding log level via env by @fredr in #2358
- clientgen: improve header arrays handling by @fredr in #2360
- dockerbuild: fix tar directory entry ordering in MkdirAll by @tom-groves in #2359
Thanks to our first time contributor ❤️
- @marcwickenden made their first contribution in #2334
Full Changelog: v1.56.0...v1.56.1
v1.56.0 — Go 1.26 & Improved Secret Management
Highlights
- Go 1.26 support: Encore.go now runs on Go 1.26, bringing the latest language features and performance improvements.
- New
secret deletecommand: Encore CLI now supports deleting secrets viaencore secret delete. In favor orarchiveandunarchivecommands. Making you able to create/delete secrets using the same name.
What's Changed
- Encode MCP body response as string by @ekerfelt in #2321
- docs: remove invalid section by @fredr in #2324
- configure in-memory cache via runtime config by @fredr in #2322
- Handle in-mem redis for legacy config conversion by @ekerfelt in #2326
- Update app root on client gen by @ekerfelt in #2327
- fix trace sampling decision for auth handler by @fredr in #2329
- Add more context to output when namespace fails to delete volume by @ekerfelt in #2328
- feat(secrets): [encore] Add
deletecommand to secrets by @eleijonmarck in #2285 - Include svc discovery for private only services in GW by @ekerfelt in #2331
- Allow glob in CORS ports by @ekerfelt in #2332
- Add Cursor editor support by @simon-johansson in #2258
- tsparser wasm module by @fredr in #2317
- Add architecture and os to encore build images by @ekerfelt in #2330
Full Changelog: v1.55.0...v1.56.0
v1.55.0 — Caching in Encore.ts
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
- storage/sqldb: add db connection hooks by @eandre in #2303
- Update CLI docs by @marcuskohlberg in #2302
- docs: add trace sampling and budgets documentation by @marcuskohlberg in #2305
- Update docs by @marcuskohlberg in #2306
- Add integration docs for Better Auth, Polar, and Resend by @ivancernja in #2284
- Fix integration docs style and Polar checkout API by @ivancernja in #2308
- Add localhost fallback for ENCORE_API_URL in Polar docs by @ivancernja in #2309
- fix(secrets): improve UX of cli test/run commands by check access, then check loggedin for secrets by @eleijonmarck in #2310
- fix(secrets): graceful handling of missing secrets for ts runtime by @eleijonmarck in #2314
- Enhance Bun experiment setup instructions by @L8D in #2315
- Add context7.json for Context7 library verification by @ivancernja in #2316
- runtimes/{core,js}: add support for caching by @fredr in #2300
- docs: add caching to menu by @fredr in #2318
Thanks to our first time contributor ❤️
Full Changelog: v1.54.2...v1.55.0
v1.54.2 — Bugfix
What's Changed
Full Changelog: v1.54.1...v1.54.2
