Skip to content

Commit

Permalink
Version Packages (#2109)
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 Feb 12, 2024
1 parent a344b42 commit 7fe6aaf
Show file tree
Hide file tree
Showing 23 changed files with 138 additions and 72 deletions.
52 changes: 0 additions & 52 deletions .changeset/curly-beers-buy.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/stale-needles-boil.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tricky-trainers-relate.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @effect/cli

## 0.33.5

### Patch Changes

- Updated dependencies [[`1c6d18b`](https://github.com/Effect-TS/effect/commit/1c6d18b422b0bd800f2ed036dba9cb78db296c03), [`13d3266`](https://github.com/Effect-TS/effect/commit/13d3266f331f7aa49b55dd244d4e749a82255274), [`a344b42`](https://github.com/Effect-TS/effect/commit/a344b420862f71532a28c72f00b7ba54776d744d)]:
- @effect/schema@0.62.4
- @effect/platform@0.44.5

## 0.33.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@effect/cli",
"version": "0.33.4",
"version": "0.33.5",
"type": "module",
"license": "MIT",
"description": "Functional programming in TypeScript",
Expand Down
9 changes: 9 additions & 0 deletions packages/experimental/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @effect/experimental

## 0.9.5

### Patch Changes

- Updated dependencies [[`1c6d18b`](https://github.com/Effect-TS/effect/commit/1c6d18b422b0bd800f2ed036dba9cb78db296c03), [`13d3266`](https://github.com/Effect-TS/effect/commit/13d3266f331f7aa49b55dd244d4e749a82255274), [`a344b42`](https://github.com/Effect-TS/effect/commit/a344b420862f71532a28c72f00b7ba54776d744d)]:
- @effect/schema@0.62.4
- @effect/platform@0.44.5
- @effect/platform-node@0.43.5

## 0.9.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/experimental/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@effect/experimental",
"version": "0.9.4",
"version": "0.9.5",
"type": "module",
"license": "MIT",
"description": "Functional programming in TypeScript",
Expand Down
7 changes: 7 additions & 0 deletions packages/platform-browser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @effect/platform-browser

## 0.29.5

### Patch Changes

- Updated dependencies []:
- @effect/platform@0.44.5

## 0.29.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-browser/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@effect/platform-browser",
"type": "module",
"version": "0.29.4",
"version": "0.29.5",
"license": "MIT",
"description": "Unified interfaces for common platform-specific services",
"homepage": "https://effect.website",
Expand Down
8 changes: 8 additions & 0 deletions packages/platform-bun/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @effect/platform-bun

## 0.31.5

### Patch Changes

- Updated dependencies []:
- @effect/platform@0.44.5
- @effect/platform-node-shared@0.1.5

## 0.31.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-bun/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@effect/platform-bun",
"type": "module",
"version": "0.31.4",
"version": "0.31.5",
"license": "MIT",
"description": "Unified interfaces for common platform-specific services",
"homepage": "https://effect.website",
Expand Down
7 changes: 7 additions & 0 deletions packages/platform-node-shared/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @effect/platform-node-shared

## 0.1.5

### Patch Changes

- Updated dependencies []:
- @effect/platform@0.44.5

## 0.1.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-node-shared/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@effect/platform-node-shared",
"type": "module",
"version": "0.1.4",
"version": "0.1.5",
"license": "MIT",
"description": "Unified interfaces for common platform-specific services",
"homepage": "https://effect.website",
Expand Down
8 changes: 8 additions & 0 deletions packages/platform-node/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @effect/platform-node

## 0.43.5

### Patch Changes

- Updated dependencies []:
- @effect/platform@0.44.5
- @effect/platform-node-shared@0.1.5

## 0.43.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-node/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@effect/platform-node",
"type": "module",
"version": "0.43.4",
"version": "0.43.5",
"license": "MIT",
"description": "Unified interfaces for common platform-specific services",
"homepage": "https://effect.website",
Expand Down
7 changes: 7 additions & 0 deletions packages/platform/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @effect/platform

## 0.44.5

### Patch Changes

- Updated dependencies [[`1c6d18b`](https://github.com/Effect-TS/effect/commit/1c6d18b422b0bd800f2ed036dba9cb78db296c03), [`13d3266`](https://github.com/Effect-TS/effect/commit/13d3266f331f7aa49b55dd244d4e749a82255274), [`a344b42`](https://github.com/Effect-TS/effect/commit/a344b420862f71532a28c72f00b7ba54776d744d)]:
- @effect/schema@0.62.4

## 0.44.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/platform/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@effect/platform",
"type": "module",
"version": "0.44.4",
"version": "0.44.5",
"license": "MIT",
"description": "Unified interfaces for common platform-specific services",
"homepage": "https://effect.website",
Expand Down
9 changes: 9 additions & 0 deletions packages/rpc-http/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @effect/rpc-http

## 0.26.5

### Patch Changes

- Updated dependencies [[`1c6d18b`](https://github.com/Effect-TS/effect/commit/1c6d18b422b0bd800f2ed036dba9cb78db296c03), [`13d3266`](https://github.com/Effect-TS/effect/commit/13d3266f331f7aa49b55dd244d4e749a82255274), [`a344b42`](https://github.com/Effect-TS/effect/commit/a344b420862f71532a28c72f00b7ba54776d744d)]:
- @effect/schema@0.62.4
- @effect/platform@0.44.5
- @effect/rpc@0.27.5

## 0.26.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/rpc-http/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@effect/rpc-http",
"version": "0.26.4",
"version": "0.26.5",
"type": "module",
"license": "MIT",
"description": "Functional programming in TypeScript",
Expand Down
8 changes: 8 additions & 0 deletions packages/rpc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @effect/rpc

## 0.27.5

### Patch Changes

- Updated dependencies [[`1c6d18b`](https://github.com/Effect-TS/effect/commit/1c6d18b422b0bd800f2ed036dba9cb78db296c03), [`13d3266`](https://github.com/Effect-TS/effect/commit/13d3266f331f7aa49b55dd244d4e749a82255274), [`a344b42`](https://github.com/Effect-TS/effect/commit/a344b420862f71532a28c72f00b7ba54776d744d)]:
- @effect/schema@0.62.4
- @effect/platform@0.44.5

## 0.27.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/rpc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@effect/rpc",
"version": "0.27.4",
"version": "0.27.5",
"type": "module",
"license": "MIT",
"description": "Functional programming in TypeScript",
Expand Down
57 changes: 57 additions & 0 deletions packages/schema/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,62 @@
# @effect/schema

## 0.62.4

### Patch Changes

- [#2108](https://github.com/Effect-TS/effect/pull/2108) [`1c6d18b`](https://github.com/Effect-TS/effect/commit/1c6d18b422b0bd800f2ed036dba9cb78db296c03) Thanks [@gcanti](https://github.com/gcanti)! - Schema: add `transformation: false` option to `pluck`.

Given a schema `Schema<A, I, R>` and a key `K`, this function extracts a specific field from the `A` type, producing a new schema that represents a transformation from the `I` type to `A[K]`.

**If the option `{ transformation: false }` is provided**, the returned schema `Schema<A[K], I[K], R>` only represents the value of the field without any transformation.

**Example**

```ts
import * as S from "@effect/schema/Schema";

// ---------------------------------------------
// use case: pull out a single field from a
// struct through a transformation
// ---------------------------------------------

const mytable = S.struct({
column1: S.NumberFromString,
column2: S.number,
});

// const pullOutColumn1: S.Schema<number, {
// readonly column1: string;
// readonly column2: number;
// }, never>
const pullOutColumn1 = mytable.pipe(S.pluck("column1"));

console.log(
S.decode(S.array(pullOutColumn1))([
{ column1: "1", column2: 100 },
{ column1: "2", column2: 300 },
]),
);
// Output: { _id: 'Either', _tag: 'Right', right: [ 1, 2 ] }

// ---------------------------------------------
// use case: pull out a single field from a
// struct (no transformation)
// ---------------------------------------------

// const pullOutColumn1Value: S.Schema<number, string, never>
const pullOutColumn1Value = mytable.pipe(
S.pluck("column1", { transformation: false }),
);

console.log(S.decode(S.array(pullOutColumn1Value))(["1", "2"]));
// Output: { _id: 'Either', _tag: 'Right', right: [ 1, 2 ] }
```

- [#2110](https://github.com/Effect-TS/effect/pull/2110) [`13d3266`](https://github.com/Effect-TS/effect/commit/13d3266f331f7aa49b55dd244d4e749a82255274) Thanks [@gcanti](https://github.com/gcanti)! - make `headOr` dual

- [#2111](https://github.com/Effect-TS/effect/pull/2111) [`a344b42`](https://github.com/Effect-TS/effect/commit/a344b420862f71532a28c72f00b7ba54776d744d) Thanks [@gcanti](https://github.com/gcanti)! - add support for unions to `keyof`

## 0.62.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/schema/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@effect/schema",
"version": "0.62.3",
"version": "0.62.4",
"type": "module",
"license": "MIT",
"description": "Modeling the schema of data structures as first-class values",
Expand Down

0 comments on commit 7fe6aaf

Please sign in to comment.