feat(secrets): [encore] Add delete command to secrets#2285
Merged
eleijonmarck merged 8 commits intomainfrom Mar 13, 2026
Merged
feat(secrets): [encore] Add delete command to secrets#2285eleijonmarck merged 8 commits intomainfrom
delete command to secrets#2285eleijonmarck merged 8 commits intomainfrom
Conversation
|
All committers have signed the CLA. |
delete command to secretsdelete command to secrets
eandre
reviewed
Mar 11, 2026
eandre
approved these changes
Mar 12, 2026
harryapp-eu
pushed a commit
to harryapp-eu/encore
that referenced
this pull request
Mar 26, 2026
commit 71f0243 Author: Tom Groves <tom@tomgroves.com> Date: Tue Mar 24 14:56:04 2026 +0000 dockerbuild: use slices.Sort for MkdirAll directory ordering commit 0d88b12 Author: Tom Groves <tom@tomgroves.com> Date: Tue Mar 24 14:45:28 2026 +0000 dockerbuild: simplify MkdirAll sort to use name comparison Sort directories by name instead of separator count, as a parent path is always a lexicographic prefix of its child. Simpler and equally correct. commit eaea3ea Author: Tom Groves <tom@tomgroves.com> Date: Tue Mar 24 13:31:06 2026 +0000 dockerbuild: fix tar directory entry ordering in MkdirAll MkdirAll walks the directory tree child-to-parent via Dir() but was appending tar entries in that same order, producing child-before-parent directory entries. While Docker tolerates this, strict OCI validators (e.g. AWS Lambda) reject it. Sort collected directories by depth (separator count) before emitting entries, ensuring parents always precede children. Add targeted unit tests for ordering, deduplication, and the parent-before-child invariant. commit 696c6d3 Author: Fredrik Enestad <fredrik@enestad.com> Date: Wed Mar 25 10:33:58 2026 +0100 clientgen: improve header arrays handling (encoredev#2360) Go sends and receives array headers as separate header lines. The Fetch API (https://fetch.spec.whatwg.org/#concept-header-list-combine) combines these into a single comma-joined string, making it impossible to distinguish individual values. The exception is Set-Cookie, which the Fetch API preserves as separate values via getSetCookie(). This PR handles array headers as best we can: first element will be the comma-joined string, except for Set-Cookie Fixes encoredev#2230 commit 702e560 Author: Fredrik Enestad <fredrik@enestad.com> Date: Mon Mar 23 17:22:25 2026 +0100 runtimes/go: allow overriding log level via env (encoredev#2358) this allows to configure the log level per invocation, useful e.g when running tests since we forward the cli flags to go test we dont have a --level flag there commit 5c5fadd Author: Fredrik Enestad <fredrik@enestad.com> Date: Mon Mar 23 16:41:49 2026 +0100 add docs for documenting apis (encoredev#2357) and also adds docs on types in ts, that was missing commit 9bcba26 Author: Fredrik Enestad <fredrik@enestad.com> Date: Mon Mar 23 10:41:54 2026 +0100 runtimes: dont log unauthenticated as error (encoredev#2352) commit 7825905 Author: Marcus Kohlberg <78424526+marcuskohlberg@users.noreply.github.com> Date: Fri Mar 20 16:23:37 2026 +0100 Add styled Deploy to Encore buttons to tutorials (encoredev#2356) ## Summary - Add "Deploy to Encore" button to 6 tutorial pages (Go + TS versions of slack-bot, uptime, rest-api/url-shortener) - Uses `noshadow` class to remove the default brand-shadow on the button image - Left-aligned with flexbox layout and descriptive text: "Deploy this app to a free dev environment" commit 08141de Author: Marcus Kohlberg <78424526+marcuskohlberg@users.noreply.github.com> Date: Fri Mar 20 15:59:11 2026 +0100 Add Deploy to Encore buttons to tutorial docs (encoredev#2355) ## Summary - Add "Deploy to Encore" button to 6 tutorial pages (Go + TS versions of slack-bot, uptime, and url shortener,) - Uses `encore.cloud/assets/img/deploy.svg` image with links to `app.encore.cloud/create-app/clone/<example>` commit 5323413 Author: MW <1202418+marcwickenden@users.noreply.github.com> Date: Fri Mar 20 13:47:24 2026 +0000 Redis auth fails due to incorrect type string check (encoredev#2334) commit 8cc3c24 Author: Fredrik Enestad <fredrik@enestad.com> Date: Fri Mar 20 13:40:45 2026 +0100 cli: make ts exec support interactive cmds (encoredev#2349) This change changes so that the command is run by the client instead of by the daemon so that handling stdin and tty etc is easier. Same design as we do for test, daemon set up everything and send back a spec for how to run the command. Fixes encoredev#1879 commit 181bb9a Author: Fredrik Enestad <fredrik@enestad.com> Date: Fri Mar 20 13:38:00 2026 +0100 clientgen: add service docs (encoredev#2347) Fixes encoredev#2073 commit 5c8e438 Author: Eric Leijonmarck <eric.leijonmarck@gmail.com> Date: Fri Mar 20 10:41:38 2026 +0000 chore(fix): Fix legacy error message (encoredev#2350) commit bf7ead0 Author: Fredrik Enestad <fredrik@enestad.com> Date: Thu Mar 19 14:43:50 2026 +0100 daemon: handle non default port for external db (encoredev#2346) And give a more verbose error commit 9211c8e Author: Simon Johansson <simon@encore.dev> Date: Wed Mar 18 15:42:21 2026 +0100 Update AI migration docs for Go (encoredev#2344) commit b751e11 Author: Stefan Ekerfelt <ekerfelt@gmail.com> Date: Wed Mar 18 15:20:53 2026 +0100 Allow private endpoint calls through the gateway (encoredev#2343) commit 0e8aee7 Author: Simon Johansson <simon@encore.dev> Date: Wed Mar 18 14:31:22 2026 +0100 Add "Migrate using AI agent" docs page (encoredev#2339) ## Summary - Adds a new "Migrate using AI agent" docs page under Migration guides for both Encore.ts and Encore Go - Each page is tailored to its language with appropriate framework examples and internal links - Updates `docs/menu.cue` to register the new pages in both navigation sections --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> commit ab9e6a0 Author: Fredrik Enestad <fredrik@enestad.com> Date: Wed Mar 18 11:34:34 2026 +0100 trace sampling: don't inherit decition from pubsub parent (encoredev#2338) commit 206aeda Author: Stefan Ekerfelt <ekerfelt@gmail.com> Date: Wed Mar 18 10:30:21 2026 +0100 Update API docs for rollouts (encoredev#2342) commit b3ec1d0 Author: Stefan Ekerfelt <ekerfelt@gmail.com> Date: Tue Mar 17 16:28:34 2026 +0100 Add support for gzipping secret data (encoredev#2340) commit 6977a81 Author: Marcus Kohlberg <78424526+marcuskohlberg@users.noreply.github.com> Date: Mon Mar 16 13:35:03 2026 +0100 Add caching instructions to Encore.ts LLM instructions (encoredev#2336) ## Summary - Adds a `<caching>` section to `ts_llm_instructions.txt` covering CacheCluster, all keyspace types, expiry helpers, write options, and error handling - Enables AI coding assistants to help users with Encore.ts caching based on https://encore.dev/docs/ts/primitives/caching commit 89a42d1 Author: Stefan Ekerfelt <ekerfelt@gmail.com> Date: Fri Mar 13 12:54:16 2026 +0100 Add architecture and os to encore build images (encoredev#2330) commit 836a0e3 Author: Fredrik Enestad <fredrik@enestad.com> Date: Fri Mar 13 12:37:36 2026 +0100 tsparser wasm module (encoredev#2317) commit 2ce8a3c Author: Simon Johansson <simon@encore.dev> Date: Fri Mar 13 11:52:59 2026 +0100 Add Cursor editor support (encoredev#2258) Add support for detecting and opening files in the Cursor editor on macOS, Linux, and Windows. commit 319027d Author: Stefan Ekerfelt <ekerfelt@gmail.com> Date: Fri Mar 13 11:49:31 2026 +0100 Allow glob in CORS ports (encoredev#2332) commit a52d0df Author: Stefan Ekerfelt <ekerfelt@gmail.com> Date: Fri Mar 13 10:38:54 2026 +0100 Include svc discovery for private only services in GW (encoredev#2331) commit e5c8d35 Author: Eric Leijonmarck <eric.leijonmarck@gmail.com> Date: Fri Mar 13 09:07:38 2026 +0000 feat(secrets): [encore] Add `delete` command to secrets (encoredev#2285) Depends on platform - https://github.com/encoredev/platform/pull/2311 commit 2d41138 Author: Stefan Ekerfelt <ekerfelt@gmail.com> Date: Fri Mar 13 10:03:51 2026 +0100 Add more context to output when namespace fails to delete volume (encoredev#2328) commit f51ec85 Author: Fredrik Enestad <fredrik@enestad.com> Date: Thu Mar 12 17:37:38 2026 +0100 fix trace sampling decision for auth handler (encoredev#2329) commit 12c73cf Author: Stefan Ekerfelt <ekerfelt@gmail.com> Date: Thu Mar 12 15:29:57 2026 +0100 Update app root on client gen (encoredev#2327) This is a temporary fix to better support multiple clones of the same encore app. It will update the app root based on the directory `encore gen client` is called from rather than falling back to the last dir `encore run` was executed in. commit 449fbcb Author: Stefan Ekerfelt <ekerfelt@gmail.com> Date: Thu Mar 12 13:25:02 2026 +0100 Handle in-mem redis for legacy config conversion (encoredev#2326) commit 98e47ad Author: Fredrik Enestad <fredrik@enestad.com> Date: Thu Mar 12 10:16:39 2026 +0100 configure in-memory cache via runtime config (encoredev#2322) commit cdbbefa Author: Fredrik Enestad <fredrik@enestad.com> Date: Wed Mar 11 17:21:31 2026 +0100 docs: remove invalid section (encoredev#2324) commit 8d19c20 Author: Stefan Ekerfelt <ekerfelt@gmail.com> Date: Wed Mar 11 14:13:21 2026 +0100 Encode MCP body response as string (encoredev#2321) commit 233b083 Author: Fredrik Enestad <fredrik@enestad.com> Date: Wed Mar 11 10:12:20 2026 +0100 docs: add caching to menu commit c97a8cb Author: Fredrik Enestad <fredrik@enestad.com> Date: Wed Mar 11 09:46:08 2026 +0100 runtimes/{core,js}: add support for caching (encoredev#2300) commit 65b420f Author: Ivan Cernja <cernja@pm.me> Date: Mon Mar 9 16:15:18 2026 +0100 Add context7.json for Context7 library verification (encoredev#2316) commit 8d7f70a Author: Tenor <tenorbiel@gmail.com> Date: Mon Mar 9 08:53:23 2026 -0400 Enhance Bun experiment setup instructions (encoredev#2315) Updated instructions for enabling Bun experiment to include package manager configuration. Without this additional configuration, Encore will continue to use 'npm' when running the `test` script during `encore test` commit bd53cfe Author: Eric Leijonmarck <eric.leijonmarck@gmail.com> Date: Fri Mar 6 16:56:34 2026 +0000 fix(secrets): graceful handling of missing secrets for ts runtime (encoredev#2314) ### Before we would stop the application from running / error fatal if we did not have secrets defined locally. <img width="1952" height="840" alt="image" src="https://github.com/user-attachments/assets/92f2d332-2048-43cd-b87a-99a8ea8a282d" /> ### Now we continue running even though some secrets have not been defined when running `encore ts runtime` locally ```bash ~/dev/encore/encoreapps/ts-better-auth-test master* ❯ encore run ✔ Building Encore application graph... Done! ✔ Analyzing service topology... Done! ✔ Creating PostgreSQL database cluster... Done! ✔ Fetching application secrets... Done! ✔ Running database migrations... Done! ✔ Starting Encore application... Done! Encore development server running! Your API is running at: http://127.0.0.1:4000 Development Dashboard URL: http://127.0.0.1:9400/ts-better-auth-test-64bi MCP SSE URL: http://127.0.0.1:9900/sse?appID=ts-better-auth-test-64bi For help, see: https://nodejs.org/en/docs/inspector warning: secrets not defined: AuthSecret note: undefined secrets are left empty for local development only. see https://encore.dev/docs/primitives/secrets for more information 2026-03-06T14:45:58.429Z WARN [Better Auth]: [better-auth] Base URL could not be determined. Please set a valid base URL using the baseURL config option or the BETTER_AUTH_URL environment variable. Without this, callbacks and redirects may not work correctly. ``` --------- Co-authored-by: André Eriksson <andre@encore.dev> commit a6aa0fd Author: Eric Leijonmarck <eric.leijonmarck@gmail.com> Date: Thu Mar 5 15:14:25 2026 +0000 fix(secrets): improve UX of cli test/run commands by check access, then check loggedin for secrets (encoredev#2310) commit 5361d38 Author: Ivan Cernja <cernja@pm.me> Date: Wed Mar 4 10:26:23 2026 +0100 Add localhost fallback for ENCORE_API_URL in Polar docs (encoredev#2309) commit 9e8c061 Author: Ivan Cernja <cernja@pm.me> Date: Tue Mar 3 18:38:28 2026 +0100 Fix integration docs style and Polar checkout API (encoredev#2308) ## Summary - Remove duplicate sidebar entries in `menu.cue` (integrations appeared twice) - Remove em dashes and marketing copy from Better Auth, Polar, and Resend docs - Simplify deploy sections to match existing docs style - Fix `productPriceId` to `productId` in Polar code sample (uses `products: [id]` array) commit b9dd25b Author: Ivan Cernja <cernja@pm.me> Date: Tue Mar 3 16:22:16 2026 +0100 Add integration docs for Better Auth, Polar, and Resend (encoredev#2284) commit 00956bd Author: Marcus Kohlberg <78424526+marcuskohlberg@users.noreply.github.com> Date: Tue Mar 3 15:55:43 2026 +0100 Update docs (encoredev#2306) commit 95172a5 Author: Marcus Kohlberg <78424526+marcuskohlberg@users.noreply.github.com> Date: Tue Mar 3 10:24:31 2026 +0100 docs: add trace sampling and budgets documentation (encoredev#2305) ## Summary - Add **Trace Sampling** section to Encore Cloud tracing docs, explaining how sampling rates can be configured per environment, service, and endpoint, and that sampling is determined at the trace root to ensure complete traces - Add **Trace Budgets** section covering daily/monthly spending limits, included events per tier (1M free, 20M pro), and usage pricing ($1.20/M events) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Depends on platform - https://github.com/encoredev/platform/pull/2311