Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NpgsqlRest/NpgsqlRest
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 362aac8
Choose a base ref
...
head repository: NpgsqlRest/NpgsqlRest
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: de9545d
Choose a head ref
  • 4 commits
  • 17 files changed
  • 1 contributor

Commits on Jun 2, 2026

  1. bump 3.16.2

    vbilopav committed Jun 2, 2026
    Configuration menu
    Copy the full SHA
    224a004 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2026

  1. feat: v3.16.3 — static-content env-var injection (AvailableEnvVars)

    Add AvailableEnvVars under StaticFiles:ParseContentOptions. Listed env
    vars are resolved once at parser construction, JSON-escaped (like claims)
    and templated into static content via the existing {NAME} tag machinery.
    Aimed at SPAs on K8s: inject per-environment values (build label, feature
    flags, analytics IDs) from pod env vars without rebuilding the bundle.
    
    - Both AvailableEnvVars and AvailableClaims now accept either an array of
      names or an object of name->default pairs. Missing env var falls back to
      its configured default, then the empty string; missing claim falls back
      to its default, then NULL (historical behaviour).
    - Values resolved once at startup (pod restart re-reads); claims win over
      env vars on name collision.
    - Allowlist-only: only listed names are read, never the whole environment.
      Distinct from the server-side Config:ParseEnvironmentVariables path.
    
    New Config.GetConfigNameDefaults reader handles both forms. Registered the
    key in ConfigDefaults, ConfigTemplate, ConfigSchemaGenerator and
    appsettings.json. Tests: 10 parser unit tests + 2 config-validation tests.
    vbilopav committed Jun 3, 2026
    Configuration menu
    Copy the full SHA
    fff6e65 View commit details
    Browse the repository at this point in the history
  2. chore: drop STATIC_CONTENT_ENV_VAR_INJECTION.md design doc

    The design doc is no longer needed now that the feature has shipped in
    this branch; keep it out of the repo tree.
    vbilopav committed Jun 3, 2026
    Configuration menu
    Copy the full SHA
    99c156c View commit details
    Browse the repository at this point in the history
  3. bump 3.16.3

    vbilopav committed Jun 3, 2026
    Configuration menu
    Copy the full SHA
    de9545d View commit details
    Browse the repository at this point in the history
Loading