Skip to content

Commit

Permalink
Version Packages (#4178)
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 Dec 22, 2024
1 parent 62f12d8 commit fb44b25
Show file tree
Hide file tree
Showing 76 changed files with 423 additions and 132 deletions.
5 changes: 0 additions & 5 deletions .changeset/mean-rules-raise.md

This file was deleted.

18 changes: 0 additions & 18 deletions .changeset/plenty-comics-teach.md

This file was deleted.

63 changes: 0 additions & 63 deletions .changeset/popular-trainers-call.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shiny-timers-agree.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tame-tips-fetch.md

This file was deleted.

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

## 0.4.8

### Patch Changes

- Updated dependencies [[`39457d4`](https://github.com/Effect-TS/effect/commit/39457d4897d9bc7df8af5c05d352866bbeae82eb), [`a475cc2`](https://github.com/Effect-TS/effect/commit/a475cc25fd7c9f26b27a8e98f8fbe43cc9e6ee3e), [`199214e`](https://github.com/Effect-TS/effect/commit/199214e21c616d8a0ccd7ed5f92e944e6c580193), [`b3c160d`](https://github.com/Effect-TS/effect/commit/b3c160d7a1fdfc2d3fb2440530f1ab80efc65133)]:
- [email protected]
- @effect/platform@0.71.7

## 0.4.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai/ai/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@effect/ai",
"type": "module",
"version": "0.4.7",
"version": "0.4.8",
"license": "MIT",
"description": "Effect modules for working with AI apis",
"homepage": "https://effect.website",
Expand Down
10 changes: 10 additions & 0 deletions packages/ai/openai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @effect/ai-openai

## 0.7.3

### Patch Changes

- Updated dependencies [[`39457d4`](https://github.com/Effect-TS/effect/commit/39457d4897d9bc7df8af5c05d352866bbeae82eb), [`a475cc2`](https://github.com/Effect-TS/effect/commit/a475cc25fd7c9f26b27a8e98f8fbe43cc9e6ee3e), [`199214e`](https://github.com/Effect-TS/effect/commit/199214e21c616d8a0ccd7ed5f92e944e6c580193), [`b3c160d`](https://github.com/Effect-TS/effect/commit/b3c160d7a1fdfc2d3fb2440530f1ab80efc65133)]:
- [email protected]
- @effect/ai@0.4.8
- @effect/experimental@0.35.3
- @effect/platform@0.71.7

## 0.7.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai/openai/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@effect/ai-openai",
"type": "module",
"version": "0.7.2",
"version": "0.7.3",
"license": "MIT",
"description": "Effect modules for working with AI apis",
"homepage": "https://effect.website",
Expand Down
10 changes: 10 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @effect/cli

## 0.50.7

### Patch Changes

- Updated dependencies [[`39457d4`](https://github.com/Effect-TS/effect/commit/39457d4897d9bc7df8af5c05d352866bbeae82eb), [`a475cc2`](https://github.com/Effect-TS/effect/commit/a475cc25fd7c9f26b27a8e98f8fbe43cc9e6ee3e), [`199214e`](https://github.com/Effect-TS/effect/commit/199214e21c616d8a0ccd7ed5f92e944e6c580193), [`b3c160d`](https://github.com/Effect-TS/effect/commit/b3c160d7a1fdfc2d3fb2440530f1ab80efc65133)]:
- [email protected]
- @effect/platform@0.71.7
- @effect/printer@0.39.10
- @effect/printer-ansi@0.39.10

## 0.50.6

### 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.50.6",
"version": "0.50.7",
"type": "module",
"license": "MIT",
"description": "A library for building command-line interfaces with Effect",
Expand Down
8 changes: 8 additions & 0 deletions packages/cluster-browser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @effect/cluster

## 0.14.7

### Patch Changes

- Updated dependencies [[`39457d4`](https://github.com/Effect-TS/effect/commit/39457d4897d9bc7df8af5c05d352866bbeae82eb), [`a475cc2`](https://github.com/Effect-TS/effect/commit/a475cc25fd7c9f26b27a8e98f8fbe43cc9e6ee3e), [`199214e`](https://github.com/Effect-TS/effect/commit/199214e21c616d8a0ccd7ed5f92e944e6c580193), [`b3c160d`](https://github.com/Effect-TS/effect/commit/b3c160d7a1fdfc2d3fb2440530f1ab80efc65133)]:
- [email protected]
- @effect/rpc@0.46.7

## 0.14.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cluster-browser/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@effect/cluster-browser",
"type": "module",
"version": "0.14.6",
"version": "0.14.7",
"description": "Unified interfaces for common cluster-browser-specific services",
"publishConfig": {
"access": "public",
Expand Down
9 changes: 9 additions & 0 deletions packages/cluster-node/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @effect/cluster

## 0.21.3

### Patch Changes

- Updated dependencies [[`39457d4`](https://github.com/Effect-TS/effect/commit/39457d4897d9bc7df8af5c05d352866bbeae82eb), [`a475cc2`](https://github.com/Effect-TS/effect/commit/a475cc25fd7c9f26b27a8e98f8fbe43cc9e6ee3e), [`199214e`](https://github.com/Effect-TS/effect/commit/199214e21c616d8a0ccd7ed5f92e944e6c580193), [`b3c160d`](https://github.com/Effect-TS/effect/commit/b3c160d7a1fdfc2d3fb2440530f1ab80efc65133)]:
- [email protected]
- @effect/cluster@0.20.3
- @effect/rpc@0.46.7

## 0.21.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cluster-node/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@effect/cluster-node",
"type": "module",
"version": "0.21.2",
"version": "0.21.3",
"description": "Unified interfaces for common cluster-node-specific services",
"publishConfig": {
"access": "public",
Expand Down
9 changes: 9 additions & 0 deletions packages/cluster-workflow/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @effect/cluster

## 0.19.3

### Patch Changes

- Updated dependencies [[`39457d4`](https://github.com/Effect-TS/effect/commit/39457d4897d9bc7df8af5c05d352866bbeae82eb), [`a475cc2`](https://github.com/Effect-TS/effect/commit/a475cc25fd7c9f26b27a8e98f8fbe43cc9e6ee3e), [`199214e`](https://github.com/Effect-TS/effect/commit/199214e21c616d8a0ccd7ed5f92e944e6c580193), [`b3c160d`](https://github.com/Effect-TS/effect/commit/b3c160d7a1fdfc2d3fb2440530f1ab80efc65133)]:
- [email protected]
- @effect/cluster@0.20.3
- @effect/sql@0.24.3

## 0.19.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cluster-workflow/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@effect/cluster-workflow",
"type": "module",
"version": "0.19.2",
"version": "0.19.3",
"description": "A workflow runtime using effect-cluster",
"publishConfig": {
"access": "public",
Expand Down
8 changes: 8 additions & 0 deletions packages/cluster/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @effect/cluster

## 0.20.3

### Patch Changes

- Updated dependencies [[`39457d4`](https://github.com/Effect-TS/effect/commit/39457d4897d9bc7df8af5c05d352866bbeae82eb), [`a475cc2`](https://github.com/Effect-TS/effect/commit/a475cc25fd7c9f26b27a8e98f8fbe43cc9e6ee3e), [`199214e`](https://github.com/Effect-TS/effect/commit/199214e21c616d8a0ccd7ed5f92e944e6c580193), [`b3c160d`](https://github.com/Effect-TS/effect/commit/b3c160d7a1fdfc2d3fb2440530f1ab80efc65133)]:
- [email protected]
- @effect/sql@0.24.3

## 0.20.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cluster/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@effect/cluster",
"type": "module",
"version": "0.20.2",
"version": "0.20.3",
"description": "Unified interfaces for common cluster-specific services",
"publishConfig": {
"access": "public",
Expand Down
83 changes: 83 additions & 0 deletions packages/effect/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,88 @@
# effect

## 3.11.10

### Patch Changes

- [#4176](https://github.com/Effect-TS/effect/pull/4176) [`39457d4`](https://github.com/Effect-TS/effect/commit/39457d4897d9bc7df8af5c05d352866bbeae82eb) Thanks @mikearnaldi! - Fix Stream.scoped example

- [#4181](https://github.com/Effect-TS/effect/pull/4181) [`a475cc2`](https://github.com/Effect-TS/effect/commit/a475cc25fd7c9f26b27a8e98f8fbe43cc9e6ee3e) Thanks @gcanti! - Schema: Fix `withDecodingDefault` implementation to align with its signature (now removes `undefined` from the AST).

Additionally, a new constraint has been added to the signature to prevent calling `withDecodingDefault` after `withConstructorDefault`, which previously led to the following issue:

```ts
import { Schema } from "effect"

const schema = Schema.Struct({
a: Schema.optional(Schema.String).pipe(
Schema.withConstructorDefault(() => undefined), // this is invalidated by the following call to `withDecodingDefault`
Schema.withDecodingDefault(() => "")
)
})
```

- [#4175](https://github.com/Effect-TS/effect/pull/4175) [`199214e`](https://github.com/Effect-TS/effect/commit/199214e21c616d8a0ccd7ed5f92e944e6c580193) Thanks @gcanti! - Schema: refactor annotations:

- Export internal `Uint8` schema
- Export internal `NonNegativeInt` schema
- Remove title annotations that are identical to identifiers
- Avoid setting a title annotation when applying branding
- Add more title annotations to refinements
- Improve `toString` output and provide more precise error messages for refinements:

Before

```ts
import { Schema } from "effect"

const schema = Schema.Number.pipe(
Schema.int({ identifier: "MyInt" }),
Schema.positive()
)

console.log(String(schema))
// Output: a positive number

Schema.decodeUnknownSync(schema)(1.1)
/*
throws:
ParseError: a positive number
└─ From side refinement failure
└─ MyInt
└─ Predicate refinement failure
└─ Expected MyInt, actual 1.1
*/
```

After

- `toString` now combines all refinements with `" & "` instead of showing only the last one.
- The last message (`"Expected ..."`) now uses the extended description to make the error message clearer.

```ts
import { Schema } from "effect"

const schema = Schema.Number.pipe(
Schema.int({ identifier: "MyInt" }),
Schema.positive()
)

console.log(String(schema))
// Output: MyInt & positive // <= all the refinements

Schema.decodeUnknownSync(schema)(1.1)
/*
throws:
ParseError: MyInt & positive
└─ From side refinement failure
└─ MyInt
└─ Predicate refinement failure
└─ Expected an integer, actual 1.1 // <= extended description
*/
```

- [#4182](https://github.com/Effect-TS/effect/pull/4182) [`b3c160d`](https://github.com/Effect-TS/effect/commit/b3c160d7a1fdfc2d3fb2440530f1ab80efc65133) Thanks @mikearnaldi! - Replace absolute imports with relative ones

## 3.11.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/effect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "effect",
"version": "3.11.9",
"version": "3.11.10",
"type": "module",
"license": "MIT",
"description": "The missing standard library for TypeScript, for writing production-grade software.",
Expand Down
2 changes: 1 addition & 1 deletion packages/effect/src/internal/version.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
let moduleVersion = "3.11.9"
let moduleVersion = "3.11.10"

export const getCurrentVersion = () => moduleVersion

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.35.3

### Patch Changes

- Updated dependencies [[`39457d4`](https://github.com/Effect-TS/effect/commit/39457d4897d9bc7df8af5c05d352866bbeae82eb), [`a475cc2`](https://github.com/Effect-TS/effect/commit/a475cc25fd7c9f26b27a8e98f8fbe43cc9e6ee3e), [`199214e`](https://github.com/Effect-TS/effect/commit/199214e21c616d8a0ccd7ed5f92e944e6c580193), [`b3c160d`](https://github.com/Effect-TS/effect/commit/b3c160d7a1fdfc2d3fb2440530f1ab80efc65133)]:
- [email protected]
- @effect/platform@0.71.7
- @effect/platform-node@0.67.3

## 0.35.2

### 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.35.2",
"version": "0.35.3",
"type": "module",
"license": "MIT",
"description": "Experimental modules for the Effect ecosystem",
Expand Down
Loading

0 comments on commit fb44b25

Please sign in to comment.