Releases: Codex-Data/sdk
v2.0.0
What's Changed
🚀 60%+ smaller bundle size for end users
⚡ Better tree-shaking with ESM support. Falls back to CommonJS.
🛠 Modern tooling throughout development workflow
🚫 Remove fragment masking since it's generic and not used in the sdk directly.
For more information on upgrading to 2.0.0+ see the README.
Full Changelog: v1.0.40...v2.0.0
v1.1.0-beta.1
v1.1.0-beta.0
What's Changed
👋🏻 Goodbye bun, hello pnpm!
🚀 60%+ smaller bundle size for end users
⚡ Better tree-shaking with ESM support. Falls back to CommonJS.
🛠 Modern tooling throughout development workflow
📦 Production-ready package structure
🚫 No build scripts in the SDK!
🚫 Removed all files that were generated or fetched at build time. i.e. schemas, network configs, etc.
🚫 Remove fragment masking since it's generic and not used in the sdk directly.
Breaking Changes
Imports
Before
import { Codex } from "@codex-data/sdk";
import { TokenRankingAttribute, RankingDirection } from "@codex-data/sdk/dist/sdk/generated/graphql";
After
import { Codex, TokenRankingAttribute, RankingDirection } from "@codex-data/sdk";
Full Changelog: v1.0.40...v1.1.0-beta.0