Skip to content

chore: release - #7

Merged
borisrakovan merged 1 commit into
mainfrom
changeset-release/main
May 24, 2026
Merged

borisrakovan merged 1 commit into
mainfrom
changeset-release/main

Conversation

@borisrakovan

Copy link
Copy Markdown
Owner

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

sandly@3.0.2

Patch Changes

  • f1870fc: Fix ValidDepFor rejecting ServiceTag for nullable class params.

    v3.0.1 tuple-wrapped the `extends object` check to prevent distribution
    over string unions, but `[T] extends [object]` is `false` when `T`
    includes `null`/`undefined`, which removed the `ServiceTag` branch for
    nullable class params. `ValidDepFor` now strips nullability via
    `NonNullable<T>` before the object check, so `Layer.service(MyService,
    

    [..., MyClass])is accepted whenMyServicedeclares its dependency as MyClass | null`. Adds a regression test.

@codecov-commenter

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@borisrakovan
borisrakovan merged commit a83978e into main May 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants