Commit Graph

197 Commits

Author SHA1 Message Date
edd5b69d17 Update dependency globals to v17
Some checks failed
Lint / lint (push) Failing after 3s
Test build / test-build (pull_request) Failing after 4s
2026-01-16 14:21:14 +01:00
Julien Valverdé
e744e614ad Cleanup
Some checks failed
Lint / lint (push) Failing after 3s
2026-01-16 14:19:14 +01:00
Julien Valverdé
5451c84d34 Version bump
Some checks failed
Lint / lint (push) Failing after 4s
2026-01-16 14:10:58 +01:00
Julien Valverdé
696fa21fab Refactor Form
Some checks failed
Lint / lint (push) Failing after 3s
2026-01-16 11:52:21 +01:00
Julien Valverdé
7b2e28451a Refactor Form
Some checks failed
Lint / lint (push) Failing after 3s
2026-01-16 11:49:11 +01:00
Julien Valverdé
93f65c5016 Add query refreshOnWindowFocus
Some checks failed
Lint / lint (push) Failing after 33s
2026-01-16 10:48:55 +01:00
Julien Valverdé
95d0bf70bd Fix
All checks were successful
Lint / lint (push) Successful in 12s
2026-01-15 22:24:36 +01:00
Julien Valverdé
dad4cd60d1 Refactor query
All checks were successful
Lint / lint (push) Successful in 12s
2026-01-15 22:19:56 +01:00
Julien Valverdé
731eed4209 Refactor Query
All checks were successful
Lint / lint (push) Successful in 13s
2026-01-15 19:19:37 +01:00
Julien Valverdé
8c22206ad7 Refactor Mutation
All checks were successful
Lint / lint (push) Successful in 12s
2026-01-15 19:07:54 +01:00
Julien Valverdé
a9ed86c4a8 Query done
All checks were successful
Lint / lint (push) Successful in 12s
2026-01-15 18:26:02 +01:00
Julien Valverdé
4f9441c89c Refactor
All checks were successful
Lint / lint (push) Successful in 12s
2026-01-14 23:08:52 +01:00
Julien Valverdé
4f9bfaafaa Add removeCacheEntry
All checks were successful
Lint / lint (push) Successful in 12s
2026-01-14 22:56:57 +01:00
Julien Valverdé
b8a3b089b7 Fix
All checks were successful
Lint / lint (push) Successful in 12s
2026-01-14 22:38:12 +01:00
Julien Valverdé
b29dec7d30 Fix
All checks were successful
Lint / lint (push) Successful in 12s
2026-01-14 22:36:40 +01:00
Julien Valverdé
d1ef42e9cb Fix example
All checks were successful
Lint / lint (push) Successful in 12s
2026-01-14 12:47:48 +01:00
Julien Valverdé
c029f85401 Fix Form
All checks were successful
Lint / lint (push) Successful in 12s
2026-01-14 12:43:59 +01:00
Julien Valverdé
8203063253 Refactor Query
Some checks failed
Lint / lint (push) Failing after 11s
2026-01-14 12:42:16 +01:00
Julien Valverdé
931511b890 Refactor Result 2026-01-14 10:29:52 +01:00
Julien Valverdé
7705880afe Refactor Result equals and hash
Some checks failed
Lint / lint (push) Failing after 11s
2026-01-14 10:08:22 +01:00
Julien Valverdé
0f79f12632 Refactor Result
Some checks failed
Lint / lint (push) Failing after 39s
2026-01-14 09:18:34 +01:00
Julien Valverdé
cb788952a4 Refactor Result
Some checks failed
Lint / lint (push) Failing after 42s
2026-01-13 11:11:53 +01:00
Julien Valverdé
cd18a9d108 Query work
All checks were successful
Lint / lint (push) Successful in 13s
2026-01-11 13:08:16 +01:00
Julien Valverdé
a6d91a93a5 Cached queries
All checks were successful
Lint / lint (push) Successful in 53s
2026-01-11 11:08:32 +01:00
Julien Valverdé
66694c7d7e Fix Result
All checks were successful
Lint / lint (push) Successful in 42s
2025-12-21 09:53:00 +01:00
Julien Valverdé
cfd3028218 QueryClient work
All checks were successful
Lint / lint (push) Successful in 58s
2025-12-18 04:31:35 +01:00
Julien Valverdé
f09c6e3a1c QueryClient work
All checks were successful
Lint / lint (push) Successful in 42s
2025-12-16 09:19:52 +01:00
Julien Valverdé
edf06b5f99 QueryClient work
All checks were successful
Lint / lint (push) Successful in 13s
2025-12-11 21:28:44 +01:00
Julien Valverdé
cb5e3a84ae QueryClient work
All checks were successful
Lint / lint (push) Successful in 13s
2025-12-11 06:14:24 +01:00
Julien Valverdé
94ba0b0c5e QueryClient work
All checks were successful
Lint / lint (push) Successful in 42s
2025-12-11 04:23:14 +01:00
Julien Valverdé
c352b38417 Work on QueryClient
All checks were successful
Lint / lint (push) Successful in 42s
2025-12-10 06:24:43 +01:00
Julien Valverdé
cb84cf4cfe Add QueryClient
All checks were successful
Lint / lint (push) Successful in 39s
2025-12-09 02:24:43 +01:00
Julien Valverdé
563f1c3ba7 Regenerate lockfile
All checks were successful
Lint / lint (push) Successful in 12s
2025-12-08 02:16:04 +01:00
f2bfca6685 Update dependency @effect/language-service to ^0.60.0 (#28)
All checks were successful
Lint / lint (push) Successful in 13s
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [@effect/language-service](https://github.com/Effect-TS/language-service) | [`^0.59.0` -> `^0.60.0`](https://renovatebot.com/diffs/npm/@effect%2flanguage-service/0.59.0/0.60.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@effect%2flanguage-service/0.60.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@effect%2flanguage-service/0.59.0/0.60.0?slim=true) |

---

### Release Notes

<details>
<summary>Effect-TS/language-service (@&#8203;effect/language-service)</summary>

### [`v0.60.0`](https://github.com/Effect-TS/language-service/blob/HEAD/CHANGELOG.md#0600)

[Compare Source](https://github.com/Effect-TS/language-service/compare/v0.59.0...v0.60.0)

##### Minor Changes

- [#&#8203;523](https://github.com/Effect-TS/language-service/pull/523) [`46ec3e1`](46ec3e1455) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Add configurable mermaid provider option

  Adds a new `mermaidProvider` configuration option that allows users to choose between different Mermaid diagram providers:

  - `"mermaid.com"` - Uses mermaidchart.com
  - `"mermaid.live"` - Uses mermaid.live (default)
  - Custom URL - Allows specifying a custom provider URL (e.g., `"http://localhost:8080"` for local mermaid-live-editor)

  This enhances flexibility for users who prefer different Mermaid visualization services or need to use self-hosted instances.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4zOS4wIiwidXBkYXRlZEluVmVyIjoiNDIuMzkuMCIsInRhcmdldEJyYW5jaCI6Im5leHQiLCJsYWJlbHMiOltdfQ==-->

Reviewed-on: #28
Co-authored-by: Renovate Bot <renovate-bot@valverde.cloud>
Co-committed-by: Renovate Bot <renovate-bot@valverde.cloud>
2025-12-06 21:46:19 +01:00
4772d02349 Update dependency @effect/language-service to ^0.59.0 (#27)
All checks were successful
Lint / lint (push) Successful in 12s
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [@effect/language-service](https://github.com/Effect-TS/language-service) | [`^0.58.0` -> `^0.59.0`](https://renovatebot.com/diffs/npm/@effect%2flanguage-service/0.58.4/0.59.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@effect%2flanguage-service/0.59.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@effect%2flanguage-service/0.58.4/0.59.0?slim=true) |

---

### Release Notes

<details>
<summary>Effect-TS/language-service (@&#8203;effect/language-service)</summary>

### [`v0.59.0`](https://github.com/Effect-TS/language-service/blob/HEAD/CHANGELOG.md#0590)

[Compare Source](https://github.com/Effect-TS/language-service/compare/v0.58.4...v0.59.0)

##### Minor Changes

- [#&#8203;518](https://github.com/Effect-TS/language-service/pull/518) [`660549d`](660549d2c0) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Add new `schemaStructWithTag` diagnostic that suggests using `Schema.TaggedStruct` instead of `Schema.Struct` when a `_tag` field with `Schema.Literal` is present. This makes the tag optional in the constructor, improving the developer experience.

  Example:

  ```typescript
  // Before (triggers diagnostic)
  export const User = Schema.Struct({
    _tag: Schema.Literal("User"),
    name: Schema.String,
    age: Schema.Number,
  });

  // After (applying quick fix)
  export const User = Schema.TaggedStruct("User", {
    name: Schema.String,
    age: Schema.Number,
  });
  ```

  The diagnostic includes a quick fix that automatically converts the `Schema.Struct` call to `Schema.TaggedStruct`, extracting the tag value and removing the `_tag` property from the fields.

##### Patch Changes

- [#&#8203;521](https://github.com/Effect-TS/language-service/pull/521) [`61f28ba`](61f28babbd) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Fix auto-completion for directly imported Effect APIs. Completions now work when using direct imports like `import { Service } from "effect/Effect"` instead of only working with fully qualified names like `Effect.Service`.

  This fix applies to:

  - `Effect.Service` and `Effect.Tag` from `effect/Effect`
  - `Schema.Class`, `Schema.TaggedError`, `Schema.TaggedClass`, and `Schema.TaggedRequest` from `effect/Schema`
  - `Data.TaggedError` and `Data.TaggedClass` from `effect/Data`
  - `Context.Tag` from `effect/Context`

  Example:

  ```typescript
  // Now works with direct imports
  import { Service } from "effect/Effect"
  export class MyService extends Service // ✓ Completion available

  // Still works with fully qualified names
  import * as Effect from "effect/Effect"
  export class MyService extends Effect.Service // ✓ Completion available
  ```

  Fixes [#&#8203;394](https://github.com/Effect-TS/language-service/issues/394)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4zMi4xIiwidXBkYXRlZEluVmVyIjoiNDIuMzIuMSIsInRhcmdldEJyYW5jaCI6Im5leHQiLCJsYWJlbHMiOltdfQ==-->

Reviewed-on: https://git.valverde.cloud/Thilawyn/effect-fc/pulls/27
Co-authored-by: Renovate Bot <renovate-bot@valverde.cloud>
Co-committed-by: Renovate Bot <renovate-bot@valverde.cloud>
2025-12-03 23:05:41 +01:00
Julien Valverdé
ccc2ff1b57 Fix
All checks were successful
Lint / lint (push) Successful in 12s
2025-12-01 23:43:28 +01:00
Julien Valverdé
cef44cab0a Merge branch 'master' into next
All checks were successful
Lint / lint (push) Successful in 12s
2025-12-01 23:38:45 +01:00
89f966d93e 0.2.1 (#26)
All checks were successful
Lint / lint (push) Successful in 12s
Publish / publish (push) Successful in 21s
Co-authored-by: Julien Valverdé <julien.valverde@mailo.com>
Co-authored-by: Renovate Bot <renovate-bot@valverde.cloud>
Reviewed-on: #26
2025-12-01 23:37:40 +01:00
Julien Valverdé
ac98fb6e8b Fix
All checks were successful
Lint / lint (push) Successful in 12s
Test build / test-build (pull_request) Successful in 18s
2025-12-01 23:34:18 +01:00
Julien Valverdé
88059c5ea7 Upgrade deps
All checks were successful
Lint / lint (push) Successful in 12s
2025-12-01 21:52:30 +01:00
8ccee184f5 Update actions/checkout action to v6 (#24)
All checks were successful
Lint / lint (push) Successful in 12s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://github.com/actions/checkout) | action | major | `v5` -> `v6` |

---

### Release Notes

<details>
<summary>actions/checkout (actions/checkout)</summary>

### [`v6`](https://github.com/actions/checkout/compare/v5...v6)

[Compare Source](https://github.com/actions/checkout/compare/v5...v6)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xOS4wIiwidXBkYXRlZEluVmVyIjoiNDIuMTkuMCIsInRhcmdldEJyYW5jaCI6Im5leHQiLCJsYWJlbHMiOltdfQ==-->

Reviewed-on: #24
Co-authored-by: Renovate Bot <renovate-bot@valverde.cloud>
Co-committed-by: Renovate Bot <renovate-bot@valverde.cloud>
2025-12-01 21:29:06 +01:00
6adb7061f4 Update dependency @effect/language-service to ^0.58.0 (#25)
Some checks failed
Lint / lint (push) Has been cancelled
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [@effect/language-service](https://github.com/Effect-TS/language-service) | [`^0.56.0` -> `^0.58.0`](https://renovatebot.com/diffs/npm/@effect%2flanguage-service/0.56.0/0.58.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@effect%2flanguage-service/0.58.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@effect%2flanguage-service/0.56.0/0.58.0?slim=true) |

---

### Release Notes

<details>
<summary>Effect-TS/language-service (@&#8203;effect/language-service)</summary>

### [`v0.58.0`](https://github.com/Effect-TS/language-service/blob/HEAD/CHANGELOG.md#0580)

[Compare Source](https://github.com/Effect-TS/language-service/compare/v0.57.1...v0.58.0)

##### Minor Changes

- [#&#8203;505](https://github.com/Effect-TS/language-service/pull/505) [`31cff49`](31cff498b6) Thanks [@&#8203;clayroach](https://github.com/clayroach)! - Enhance `diagnostics` CLI command with new options for CI/CD integration and tooling:

  - **`--format`**: Output format selection (`json`, `pretty`, `text`, `github-actions`)

    - `json`: Machine-readable JSON output with structured diagnostics and summary
    - `pretty`: Colored output with context (default, original behavior)
    - `text`: Plain text output without colors
    - `github-actions`: GitHub Actions workflow commands for inline PR annotations

  - **`--strict`**: Treat warnings as errors (affects exit code)

  - **`--severity`**: Filter diagnostics by severity level (comma-separated: `error`, `warning`, `message`)

  - **Exit codes**: Returns exit code 1 when errors are found (or warnings in strict mode)

  Example usage:

  ```bash
  # JSON output for CI/CD pipelines
  effect-language-service diagnostics --project tsconfig.json --format json

  # GitHub Actions with inline annotations
  effect-language-service diagnostics --project tsconfig.json --format github-actions

  # Strict mode for CI (fail on warnings)
  effect-language-service diagnostics --project tsconfig.json --strict

  # Only show errors
  effect-language-service diagnostics --project tsconfig.json --severity error
  ```

  Closes Effect-TS/effect [#&#8203;5180](https://github.com/Effect-TS/language-service/issues/5180).

### [`v0.57.1`](https://github.com/Effect-TS/language-service/blob/HEAD/CHANGELOG.md#0571)

[Compare Source](https://github.com/Effect-TS/language-service/compare/v0.57.0...v0.57.1)

##### Patch Changes

- [#&#8203;503](https://github.com/Effect-TS/language-service/pull/503) [`857e43e`](857e43e258) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Add codefix to `runEffectInsideEffect` diagnostic that automatically transforms `Effect.run*` calls to use `Runtime.run*` when inside nested Effect contexts. The codefix will extract or reuse an existing Effect runtime and replace the direct Effect run call with the appropriate Runtime method.

  Example:

  ```typescript
  // Before
  Effect.gen(function* () {
    websocket.onmessage = (event) => {
      Effect.runPromise(check);
    };
  });

  // After applying codefix
  Effect.gen(function* () {
    const effectRuntime = yield* Effect.runtime<never>();

    websocket.onmessage = (event) => {
      Runtime.runPromise(effectRuntime, check);
    };
  });
  ```

### [`v0.57.0`](https://github.com/Effect-TS/language-service/blob/HEAD/CHANGELOG.md#0570)

[Compare Source](https://github.com/Effect-TS/language-service/compare/v0.56.0...v0.57.0)

##### Minor Changes

- [#&#8203;500](https://github.com/Effect-TS/language-service/pull/500) [`acc2d43`](acc2d43d62) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Add new `annotate` codegen that automatically adds type annotations to exported constants based on their initializer types. This codegen can be used by adding `// @&#8203;effect-codegens annotate` comments above variable declarations.

  Example:

  ```typescript
  // @&#8203;effect-codegens annotate
  export const test = Effect.gen(function* () {
    if (Math.random() < 0.5) {
      return yield* Effect.fail("error");
    }
    return 1 as const;
  });
  // Becomes:
  // @&#8203;effect-codegens annotate:5fce15f7af06d924
  export const test: Effect.Effect<1, string, never> = Effect.gen(function* () {
    if (Math.random() < 0.5) {
      return yield* Effect.fail("error");
    }
    return 1 as const;
  });
  ```

  The codegen automatically detects the type from the initializer and adds the appropriate type annotation, making code more explicit and type-safe.

- [#&#8203;497](https://github.com/Effect-TS/language-service/pull/497) [`b188b74`](b188b74204) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Add new diagnostic `unnecessaryFailYieldableError` that warns when using `yield* Effect.fail()` with yieldable error types. The diagnostic suggests yielding the error directly instead of wrapping it with `Effect.fail()`, as yieldable errors (like `Data.TaggedError` and `Schema.TaggedError`) can be yielded directly in Effect generators.

  Example:

  ```typescript
  //  Unnecessary Effect.fail wrapper
  yield * Effect.fail(new DataTaggedError());

  //  Direct yield of yieldable error
  yield * new DataTaggedError();
  ```

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4yNS4zIiwidXBkYXRlZEluVmVyIjoiNDIuMjcuNSIsInRhcmdldEJyYW5jaCI6Im5leHQiLCJsYWJlbHMiOltdfQ==-->

Reviewed-on: #25
Co-authored-by: Renovate Bot <renovate-bot@valverde.cloud>
Co-committed-by: Renovate Bot <renovate-bot@valverde.cloud>
2025-12-01 21:28:51 +01:00
Julien Valverdé
637aeaa04e Fix
All checks were successful
Lint / lint (push) Successful in 12s
2025-12-01 21:21:23 +01:00
Julien Valverdé
5070c0706d Fix Form
All checks were successful
Lint / lint (push) Successful in 12s
2025-12-01 21:13:41 +01:00
Julien Valverdé
92a13efabc Fix Form
All checks were successful
Lint / lint (push) Successful in 13s
2025-12-01 20:38:54 +01:00
Julien Valverdé
1accd657e0 Fix Form
All checks were successful
Lint / lint (push) Successful in 13s
2025-12-01 19:09:43 +01:00
Julien Valverdé
943c2aa35d Refactor Form
Some checks failed
Lint / lint (push) Failing after 11s
2025-12-01 19:08:02 +01:00
Julien Valverdé
9dd7592c45 Form work
Some checks failed
Lint / lint (push) Failing after 40s
2025-11-29 01:16:11 +01:00
Julien Valverdé
f51b1b04ae Working mutation
All checks were successful
Lint / lint (push) Successful in 13s
2025-11-27 22:21:36 +01:00
Julien Valverdé
485278558f Work
All checks were successful
Lint / lint (push) Successful in 42s
2025-11-26 22:43:32 +01:00