Skip to content

[pull] master from reactive:master#106

Merged
pull[bot] merged 6 commits intoerickirt:masterfrom
reactive:master
Apr 3, 2026
Merged

[pull] master from reactive:master#106
pull[bot] merged 6 commits intoerickirt:masterfrom
reactive:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Apr 3, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

dependabot bot and others added 6 commits April 2, 2026 15:04
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.23...4.18.1)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.18.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…pp (#3850)

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.23...4.18.1)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.18.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#3851)

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.23...4.18.1)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.18.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…bclasses (#3847)

* fix(rest): Guard RestEndpoint/ConstructorOptions against O=any inference

Add `unknown extends O ? any :` before the searchParams conditional in
RestEndpoint<O> and RestEndpointConstructorOptions<O>. When subclassing
with `O extends RestGenerics = any`, this catches O=any before it reaches
PathArgs, preventing the restrictive index-signature type.

Includes detailed comment explaining the partial inference limitation
where TypeScript may widen path literals to `string` due to complex
conditional constructor parameter types.

Follows up on #3845 which fixed PathArgs<any> but missed the higher-level
propagation through RestEndpointTypes.

Made-with: Cursor

* fix(rest): SoftPathArgs collapses widened path to unknown for subclass constructors

Introduce SoftPathArgs<P> that resolves PathArgs<string> to `unknown`,
preventing union overloads in ParamFetchWithBody when path widens.
Infer method as POST when explicit body is provided.

Add comprehensive type tests for widened-path endpoints (all callback
overrides: getOptimisticResponse, key, url, process) and resource()
with AuthdEndpoint subclass (extend per-endpoint, object form,
function form).

Update src-4.0-types legacy replacement with SoftPathArgs export.

Made-with: Cursor

* fix: Cover more cases

* docs: Changeset from user view

* fix: Method property type lacks body-based inference, causing inconsistency
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* docs: Add v0.15 migration codemod

jscodeshift codemod automating common v0.15 breaking changes:
- useDebounce() plain value → [value] array destructuring
- state.entityMeta → state.entitiesMeta
- MemoCache.buildQueryKey/.query state arg consolidation
- INVALID import → delegate.INVALID / delegate.invalidate()

Includes tests and blog post references linking the codemod.

Made-with: Cursor

* test(codemod): fix no-op expected output in v0.15 tests

Co-authored-by: Nathaniel Tucker <me@ntucker.me>

* Fix useDebounce codemod typed annotation handling

Co-authored-by: Nathaniel Tucker <me@ntucker.me>

* Fix entityMeta codemod computed-member matching

Co-authored-by: Nathaniel Tucker <me@ntucker.me>

* Fix v0.15 codemod export specifier INVALID handling

Co-authored-by: Nathaniel Tucker <me@ntucker.me>

* Fix transformInvalid dirty flag no-op rewrites

Co-authored-by: Nathaniel Tucker <me@ntucker.me>

* Fix entityMeta codemod for identifier object keys

Co-authored-by: Nathaniel Tucker <me@ntucker.me>

* Fix transformEntityMeta to handle identifier-keyed properties

The StringLiteral handler at lines 81-94 renames string-literal property
keys ({ 'entityMeta': value }) but no equivalent handler existed for the
far more common identifier property keys in object literals or patterns.

Add an Identifier handler that covers:
- Identifier keys: { entityMeta: value } → { entitiesMeta: value }
- Shorthand properties: { entityMeta } → { entitiesMeta: entityMeta }
- Destructuring patterns: const { entityMeta } = state → const { entitiesMeta: entityMeta } = state
- Non-shorthand destructuring: const { entityMeta: meta } = state → const { entitiesMeta: meta } = state
- Computed keys are correctly skipped: { [entityMeta]: value } unchanged

Co-authored-by: Nathaniel Tucker <me@ntucker.me>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
@pull pull bot locked and limited conversation to collaborators Apr 3, 2026
@pull pull bot added the ⤵️ pull label Apr 3, 2026
@pull pull bot merged commit 4c472fb into erickirt:master Apr 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant