Skip to content

chore(deps): bump iti from 0.7.0 to 0.8.0#512

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/iti-0.8.0
Open

chore(deps): bump iti from 0.7.0 to 0.8.0#512
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/iti-0.8.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 31, 2026

Bumps iti from 0.7.0 to 0.8.0.

Release notes

Sourced from iti's releases.

0.8.0 - Better API Naming, Better Types & SSR Support 🎉

🚀 TL;DR

  • no breaking changes
  • rename API so it makes more sense
  • add sync mode for react that would enable better SSR / Server Components flow
  • fix some bugs
  • improve types
  • add more tests
  • add type tests
  • improve type performance

🚀 Major Changes

API Renaming (Better semantics)

The API has been renamed from "containers" to "items" to better reflect what we're actually managing. All old methods still work and are marked as deprecated.

Core Library:

  • getContainerSet()getItems()
  • subscribeToContainerSet()subscribeToItems()
  • subscribeToContainer()subscribeToItem()

React Hooks:

  • getContainerSetHooks()getContainerHooks()
  • useContainer()useItem()
  • useContainerSet()useItems()

✨ New Features

1. Synchronous API for SSR

// New sync methods for better SSR support
const item = container.getSync("myService")
const items = container.getItemsSync(["serviceA", "serviceB"])

2. Enhanced React SSR Support The useItems hook now intelligently handles SSR by returning cached values synchronously when available, preventing hydration mismatches.

🔧 Improvements

  • ✅ Migrated from Jest to Vitest (faster tests, better ESM support)
  • ✅ Better TypeScript type performance
  • ✅ More tests
  • ✅ Add tests for TS types with @​arktype/attest

... (truncated)

Commits

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 31, 2026
@FoxxMD
Copy link
Copy Markdown
Owner

FoxxMD commented Mar 31, 2026

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/iti-0.8.0 branch 3 times, most recently from e6b4d78 to 8d5b81f Compare April 1, 2026 13:00
Bumps [iti](https://github.com/molszanski/iti) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/molszanski/iti/releases)
- [Commits](molszanski/iti@0.7.0...0.8.0)

---
updated-dependencies:
- dependency-name: iti
  dependency-version: 0.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/iti-0.8.0 branch from 8d5b81f to 998caea Compare April 1, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant