Skip to content

fix(deps): update module github.com/fergusstrange/embedded-postgres to v2 - #613

Merged
fclairamb merged 1 commit into
mainfrom
renovate/github.com-fergusstrange-embedded-postgres-2.x
Oct 19, 2026
Merged

fclairamb merged 1 commit into
mainfrom
renovate/github.com-fergusstrange-embedded-postgres-2.x

Conversation

@renovate

@renovate renovate Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/fergusstrange/embedded-postgres v1.34.0 → v2.0.1 age confidence

Release Notes

fergusstrange/embedded-postgres (github.com/fergusstrange/embedded-postgres)

v2.0.1

Compare Source

embedded-postgres v2.0.0

Run real PostgreSQL in Go tests with automatic cleanup, or use the CLI with any
test runner. v2 requires Go 1.26+ and has no third-party production Go dependencies.

Start here

  • Go tests: add github.com/fergusstrange/embedded-postgres/v2 at this release's
    tag, then call eptest.Start(t). PostgreSQL and the matching supervisor download
    automatically on first use and are cached for later tests.
  • Other test runners: install the CLI and run embedded-postgres exec -- YOUR_TEST_COMMAND.
    It supplies DATABASE_URL, runs your tests and closes PostgreSQL afterward.
  • Upgrading from v1: follow the migration guide.
    This is a major-version migration; use the /v2 import path.

The quick start and
CLI guide
cover installation and configuration.

Corrected PostgreSQL distributions

The default and supported distribution pins are PostgreSQL 18.6.1, 17.11.1,
16.15.1 and 15.19.1. These upstream packaging revisions include the Windows and
relocatable-library fixes. New downloads use the corresponding SHA-256 pins;
explicit older distribution versions retain their existing catalog entries.
Windows ARM64 continues to select x64 PostgreSQL under emulation.

See the published-binary regression report
for the platform matrix and verification evidence. The
clean Arch regression
also verifies PostgreSQL 15–18 without libxml2-legacy, including XML, extensions,
offline reuse and persistent restart. The old bundle reproduces the original error.

Included in v2

  • PostgreSQL 15–18; Linux, macOS and Windows on AMD64 and ARM64. Windows ARM64 uses
    x64 PostgreSQL under emulation.
  • Isolated test instances, available ports, a shared verified binary cache and
    explicit persistent-data storage. Caller-supplied data is never automatically erased.
  • Independent supervision for cleanup after owner exit or panic, and explicit
    Unix UID/GID support for tests running as root.
  • Restricted Windows child tokens work from PowerShell and detached Node launches
    while keeping administrator groups disabled.
  • Custom binary providers and lifecycle hooks for migrations and extensions.
  • CLI foreground, command-scoped and background modes, plus protocol 1 for wrappers.

PostgreSQL's native runtime requirements
still apply. Source checkouts and local module replacements need an explicitly
selected supervisor. The stable release follows downstream migration testing and
verification of the published Go module, CLI and Node wrapper on supported platforms.

v2.0.0

Compare Source

embedded-postgres v2.0.0

Run real PostgreSQL in Go tests with automatic cleanup, or use the CLI with any
test runner. v2 requires Go 1.26+ and has no third-party production Go dependencies.

Start here

  • Go tests: add github.com/fergusstrange/embedded-postgres/v2 at this release's
    tag, then call eptest.Start(t). PostgreSQL and the matching supervisor download
    automatically on first use and are cached for later tests.
  • Other test runners: install the CLI and run embedded-postgres exec -- YOUR_TEST_COMMAND.
    It supplies DATABASE_URL, runs your tests and closes PostgreSQL afterward.
  • Upgrading from v1: follow the migration guide.
    This is a major-version migration; use the /v2 import path.

The quick start and
CLI guide
cover installation and configuration.

Corrected PostgreSQL distributions

The default and supported distribution pins are PostgreSQL 18.6.1, 17.11.1,
16.15.1 and 15.19.1. These upstream packaging revisions include the Windows and
relocatable-library fixes. New downloads use the corresponding SHA-256 pins;
explicit older distribution versions retain their existing catalog entries.
Windows ARM64 continues to select x64 PostgreSQL under emulation.

See the published-binary regression report
for the platform matrix and verification evidence. The
clean Arch regression
also verifies PostgreSQL 15–18 without libxml2-legacy, including XML, extensions,
offline reuse and persistent restart. The old bundle reproduces the original error.

Included in v2

  • PostgreSQL 15–18; Linux, macOS and Windows on AMD64 and ARM64. Windows ARM64 uses
    x64 PostgreSQL under emulation.
  • Isolated test instances, available ports, a shared verified binary cache and
    explicit persistent-data storage. Caller-supplied data is never automatically erased.
  • Independent supervision for cleanup after owner exit or panic, and explicit
    Unix UID/GID support for tests running as root.
  • Restricted Windows child tokens work from PowerShell and detached Node launches
    while keeping administrator groups disabled.
  • Custom binary providers and lifecycle hooks for migrations and extensions.
  • CLI foreground, command-scoped and background modes, plus protocol 1 for wrappers.

PostgreSQL's native runtime requirements
still apply. Source checkouts and local module replacements need an explicitly
selected supervisor. The stable release follows downstream migration testing and
verification of the published Go module, CLI and Node wrapper on supported platforms.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codecov

codecov Bot commented Oct 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.36%. Comparing base (8474852) to head (2217e6a).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #613      +/-   ##
==========================================
- Coverage   83.36%   83.36%   -0.01%     
==========================================
  Files        1238     1238              
  Lines      127041   127041              
==========================================
- Hits       105913   105912       -1     
- Misses      21119    21120       +1     
  Partials        9        9              

see 9 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@fclairamb
fclairamb merged commit 0f1b50c into main Oct 19, 2026
36 checks passed
@fclairamb
fclairamb deleted the renovate/github.com-fergusstrange-embedded-postgres-2.x branch October 19, 2026 12:17
fclairamb added a commit that referenced this pull request Oct 19, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.40.1](v0.40.0...v0.40.1)
(2026-10-19)


### Bug Fixes

* **checkworker:** stop the rate limiter starving long-period checks
([#609](#609))
([3295a20](3295a20))
* **dash0:** style the HTTP timing chart like the response time chart
([#611](#611))
([c5264d2](c5264d2))
* **deps:** update dependency @hookform/resolvers to v6
([#610](#610))
([8474852](8474852))
* **deps:** update go dependencies (non-major)
([#612](#612))
([45512d4](45512d4))
* **deps:** update module github.com/arran4/golang-ical to v0.3.8
([#605](#605))
([8c5ef41](8c5ef41))
* **deps:** update module github.com/fergusstrange/embedded-postgres to
v2 ([#613](#613))
([0f1b50c](0f1b50c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant