Conversation
eandre
approved these changes
Feb 23, 2026
harryapp-eu
pushed a commit
to harryapp-eu/encore
that referenced
this pull request
Feb 24, 2026
commit 94210c7 Author: Fredrik Enestad <fredrik@enestad.com> Date: Mon Feb 23 12:33:28 2026 +0100 go/pubsub: handle nil static cfg (encoredev#2297) commit cec8064 Author: Fredrik Enestad <fredrik@enestad.com> Date: Mon Feb 23 10:08:11 2026 +0100 docs: Set prebuild and postbuild hooks default value (encoredev#2294) Updated prebuild and postbuild hooks to empty strings since that is the default value. commit 68d48e8 Author: Fredrik Enestad <fredrik@enestad.com> Date: Mon Feb 23 09:58:53 2026 +0100 tsparser: add missing uniqueness checks (encoredev#2295) commit ec5e698 Author: Fredrik Enestad <fredrik@enestad.com> Date: Fri Feb 20 13:49:31 2026 +0100 clientgen: fix optional arrays (encoredev#2271) Example using this type: ```ts export interface RequestType { foo?: SomeEnum[] bar?: boolean[] } ``` Previously generated the following code, which will cause an error (`Type '(string | undefined)[] | undefined' is not assignable to type 'string | string[] | undefined'.`) since it will make the element into `string | undefined`. But it is the field itself that is optional, not the element. ```ts const query = makeRecord<string, string | string[]>({ bar: params.bar?.map((v) => v === undefined ? undefined : String(v)), foo: params.foo?.map((v) => v === undefined ? undefined : String(v)), }) ``` and with the fix the following code will be generated instead: ```ts const query = makeRecord<string, string | string[]>({ bar: params.bar?.map((v) => String(v)), foo: params.foo?.map((v) => String(v)), }) ``` commit daa7584 Author: Fredrik Enestad <fredrik@enestad.com> Date: Thu Feb 19 14:47:04 2026 +0100 runtimes: add trace sampling config for endpoint/service (encoredev#2292) commit a753066 Author: Simon Johansson <simon@encore.dev> Date: Wed Feb 18 10:23:09 2026 +0100 Add GitHub templates for issues and discussions (encoredev#2291)
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.
No description provided.