v2.1.0
Planby now ships an agent skill — a compact, source-verified description of the API that AI coding assistants read before writing code, so they stop inventing useEpg options that don't exist.
npm install planby
npx planby init-ai
One command wires the skill into every assistant you use:
| Agent | What it writes |
|---|---|
| Claude Code / Agent SDK | .claude/skills/planby |
| Cursor | .cursor/rules/planby.mdc |
| Windsurf | .windsurf/rules/planby.md |
| Codex, Gemini CLI, Antigravity, … | a section in AGENTS.md |
Each file points at the skill bundled inside node_modules/planby, so the guidance always matches the version you installed. Re-run it after upgrading.
The skill documents the useEpg hook and every one of its options, the Channel/Program schemas, the theme and what each color actually controls, the three render functions, and branding with styled(). It ships two runnable examples that are type-checked against the published types on every release, and it knows which features belong to Planby PRO so it says so instead of generating code that cannot work.
See Using Planby with AI assistants in the README.
Dropped the Create React App-era @emotion/styled/macro imports. The macro was only being expanded in the CommonJS build, so the ESM bundle carried its machinery for nothing:
| Bundle (gzip) | 2.0.0 | 2.1.0 |
|---|---|---|
planby.esm.js |
18.8 kB | 10.9 kB (−42%) |
planby.cjs.production.min.js |
7.1 kB | 7.2 kB |
TimelineTime now renders with a stable planby-timeline-time class instead of a generated hash, so it can be targeted from globalStyles.
- The test suite runs again (9/9 suites, 21/21 tests).
react,react-domand the Testing Library packages were never declared indevDependencies, Jest ran DOM tests in anodeenvironment, and tsdx's bundled Jest conflicted with the rootts-jest. - Packing now builds through
prepackinstead ofprepare.prepareis an npm-only lifecycle hook and never ran under Yarn, soyarn npm publishcould ship a package with an emptydist/.
CONTRIBUTING.md now documents the development setup — Corepack, the pinned Yarn version, the everyday commands, and the rule that a change to the public API must update skills/planby/ in the same pull request.
No breaking changes. The public API is unchanged and the peer range stays at react >= 19.
- Karol Kozer (@karolkozer )
v1.1.4
- fix bug when date range exceeds 24 hour with baseTimeFormat prop set to true. Issue - https://github.com/karolkozer/planby/issues/40
- Karol Kozer (@karolkozer )
v1.1.1
- Fix styles in main Container wrapper
- Fix Program interface export - https://github.com/karolkozer/planby/issues/15
- Fix "z-index" styles of the sidebar, EPG content and timeline components
- Karol Kozer (@karolkozer )