Releases: wevm/prool
Releases · wevm/prool
v0.2.4
Patch Changes
-
#73
18283b9Thanks @brendanjryan! - Fixed testcontainers Tempo instance to use exposed ports instead of host networking for macOS compatibility. Containers now bind to127.0.0.1with dynamically mapped ports, resolving connectivity issues on non-Linux platforms. -
#71
474e091Thanks @brendanjryan! - Made the testcontainers Tempo instance startup timeout configurable viastartupTimeout. This also introduces a shared internal container-options shape for testcontainers-backed instances, so future container adapters can reuse the same option pattern. The default timeout remains10_000ms.
v0.2.3
v0.2.2
v0.2.1
v0.2.0
v0.1.1
v0.1.0
Minor Changes
-
#58
5f79243Thanks @jxom! - Breaking: Removedsilius,stackup,rundlerinstances. -
#58
5f79243Thanks @jxom! - Breaking: Refactored to use namespace imports.Imports
- import { createServer } from 'prool' - import { anvil, alto } from 'prool/instances' - import { defineInstance } from 'prool' - import { definePool } from 'prool' + import { Instance, Pool, Server } from 'prool'
Server.create→Server.create- const server = createServer({ - instance: anvil(), + const server = Server.create({ + instance: Instance.anvil(), })
anvil,alto→Instance.anvil,Instance.alto- const instance = anvil({ ... }) + const instance = Instance.anvil({ ... }) - const instance = alto({ ... }) + const instance = Instance.alto({ ... })
defineInstance→Instance.define- const foo = defineInstance((parameters) => { + const foo = Instance.define((parameters) => { return { name: 'foo', // ... } })
definePool→Pool.define- const pool = definePool({ - instance: anvil(), + const pool = Pool.define({ + instance: Instance.anvil(), })