diff --git a/.changeset/giant-knives-rhyme.md b/.changeset/giant-knives-rhyme.md deleted file mode 100644 index bc95701..0000000 --- a/.changeset/giant-knives-rhyme.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"prool": minor ---- - -**Breaking:** Removed `silius`, `stackup`, `rundler` instances. diff --git a/.changeset/lazy-toys-report.md b/.changeset/lazy-toys-report.md deleted file mode 100644 index 39c162c..0000000 --- a/.changeset/lazy-toys-report.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -"prool": minor ---- - -**Breaking:** Refactored to use namespace imports. - -### Imports - -```diff -- 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` - -```diff -- const server = createServer({ -- instance: anvil(), -+ const server = Server.create({ -+ instance: Instance.anvil(), - }) -``` - -### `anvil`, `alto` → `Instance.anvil`, `Instance.alto` - -```diff -- const instance = anvil({ ... }) -+ const instance = Instance.anvil({ ... }) - -- const instance = alto({ ... }) -+ const instance = Instance.alto({ ... }) -``` - -### `defineInstance` → `Instance.define` - -```diff -- const foo = defineInstance((parameters) => { -+ const foo = Instance.define((parameters) => { - return { - name: 'foo', - // ... - } - }) -``` - -### `definePool` → `Pool.define` - -```diff -- const pool = definePool({ -- instance: anvil(), -+ const pool = Pool.define({ -+ instance: Instance.anvil(), - }) -``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a15f03..541cebe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,65 @@ # prool +## 0.1.0 + +### Minor Changes + +- [#58](https://github.com/wevm/prool/pull/58) [`5f79243`](https://github.com/wevm/prool/commit/5f792438e4977116725252b105e8b75cfb3a3ba1) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Removed `silius`, `stackup`, `rundler` instances. + +- [#58](https://github.com/wevm/prool/pull/58) [`5f79243`](https://github.com/wevm/prool/commit/5f792438e4977116725252b105e8b75cfb3a3ba1) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Refactored to use namespace imports. + + ### Imports + + ```diff + - 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` + + ```diff + - const server = createServer({ + - instance: anvil(), + + const server = Server.create({ + + instance: Instance.anvil(), + }) + ``` + + ### `anvil`, `alto` → `Instance.anvil`, `Instance.alto` + + ```diff + - const instance = anvil({ ... }) + + const instance = Instance.anvil({ ... }) + + - const instance = alto({ ... }) + + const instance = Instance.alto({ ... }) + ``` + + ### `defineInstance` → `Instance.define` + + ```diff + - const foo = defineInstance((parameters) => { + + const foo = Instance.define((parameters) => { + return { + name: 'foo', + // ... + } + }) + ``` + + ### `definePool` → `Pool.define` + + ```diff + - const pool = definePool({ + - instance: anvil(), + + const pool = Pool.define({ + + instance: Instance.anvil(), + }) + ``` + ## 0.0.25 ### Patch Changes diff --git a/package.json b/package.json index d054d93..5138cc6 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "[!start-pkg]": "", "name": "prool", "description": "HTTP testing instances for Ethereum", - "version": "0.0.25", + "version": "0.1.0", "type": "module", "sideEffects": false, "files": [