Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@
"icy-paws-return",
"indefinite-waiting-toast",
"infra-prefer-fn-untraced",
"infra-sentry-node-dep",
"invalidation-set-add-shortcut-and-batch",
"itchy-mangos-find",
"khaki-frogs-wave",
Expand Down Expand Up @@ -232,6 +233,7 @@
"mutate-invalidation-shorthands",
"mutate-wrap-stream-no-args",
"namespaced-change-feed",
"native-encoded-query-json",
"neat-brooms-wave",
"neat-dingos-tease",
"neat-pumpkins-juggle",
Expand Down Expand Up @@ -273,6 +275,7 @@
"publish-tsconfig-postpack",
"pure-usesync-cleanup",
"query-aggregate-support",
"query-map-has-ops",
"query-optional-mode",
"query-span-propagation",
"quick-seals-relate",
Expand Down Expand Up @@ -371,6 +374,7 @@
"stale-emus-see",
"stale-papers-join",
"store-effect-cached",
"store-json-values",
"store-seed-uninterruptible",
"stream-callable-progress",
"stream-drain-data-dependencies",
Expand Down
12 changes: 12 additions & 0 deletions packages/e2e/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @effect-app/e2e

## 4.0.0-beta.317

### Patch Changes

- Updated dependencies [186de3a]
- Updated dependencies [186de3a]
- Updated dependencies [186de3a]
- Updated dependencies [186de3a]
- @effect-app/infra@4.0.0-beta.317
- effect-app@4.0.0-beta.317
- @effect-app/vue@4.0.0-beta.317

## 4.0.0-beta.316

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@effect-app/e2e",
"version": "4.0.0-beta.316",
"version": "4.0.0-beta.317",
"license": "MIT",
"type": "module",
"private": true,
Expand Down
16 changes: 16 additions & 0 deletions packages/effect-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @effect-app/prelude

## 4.0.0-beta.317

### Minor Changes

- 186de3a: Stop forcing Date/Map/Set Encoded shapes to JSON.

`Schema.Date` / `ReadonlySet` / `ReadonlyMap` now keep native Encoded types (`Date`, `Set`, `Map`). Use `DateFromString`, `ReadonlySetFromArray`, and `ReadonlyMapFromArray` when the Encoded form must be JSON. The query DSL accepts those native values, including array ops (`includes` / `in` / `includes-any`) on `Date[]` and `ReadonlySet` fields. Memory, Disk, SQL, and Cosmos convert Encoded Date/Map/Set through `Schema.toCodecJson` on write/read; query parameters and defaults lower the same way from the store schema. App types such as DateOnly stay native Encoded and JSON-lower via that schema — not a type registry.

- 186de3a: Query maps as JSON arrays of `[key, value]` tuples.

`where("meta", "hasKey" | "hasValue" | "hasKeyValue", ...)` (and `not*` / `*-any` / `*-all` variants) filter `ReadonlyMap` fields. Memory, Disk, SQLite, Postgres, and Cosmos compile those ops against the encoded tuple array.

- 186de3a: JSON stores lower native Encoded values (Date, Map, Set, and app types such as DateOnly) through the store's document schema.

`makeRepo` already passes that schema. Adapters encode documents, query parameters, and defaults with `Schema.toCodecJson(toEncoded(schema))` at the field path. No type registry. Schemaless stores still lower Date/Map/Set structurally.

## 4.0.0-beta.316

