Commit Graph

117 Commits

Author SHA1 Message Date
Julien Valverdé 1c0519cfaf Progress work
Lint / lint (push) Successful in 12s
2025-10-27 21:21:23 +01:00
Julien Valverdé f69125012e Cleanup
Lint / lint (push) Successful in 13s
2025-10-27 18:42:05 +01:00
Julien Valverdé 8c8560b63c Fix
Lint / lint (push) Successful in 12s
2025-10-27 18:36:41 +01:00
Julien Valverdé 86e8a7bd92 Refactor Form
Lint / lint (push) Successful in 12s
2025-10-27 18:11:11 +01:00
Julien Valverdé 12878cd76b Result work
Lint / lint (push) Failing after 14s
2025-10-27 16:47:58 +01:00
Julien Valverdé 308025d662 Add Result type
Lint / lint (push) Successful in 44s
2025-10-27 11:33:15 +01:00
Julien Valverdé 2094f254b3 Fix
Lint / lint (push) Successful in 12s
2025-10-25 09:43:04 +02:00
Julien Valverdé 8ce4a959a6 Merge branch 'master' into next
Lint / lint (push) Successful in 12s
2025-10-24 01:37:32 +02:00
Thilawyn a432993ac3 0.2.0 (#18)
Lint / lint (push) Successful in 13s
Publish / publish (push) Successful in 19s
Co-authored-by: Renovate Bot <renovate-bot@valverde.cloud>
Co-authored-by: Julien Valverdé <julien.valverde@mailo.com>
Reviewed-on: #18
2025-10-24 01:36:27 +02:00
renovate-bot 3708059da4 Update dependency @effect/language-service to ^0.48.0 (#17)
Lint / lint (push) Successful in 11s
Test build / test-build (pull_request) Successful in 18s
This PR contains the following updates:

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

---

### Release Notes

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

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

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

##### Minor Changes

- [#&#8203;441](https://github.com/Effect-TS/language-service/pull/441) [`ed1db9e`](https://github.com/Effect-TS/language-service/commit/ed1db9ef2432d9d94df80e1835eb42491f0cfbf2) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Add `default-hashed` pattern for deterministic keys

  A new `default-hashed` pattern option is now available for service and error key patterns. This pattern works like the `default` pattern but hashes the resulting string, which is useful when you want deterministic keys but are concerned about potentially exposing service names in builds.

  Example configuration:

  ```json
  {
    "keyPatterns": [
      { "target": "service", "pattern": "default-hashed" },
      { "target": "error", "pattern": "default-hashed" }
    ]
  }
  ```

##### Patch Changes

- [#&#8203;442](https://github.com/Effect-TS/language-service/pull/442) [`44f4304`](https://github.com/Effect-TS/language-service/commit/44f43041ced08ef1e6e6242baccbc855e056dfa7) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Tone down try/catch message to ignore try/finally blocks

- [#&#8203;439](https://github.com/Effect-TS/language-service/pull/439) [`b73c231`](https://github.com/Effect-TS/language-service/commit/b73c231dc13fc2db31eaeb3475a129cdeeca21dc) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Fix regression in type unification for union types and prevent infinite recursion in layerMagic refactor

  - Fixed `toggleTypeAnnotation` refactor to properly unify boolean types instead of expanding them to `true | false`
  - Fixed infinite recursion issue in `layerMagic` refactor's `adjustedNode` function when processing variable and property declarations

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

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

##### Patch Changes

- [#&#8203;437](https://github.com/Effect-TS/language-service/pull/437) [`e583192`](https://github.com/Effect-TS/language-service/commit/e583192cf73404da7c777f1e7fafd2d6ed968a96) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - In toggle return type refactors, skip type parameters if they are the same as the function default in some cases.

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

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

##### Patch Changes

- [#&#8203;433](https://github.com/Effect-TS/language-service/pull/433) [`f359cdb`](https://github.com/Effect-TS/language-service/commit/f359cdb1069b03b978259dac74c1ba209dd26ae6) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Improve memory by properly evicting older cached members

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

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

##### Patch Changes

- [#&#8203;431](https://github.com/Effect-TS/language-service/pull/431) [`acbbc55`](https://github.com/Effect-TS/language-service/commit/acbbc55f30a4223a14623d69b2b3097c74644647) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Fix nested project references relative paths in CLI diagnostics command

  The CLI diagnostics command now correctly resolves paths for nested project references by:

  - Using absolute paths when parsing tsconfig files
  - Correctly resolving the base directory for relative paths in project references
  - Processing files in batches to improve memory usage and prevent leaks

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

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

##### Minor Changes

- [#&#8203;429](https://github.com/Effect-TS/language-service/pull/429) [`351d7fb`](https://github.com/Effect-TS/language-service/commit/351d7fbec1158294f6cf309eafdb99f5260de8d5) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Add new `diagnostics` CLI command to check Effect-specific diagnostics for files or projects

  The new `effect-language-service diagnostics` command provides a way to get Effect-specific diagnostics through the CLI without patching your TypeScript installation. It supports:

  - `--file` option to get diagnostics for a specific file
  - `--project` option with a tsconfig file to check an entire project

  The command outputs diagnostics in the same format as the TypeScript compiler, showing errors, warnings, and messages with their locations and descriptions.

</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:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTcuMCIsInVwZGF0ZWRJblZlciI6IjQxLjE1OC4wIiwidGFyZ2V0QnJhbmNoIjoibmV4dCIsImxhYmVscyI6W119-->

Reviewed-on: #17
Co-authored-by: Renovate Bot <renovate-bot@valverde.cloud>
Co-committed-by: Renovate Bot <renovate-bot@valverde.cloud>
2025-10-24 01:28:12 +02:00
Julien Valverdé cd8b5e6364 Version bump
Lint / lint (push) Successful in 12s
2025-10-24 01:27:36 +02:00
Julien Valverdé a48b623822 Fix
Lint / lint (push) Successful in 12s
2025-10-24 01:26:01 +02:00
Julien Valverdé 499e1e174b Fix
Lint / lint (push) Successful in 12s
2025-10-24 00:48:21 +02:00
Julien Valverdé 6b9c177ae7 Fix
Lint / lint (push) Successful in 11s
2025-10-24 00:00:14 +02:00
Julien Valverdé b73b053cc8 Fix
Lint / lint (push) Successful in 12s
2025-10-23 23:50:30 +02:00
Julien Valverdé bbad86bf97 Cleanup
Lint / lint (push) Successful in 12s
2025-10-23 23:36:30 +02:00
Julien Valverdé 6ae311cdfd Refactor
Lint / lint (push) Successful in 12s
2025-10-23 23:01:27 +02:00
Julien Valverdé 03eca8a1af Fix useOnChange
Lint / lint (push) Successful in 12s
2025-10-23 16:36:53 +02:00
Julien Valverdé c03d697361 Fix
Lint / lint (push) Successful in 13s
2025-10-23 16:20:30 +02:00
Julien Valverdé 3847686d54 Add Stream module
Lint / lint (push) Successful in 12s
2025-10-23 16:08:25 +02:00
Julien Valverdé 9801444c0a Fix Component
Lint / lint (push) Successful in 12s
2025-10-23 15:42:19 +02:00
Julien Valverdé 68d8c9fa84 Refactor Component
Lint / lint (push) Successful in 12s
2025-10-23 15:19:47 +02:00
Julien Valverdé cba42bfa52 Fix useScope
Lint / lint (push) Successful in 17s
2025-10-23 14:31:51 +02:00
Julien Valverdé 874da0b963 Refactor component
Lint / lint (push) Successful in 12s
2025-10-23 12:11:35 +02:00
Julien Valverdé bb0579408d Fix
Lint / lint (push) Successful in 12s
2025-10-23 10:49:00 +02:00
Julien Valverdé b39c5946f9 Fix
Lint / lint (push) Successful in 12s
2025-10-23 10:42:27 +02:00
Julien Valverdé aaf494e27a Refactor component creation
Lint / lint (push) Successful in 12s
2025-10-23 10:36:33 +02:00
Julien Valverdé dbc5694b6d Fix
Lint / lint (push) Successful in 13s
2025-10-23 09:48:37 +02:00
Julien Valverdé 86582de0c5 Fix
Lint / lint (push) Successful in 12s
2025-10-23 02:30:32 +02:00
Julien Valverdé 72495bb9b5 Refactor useScope
Lint / lint (push) Successful in 41s
2025-10-23 02:23:48 +02:00
Julien Valverdé 312c103e71 Fix
Lint / lint (push) Successful in 13s
2025-10-22 13:29:35 +02:00
Julien Valverdé a252cfec27 Fix
Lint / lint (push) Successful in 19s
2025-10-22 13:07:59 +02:00
Julien Valverdé 4a5f4c329d Fix
Lint / lint (push) Successful in 13s
2025-10-22 12:59:33 +02:00
Julien Valverdé 6f96608f64 Refactor
Lint / lint (push) Successful in 15s
2025-10-22 11:58:48 +02:00
renovate-bot 0bc29b2cb9 Update dependency @effect/language-service to ^0.46.0 (#16)
Lint / lint (push) Failing after 10s
This PR contains the following updates:

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

---

### Release Notes

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

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

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

##### Minor Changes

- [#&#8203;424](https://github.com/Effect-TS/language-service/pull/424) [`4bbfdb0`](https://github.com/Effect-TS/language-service/commit/4bbfdb0a4894ee442e93b0a6cfa845447a2a045f) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Add support to mark a service as "leakable" via JSDoc tag. Services marked with `@effect-leakable-service` will be excluded from the leaking requirements diagnostic, allowing requirements that are expected to be provided per method invocation (e.g. HttpServerRequest).

  Example:

  ```ts
  /**
   * @&#8203;effect-leakable-service
   */
  export class FileSystem extends Context.Tag("FileSystem")<
    FileSystem,
    {
      writeFile: (content: string) => Effect.Effect<void>;
    }
  >() {}
  ```

- [#&#8203;428](https://github.com/Effect-TS/language-service/pull/428) [`ebaa8e8`](https://github.com/Effect-TS/language-service/commit/ebaa8e85d1c372fb3f584a49b6ea3600c467ac33) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Add diagnostic to warn when `@effect-diagnostics-next-line` comments have no effect. This helps identify unused suppression comments that don't actually suppress any diagnostics, improving code cleanliness.

  The new `missingDiagnosticNextLine` option controls the severity of this diagnostic (default: "warning"). Set to "off" to disable.

  Example:

  ```ts
  // This comment will trigger a warning because it doesn't suppress any diagnostic
  // @&#8203;effect-diagnostics-next-line effect/floatingEffect:off
  const x = 1;

  // This comment is correctly suppressing a diagnostic
  // @&#8203;effect-diagnostics-next-line effect/floatingEffect:off
  Effect.succeed(1);
  ```

##### Patch Changes

- [#&#8203;426](https://github.com/Effect-TS/language-service/pull/426) [`22717bd`](https://github.com/Effect-TS/language-service/commit/22717bda12a889f00bc4b78719a487e62da74bef) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Improve Layer Magic refactor with enhanced dependency sorting and cycle detection

  The Layer Magic refactor now includes:

  - Better handling of complex layer composition scenarios
  - Support for detecting missing layer implementations with helpful error messages

</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:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTYuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE1Ni4xIiwidGFyZ2V0QnJhbmNoIjoibmV4dCIsImxhYmVscyI6W119-->

Reviewed-on: #16
Co-authored-by: Renovate Bot <renovate-bot@valverde.cloud>
Co-committed-by: Renovate Bot <renovate-bot@valverde.cloud>
2025-10-22 09:00:28 +02:00
Julien Valverdé 8642619a6a Form work
Lint / lint (push) Failing after 9s
2025-10-21 14:49:53 +02:00
Julien Valverdé e8b8df9449 Form work
Lint / lint (push) Failing after 11s
2025-10-21 14:01:19 +02:00
Julien Valverdé 3695128923 Refactor Hooks
Lint / lint (push) Successful in 41s
2025-10-21 06:16:54 +02:00
Julien Valverdé 1f14e8be6b Add useOnChange
Lint / lint (push) Successful in 12s
2025-10-20 21:24:27 +02:00
Julien Valverdé adc8835304 Add useOnMount
Lint / lint (push) Successful in 12s
2025-10-20 07:09:49 +02:00
Julien Valverdé 8b06c56ec0 Merge branch 'master' into next
Lint / lint (push) Successful in 12s
2025-10-20 06:37:12 +02:00
Thilawyn 6bf4e33c29 0.1.5 (#15)
Lint / lint (push) Successful in 12s
Publish / publish (push) Successful in 19s
Co-authored-by: Renovate Bot <renovate-bot@valverde.cloud>
Co-authored-by: Julien Valverdé <julien.valverde@mailo.com>
Reviewed-on: #15
2025-10-20 06:34:59 +02:00
Julien Valverdé 003d2f19a2 Version bump
Lint / lint (push) Successful in 12s
Test build / test-build (pull_request) Successful in 18s
2025-10-20 06:33:06 +02:00
Julien Valverdé 15f6d695f8 Fix
Lint / lint (push) Successful in 11s
2025-10-20 05:57:00 +02:00
Julien Valverdé 64583601dc Fix
Lint / lint (push) Successful in 12s
2025-10-20 05:55:58 +02:00
Julien Valverdé cf4ba5805f Refactor Form
Lint / lint (push) Successful in 12s
2025-10-20 05:36:45 +02:00
Julien Valverdé 90db94e905 Refactor Subscribable
Lint / lint (push) Successful in 40s
2025-10-20 04:35:11 +02:00
Julien Valverdé 336ea67ea2 Add Subscribable.flatMapSubscriptionRef
Lint / lint (push) Successful in 12s
2025-10-19 07:46:36 +02:00
Julien Valverdé 1af839f036 Fix example
Lint / lint (push) Successful in 12s
2025-10-19 07:16:39 +02:00
Julien Valverdé 6bdf2a4d87 submit -> submitFn
Lint / lint (push) Successful in 41s
2025-10-19 02:51:43 +02:00