Skip to content

Commit

Permalink
Version Packages (#2753)
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 May 16, 2024
1 parent ee08593 commit f2ce498
Show file tree
Hide file tree
Showing 40 changed files with 227 additions and 95 deletions.
12 changes: 0 additions & 12 deletions .changeset/eight-tigers-shout.md

This file was deleted.

55 changes: 0 additions & 55 deletions .changeset/light-cobras-hope.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nine-chairs-tell.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/violet-cups-crash.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.36.26

### Patch Changes

- Updated dependencies [[`ee08593`](https://github.com/Effect-TS/effect/commit/ee0859398ecc2589cab0d017bef6a17e00c34dfd), [`da6d7d8`](https://github.com/Effect-TS/effect/commit/da6d7d845246e9d04631d64fa7694944b6010d09)]:
- @effect/schema@0.67.4
- @effect/platform@0.53.7

## 0.36.25

### 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.36.25",
"version": "0.36.26",
"type": "module",
"license": "MIT",
"description": "A library for building command-line interfaces with Effect",
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.16.7

### Patch Changes

- Updated dependencies [[`ee08593`](https://github.com/Effect-TS/effect/commit/ee0859398ecc2589cab0d017bef6a17e00c34dfd), [`da6d7d8`](https://github.com/Effect-TS/effect/commit/da6d7d845246e9d04631d64fa7694944b6010d09)]:
- @effect/schema@0.67.4
- @effect/platform@0.53.7
- @effect/platform-node@0.49.7

## 0.16.6

### 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.16.6",
"version": "0.16.7",
"type": "module",
"license": "MIT",
"description": "Experimental modules for the Effect ecosystem",
Expand Down
9 changes: 9 additions & 0 deletions packages/platform-browser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @effect/platform-browser

## 0.33.22

### Patch Changes

- [#2691](https://github.com/Effect-TS/effect/pull/2691) [`dc06f27`](https://github.com/Effect-TS/effect/commit/dc06f273fdcc9beeecef26f6e844fcce31b092a2) Thanks [@KhraksMamtsov](https://github.com/KhraksMamtsov)! - add Geolocation module to @effect/platform-browser

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

## 0.33.21

### 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.33.21",
"version": "0.33.22",
"license": "MIT",
"description": "Platform specific implementations for the browser",
"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.34.13

### Patch Changes

- Updated dependencies []:
- @effect/platform@0.53.7
- @effect/platform-node-shared@0.4.26

## 0.34.12

### 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.34.12",
"version": "0.34.13",
"license": "MIT",
"description": "Platform specific implementations for the Bun runtime",
"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.4.26

### Patch Changes

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

## 0.4.25

### 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.4.25",
"version": "0.4.26",
"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.49.7

### Patch Changes

- Updated dependencies []:
- @effect/platform@0.53.7
- @effect/platform-node-shared@0.4.26

## 0.49.6

### 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.49.6",
"version": "0.49.7",
"license": "MIT",
"description": "Platform specific implementations for the Node.js runtime",
"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.53.7

### Patch Changes

- Updated dependencies [[`ee08593`](https://github.com/Effect-TS/effect/commit/ee0859398ecc2589cab0d017bef6a17e00c34dfd), [`da6d7d8`](https://github.com/Effect-TS/effect/commit/da6d7d845246e9d04631d64fa7694944b6010d09)]:
- @effect/schema@0.67.4

## 0.53.6

### 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.53.6",
"version": "0.53.7",
"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.28.26

### Patch Changes

- Updated dependencies [[`ee08593`](https://github.com/Effect-TS/effect/commit/ee0859398ecc2589cab0d017bef6a17e00c34dfd), [`da6d7d8`](https://github.com/Effect-TS/effect/commit/da6d7d845246e9d04631d64fa7694944b6010d09)]:
- @effect/schema@0.67.4
- @effect/platform@0.53.7
- @effect/rpc@0.30.26

## 0.28.25

### 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.28.25",
"version": "0.28.26",
"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.30.26

### Patch Changes

- Updated dependencies [[`ee08593`](https://github.com/Effect-TS/effect/commit/ee0859398ecc2589cab0d017bef6a17e00c34dfd), [`da6d7d8`](https://github.com/Effect-TS/effect/commit/da6d7d845246e9d04631d64fa7694944b6010d09)]:
- @effect/schema@0.67.4
- @effect/platform@0.53.7

## 0.30.25

### 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.30.25",
"version": "0.30.26",
"type": "module",
"license": "MIT",
"description": "Functional programming in TypeScript",
Expand Down
58 changes: 58 additions & 0 deletions packages/schema/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,63 @@
# @effect/schema

## 0.67.4

### Patch Changes

- [#2756](https://github.com/Effect-TS/effect/pull/2756) [`ee08593`](https://github.com/Effect-TS/effect/commit/ee0859398ecc2589cab0d017bef6a17e00c34dfd) Thanks [@gcanti](https://github.com/gcanti)! - Improving Predicate Usability of `Schema.is`

Before this update, the `Schema.is(mySchema)` function couldn't be easily used as a predicate or refinement in common array methods like `filter` or `find`. This was because the function's signature was:

```ts
(value: unknown, overrideOptions?: AST.ParseOptions) => value is A
```

Meanwhile, the function expected by methods like `filter` has the following signature:

```ts
(value: unknown, index: number) => value is A
```

To make `Schema.is` compatible with these array methods, we've adjusted the function's signature to accept `number` as a possible value for the second parameter, in which case it is ignored:

```diff
-(value: unknown, overrideOptions?: AST.ParseOptions) => value is A
+(value: unknown, overrideOptions?: AST.ParseOptions | number) => value is A
```

Here's a practical example comparing the behavior before and after the change:

**Before:**

```ts
import { Schema } from "@effect/schema";

declare const array: Array<string | number>;

/*
Throws an error:
No overload matches this call.
...
Types of parameters 'overrideOptions' and 'index' are incompatible.
*/
const strings = array.filter(Schema.is(Schema.String));
```

**Now:**

```ts
import { Schema } from "@effect/schema";

declare const array: Array<string | number>;

// const strings: string[]
const strings = array.filter(Schema.is(Schema.String));
```

Note that the result has been correctly narrowed to `string[]`.

- [#2746](https://github.com/Effect-TS/effect/pull/2746) [`da6d7d8`](https://github.com/Effect-TS/effect/commit/da6d7d845246e9d04631d64fa7694944b6010d09) Thanks [@gcanti](https://github.com/gcanti)! - `pick`: do not return a `ComposeTransformation` if none of the picked keys are related to a property signature transformation, closes #2743

## 0.67.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.67.3",
"version": "0.67.4",
"type": "module",
"license": "MIT",
"description": "Modeling the schema of data structures as first-class values",
Expand Down
10 changes: 10 additions & 0 deletions packages/sql-mssql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @effect/sql-mssql

## 0.2.9

### Patch Changes

- [#2712](https://github.com/Effect-TS/effect/pull/2712) [`01b4553`](https://github.com/Effect-TS/effect/commit/01b4553df4d2a7c5824a112f405a49f8fcfebbf4) Thanks [@vecerek](https://github.com/vecerek)! - Use constants from `@opentelemetry/semantic-conventions` as span attribute names instead of hard-coded values

- Updated dependencies [[`01b4553`](https://github.com/Effect-TS/effect/commit/01b4553df4d2a7c5824a112f405a49f8fcfebbf4)]:
- @effect/sql@0.2.9
- @effect/platform@0.53.7

## 0.2.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/sql-mssql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@effect/sql-mssql",
"version": "0.2.8",
"version": "0.2.9",
"type": "module",
"license": "MIT",
"description": "A Microsoft SQL Server toolkit for Effect",
Expand Down
10 changes: 10 additions & 0 deletions packages/sql-mysql2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @effect/sql-mysql2

## 0.2.9

### Patch Changes

- [#2712](https://github.com/Effect-TS/effect/pull/2712) [`01b4553`](https://github.com/Effect-TS/effect/commit/01b4553df4d2a7c5824a112f405a49f8fcfebbf4) Thanks [@vecerek](https://github.com/vecerek)! - Use constants from `@opentelemetry/semantic-conventions` as span attribute names instead of hard-coded values

- Updated dependencies [[`01b4553`](https://github.com/Effect-TS/effect/commit/01b4553df4d2a7c5824a112f405a49f8fcfebbf4)]:
- @effect/sql@0.2.9
- @effect/platform@0.53.7

## 0.2.8

### Patch Changes
Expand Down
Loading

0 comments on commit f2ce498

Please sign in to comment.