|
1 | 1 | # prool |
2 | 2 |
|
| 3 | +## 0.1.0 |
| 4 | + |
| 5 | +### Minor Changes |
| 6 | + |
| 7 | +- [#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. |
| 8 | + |
| 9 | +- [#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. |
| 10 | + |
| 11 | + ### Imports |
| 12 | + |
| 13 | + ```diff |
| 14 | + - import { createServer } from 'prool' |
| 15 | + - import { anvil, alto } from 'prool/instances' |
| 16 | + - import { defineInstance } from 'prool' |
| 17 | + - import { definePool } from 'prool' |
| 18 | + + import { Instance, Pool, Server } from 'prool' |
| 19 | + ``` |
| 20 | + |
| 21 | + ### `Server.create` → `Server.create` |
| 22 | + |
| 23 | + ```diff |
| 24 | + - const server = createServer({ |
| 25 | + - instance: anvil(), |
| 26 | + + const server = Server.create({ |
| 27 | + + instance: Instance.anvil(), |
| 28 | + }) |
| 29 | + ``` |
| 30 | + |
| 31 | + ### `anvil`, `alto` → `Instance.anvil`, `Instance.alto` |
| 32 | + |
| 33 | + ```diff |
| 34 | + - const instance = anvil({ ... }) |
| 35 | + + const instance = Instance.anvil({ ... }) |
| 36 | + |
| 37 | + - const instance = alto({ ... }) |
| 38 | + + const instance = Instance.alto({ ... }) |
| 39 | + ``` |
| 40 | + |
| 41 | + ### `defineInstance` → `Instance.define` |
| 42 | + |
| 43 | + ```diff |
| 44 | + - const foo = defineInstance((parameters) => { |
| 45 | + + const foo = Instance.define((parameters) => { |
| 46 | + return { |
| 47 | + name: 'foo', |
| 48 | + // ... |
| 49 | + } |
| 50 | + }) |
| 51 | + ``` |
| 52 | + |
| 53 | + ### `definePool` → `Pool.define` |
| 54 | + |
| 55 | + ```diff |
| 56 | + - const pool = definePool({ |
| 57 | + - instance: anvil(), |
| 58 | + + const pool = Pool.define({ |
| 59 | + + instance: Instance.anvil(), |
| 60 | + }) |
| 61 | + ``` |
| 62 | + |
3 | 63 | ## 0.0.25 |
4 | 64 |
|
5 | 65 | ### Patch Changes |
|
0 commit comments