Skip to content

Tags: ory/dockertest

Tags

v4.0.0

Toggle v4.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore(deps): bump github.com/moby/moby/client from 0.3.0 to 0.4.0 (#658)

Bumps [github.com/moby/moby/client](https://github.com/moby/moby) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/moby/moby/releases)
- [Changelog](https://github.com/moby/moby/blob/v0.4.0/CHANGELOG.md)
- [Commits](moby/moby@v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: github.com/moby/moby/client
  dependency-version: 0.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

v4.0.0-beta.4

Toggle v4.0.0-beta.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add log helpers (#656)

v4.0.0-beta.3

Toggle v4.0.0-beta.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
refactor: replace Managed* wrappers with interfaces (#655)

* refactor: replace Managed* wrappers with interfaces

Replace the concrete ManagedResource, ManagedPool, and ManagedNetwork
wrapper structs with Go interfaces. The *T variants now return the
restricted interface (Resource, Pool, Network) while the non-T variants
return the closable interface (ClosableResource, ClosablePool,
ClosableNetwork).

Key changes:
- Define Resource/ClosableResource, Network/ClosableNetwork,
  Pool/ClosablePool interfaces
- Unexport Pool struct → pool, Network struct → dockerNetwork
- Remove ~115 lines of manual delegation boilerplate
- ConnectToNetwork/DisconnectFromNetwork/GetIPInNetwork now accept the
  Network interface directly, removing the ManagedNetwork.Network()
  escape hatch
- Add NewResource constructor for external unit tests
- Convert examples/cleanup/main.go to TestExplicitCleanup test

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* docs: fix three inaccuracies in UPGRADE.md

- var pool *dockertest.Pool → var pool dockertest.ClosablePool
  (pointer-to-interface is meaningless; NewPool returns ClosablePool)
- CloseT example: RunT returns Resource (no CloseT); use Run to get
  ClosableResource when explicit teardown is needed
- Registry function signatures: add return types (error, bool, slice)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore: apply formatting

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

v4.0.0-beta.2

Toggle v4.0.0-beta.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: force-remove containers on pool cleanup and add ref-counting tes…

…ts (#654)

Pool.cleanup() previously called resource.Close() which respects reference
counting, leaving reused containers running when the pool shuts down. Now
cleanup bypasses ref counting and force-removes all tracked containers.

Adds 5 tests covering the cleanup API and ref-counting behavior:
- TestResourceCloseRefCounting (integration)
- TestPoolCloseT (integration)
- TestPoolCleanupForceRemovesReusedContainers (integration)
- TestCheckForExistingIncrementsRefCount (unit)
- TestGetWithScopeDoesNotIncrementRefs (unit)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

v4.0.0-beta.1

Toggle v4.0.0-beta.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
refactor: move to moby client and v4 API (#631)

v3.12.0

Toggle v3.12.0's commit message
chore: update repository templates to ory/meta@bc603a6

v3.11.0

Toggle v3.11.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: update docker to v27.1.1 (#522)

v3.10.0

Toggle v3.10.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
chore(deps): bump actions/stale from 4 to 8 (#430)

Bumps [actions/stale](https://github.com/actions/stale) from 4 to 8.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](actions/stale@v4...v8)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

v3.9.1

Toggle v3.9.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
chore(deps): bump github.com/opencontainers/runc from 1.1.1 to 1.1.2 (#…

…355)

Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/v1.1.2/CHANGELOG.md)
- [Commits](opencontainers/runc@v1.1.1...v1.1.2)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

v3.9.0

Toggle v3.9.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
chore(deps): bump gotest.tools/v3 from 3.1.0 to 3.2.0 (#353)

Bumps [gotest.tools/v3](https://github.com/gotestyourself/gotest.tools) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/gotestyourself/gotest.tools/releases)
- [Commits](gotestyourself/gotest.tools@v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: gotest.tools/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>