changesets: Release / Deploy#183
Merged
Merged
Conversation
|
py-zoid
approved these changes
May 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



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 master, this PR will be updated.
Releases
@polygonlabs/meta@1.0.0
Major Changes
0c1d7e5: Initial release of
@polygonlabs/meta, replacing the legacy@maticnetwork/meta@2.xpackage.What's new
import { abi } from '@polygonlabs/meta/abi/<chain>/<network>/<type>/<Contract>'pulls exactly one ABI; the rest of the package is tree-shaken at bundle time.as constliteral ABI types. Each ABI is exported as a literal tuple soviem,wagmi, andabitypecan extract function names, argument types, and return types at the call site. Withoutas constthe type widens to{ name: string }[]and consumer-side type inference disappears entirely — the typed-ABI value proposition exists only because ofas const./info/<chain>/<network>and/info/networks, alsoas const../network/*subpath export keeps the same path scheme as@maticnetwork/meta@2.x, so consumers who only want JSON migrate by changing the package name.Breaking changes vs
@maticnetwork/meta@2.x@maticnetwork/meta→@polygonlabs/meta.require()is no longer supported. Consumers must be ESM and on Node ≥ 24.Networkclass is gone. Replacenew Network(chain, version).abi(name)with the typed deep imports under./abi/<chain>/<network>/<type>/<Contract>— same data, fully typed, sync, tree-shakable.The HTTP endpoint at
static.polygon.technologyis unchanged. SeeMIGRATION.mdfor full before/after import examples.