Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #2693

Merged
merged 2 commits into from
Oct 4, 2024
Merged

Version Packages #2693

merged 2 commits into from
Oct 4, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 1, 2024

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm 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

[email protected]

Minor Changes

  • 9f66128: ✨ Add database with user accounts and games.

Patch Changes

[email protected]

Minor Changes

  • a8781d3: 💥 BREAKING CHANGE: createRootMolecule has been renamed createRootMoleculeInStore.

Patch Changes

  • a8781d3: ✨ The new Allocate API allows hierarchical allocations into a defined superstructure.

    It provides a general alternative to the moleculeFamily API, which is still available but is now deprecated.

    New: Shapelessness

    moleculeFamily required a specific constructor type to be passed in. This is a bit of a pain, because it required the user to maintain the shape of the molecules they were creating, which is really redundant to the types of the states that the molecule governs. The idea was, this could be a way to give the molecule its own "type".

    The new way that molecules are typed is purely through the type of their associated keys, whose types must extend the Canonical type. A molecule is 1:1 with a key. Keys are permanent and so are fundamentally different from states.

    No more bond API

    moleculeFamily was also overly rigid in the that it required a molecule to deliberately bond to an atomFamily.

    This is no longer a thing. Once a molecule has been allocated, any states can be added to it at any time.

    See __tests__/experimental/immortal/allocate.test.ts for an example of how to use the new API.

[email protected]

Patch Changes

Copy link

vercel bot commented Oct 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
atom-io-fyi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2024 6:59am
wayfarer-quest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2024 6:59am

@coveralls
Copy link

Coverage Status

coverage: 92.636% (+0.02%) from 92.621%
when pulling 8509aa0 on changeset-release/main
into d8b8b5b on main.

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