## 4.0.0-beta.315
Expand Down
2 changes: 1 addition & 1 deletion packages/effect-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "effect-app",
"version": "4.0.0-beta.316",
"version": "4.0.0-beta.317",
"license": "MIT",
"type": "module",
"repository": {
Expand Down
24 changes: 24 additions & 0 deletions packages/infra/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @effect-app/infra

## 4.0.0-beta.317

### Minor Changes

- 186de3a: Stop forcing Date/Map/Set Encoded shapes to JSON.

`Schema.Date` / `ReadonlySet` / `ReadonlyMap` now keep native Encoded types (`Date`, `Set`, `Map`). Use `DateFromString`, `ReadonlySetFromArray`, and `ReadonlyMapFromArray` when the Encoded form must be JSON. The query DSL accepts those native values, including array ops (`includes` / `in` / `includes-any`) on `Date[]` and `ReadonlySet` fields. Memory, Disk, SQL, and Cosmos convert Encoded Date/Map/Set through `Schema.toCodecJson` on write/read; query parameters and defaults lower the same way from the store schema. App types such as DateOnly stay native Encoded and JSON-lower via that schema — not a type registry.

- 186de3a: Query maps as JSON arrays of `[key, value]` tuples.

`where("meta", "hasKey" | "hasValue" | "hasKeyValue", ...)` (and `not*` / `*-any` / `*-all` variants) filter `ReadonlyMap` fields. Memory, Disk, SQLite, Postgres, and Cosmos compile those ops against the encoded tuple array.

- 186de3a: JSON stores lower native Encoded values (Date, Map, Set, and app types such as DateOnly) through the store's document schema.

`makeRepo` already passes that schema. Adapters encode documents, query parameters, and defaults with `Schema.toCodecJson(toEncoded(schema))` at the field path. No type registry. Schemaless stores still lower Date/Map/Set structurally.

### Patch Changes

- 186de3a: Declare `@sentry/node` as a runtime dependency of `@effect-app/infra`. `errorReporter.ts` imports it statically, so `pnpm install --prod` of linked source (Docker) must install it next to the package, not only as a peer of the app.
- Updated dependencies [186de3a]
- Updated dependencies [186de3a]
- Updated dependencies [186de3a]
- effect-app@4.0.0-beta.317

## 4.0.0-beta.316

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/infra/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@effect-app/infra",
"version": "4.0.0-beta.316",
"version": "4.0.0-beta.317",
"license": "MIT",
"type": "module",
"repository": {
Expand Down
16 changes: 16 additions & 0 deletions packages/vue-components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @effect-app/vue-components

## 4.0.0-beta.317

### Minor Changes

- 186de3a: Stop forcing Date/Map/Set Encoded shapes to JSON.

`Schema.Date` / `ReadonlySet` / `ReadonlyMap` now keep native Encoded types (`Date`, `Set`, `Map`). Use `DateFromString`, `ReadonlySetFromArray`, and `ReadonlyMapFromArray` when the Encoded form must be JSON. The query DSL accepts those native values, including array ops (`includes` / `in` / `includes-any`) on `Date[]` and `ReadonlySet` fields. Memory, Disk, SQL, and Cosmos convert Encoded Date/Map/Set through `Schema.toCodecJson` on write/read; query parameters and defaults lower the same way from the store schema. App types such as DateOnly stay native Encoded and JSON-lower via that schema — not a type registry.

### Patch Changes

- Updated dependencies [186de3a]
- Updated dependencies [186de3a]
- Updated dependencies [186de3a]
- effect-app@4.0.0-beta.317
- @effect-app/vue@4.0.0-beta.317

## 4.0.0-beta.316

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@effect-app/vue-components",
"version": "4.0.0-beta.316",
"version": "4.0.0-beta.317",
"repository": {
"type": "git",
"url": "https://github.com/effect-app/libs.git",
Expand Down
9 changes: 9 additions & 0 deletions packages/vue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @effect-app/vue

## 4.0.0-beta.317

### Patch Changes

- Updated dependencies [186de3a]
- Updated dependencies [186de3a]
- Updated dependencies [186de3a]
- effect-app@4.0.0-beta.317

## 4.0.0-beta.316

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@effect-app/vue",
"version": "4.0.0-beta.316",
"version": "4.0.0-beta.317",
"license": "MIT",
"type": "module",
"repository": {
Expand Down
Loading