Skip to content

Commit

Permalink
Version Packages (#540)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Apr 20, 2024
1 parent 15b5a09 commit 230d68d
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 24 deletions.
17 changes: 0 additions & 17 deletions .changeset/curly-apricots-burn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hungry-garlics-watch.md

This file was deleted.

25 changes: 25 additions & 0 deletions packages/effect-http-node/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# effect-http-node

## 0.12.0

### Minor Changes

- [#539](https://github.com/sukovanej/effect-http/pull/539) [`4d1456f`](https://github.com/sukovanej/effect-http/commit/4d1456f4a928738fb1a456fb2e0b42d488ab7651) Thanks [@sukovanej](https://github.com/sukovanej)! - Add support for standalone handlers to allow an extraction of the handler logic.

```ts
const myEndpointHandler = RouterBuilder.handler(
api,
"myEndpoint",
({ query }) => Effect.succeed(query.country),
);

const app = pipe(
RouterBuilder.make(api),
RouterBuilder.handle(myEndpointHandler),
RouterBuilder.build,
);
```

### Patch Changes

- Updated dependencies [[`4d1456f`](https://github.com/sukovanej/effect-http/commit/4d1456f4a928738fb1a456fb2e0b42d488ab7651), [`15b5a09`](https://github.com/sukovanej/effect-http/commit/15b5a0923adcda78ad7c3d463cde86f1bf40d3f8)]:
- [email protected]

## 0.11.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/effect-http-node/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "effect-http-node",
"type": "module",
"version": "0.11.0",
"version": "0.12.0",
"license": "MIT",
"author": "Milan Suk <[email protected]>",
"description": "High-level declarative HTTP API for effect-ts",
Expand Down
22 changes: 22 additions & 0 deletions packages/effect-http/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# effect-http

## 0.64.0

### Minor Changes

- [#539](https://github.com/sukovanej/effect-http/pull/539) [`4d1456f`](https://github.com/sukovanej/effect-http/commit/4d1456f4a928738fb1a456fb2e0b42d488ab7651) Thanks [@sukovanej](https://github.com/sukovanej)! - Add support for standalone handlers to allow an extraction of the handler logic.

```ts
const myEndpointHandler = RouterBuilder.handler(
api,
"myEndpoint",
({ query }) => Effect.succeed(query.country),
);

const app = pipe(
RouterBuilder.make(api),
RouterBuilder.handle(myEndpointHandler),
RouterBuilder.build,
);
```

- [#542](https://github.com/sukovanej/effect-http/pull/542) [`15b5a09`](https://github.com/sukovanej/effect-http/commit/15b5a0923adcda78ad7c3d463cde86f1bf40d3f8) Thanks [@sukovanej](https://github.com/sukovanej)! - Update schema-openapi.

## 0.63.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/effect-http/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "effect-http",
"type": "module",
"version": "0.63.0",
"version": "0.64.0",
"license": "MIT",
"author": "Milan Suk <[email protected]>",
"description": "High-level declarative HTTP API for effect-ts",
Expand Down

0 comments on commit 230d68d

Please sign in to comment.