Skip to content

Declare Player as a peer dependency and adopt Player 1.0 tooling scopes#19

Open
sugarmanz wants to merge 2 commits into
mainfrom
feat/player-0.15-peer-deps-tooling-migration
Open

Declare Player as a peer dependency and adopt Player 1.0 tooling scopes#19
sugarmanz wants to merge 2 commits into
mainfrom
feat/player-0.15-peer-deps-tooling-migration

Conversation

@sugarmanz

@sugarmanz sugarmanz commented Jul 25, 2026

Copy link
Copy Markdown
Member

Converts the base devtools plugins (@player-devtools/plugin, plugin-react, types) to declare @player-ui/* as open-ended peer dependencies (>=0.15.4) instead of pinned runtime dependencies, so consumers own the Player version. Aligns all @player-ui/* to >=0.15.4, migrates the deprecated @player-tools/* tooling to the new @player-cli / @player-lang / @xlr-lib scopes, bumps @devtools-ui/plugin to the 0.15 canary, and bumps rules_player to v2.5.0 (for the parameterized DSL cli / dsl_package).

Change Type

  • patch
  • minor
  • major

Peer-dep conversion changes install requirements for consumers; no breaking change to the devtools API surface.

Verification

  • JS/TS: 14/14 vitest suites pass; emitted peerDependencies: >=0.15.4 confirmed on the base plugins (no runtime @player-ui/* dependency)
  • Android: plugin/basic/profiler libraries build; plugin-android-unit-test passes (Maven 0.15.4)
  • iOS: all 5 Swift libraries compile (SPM 0.15.5); simulator tests not exercised in this env
  • No @player-tools/* remain anywhere in the lockfile

Notes

  • @devtools-ui/plugin is temporarily pinned to canary 0.4.1--canary.62.3837 (from devtools-assets PR #62). Re-pin to a stable release before merge.

Release Notes

  • The devtools plugins now declare @player-ui/* as peer dependencies (>=0.15.4). Consumers must provide a compatible @player-ui/player (plus react/types) — any version from 0.15.4 onward, including 1.x, satisfies it.
  • Build tooling migrated off the deprecated @player-tools/* scope to @player-cli, @player-lang, and @xlr-lib.
📦 Published PR as canary version: 0.14.1--canary.19.1010

Try this version out locally by upgrading relevant packages to 0.14.1--canary.19.1010

Convert the base plugins (@player-devtools/plugin, plugin-react, types)
to declare @player-ui/* as open-ended peer dependencies (>=0.15.4)
instead of pinned runtime dependencies, so consumers control the Player
version. Align all @player-ui/* to >=0.15.4, migrate the deprecated
@player-tools/* tooling to the new @player-cli / @player-lang / @xlr-lib
scopes, and bump @devtools-ui/plugin to the 0.15 canary. Bump
rules_player to v2.5.0 for parameterized DSL cli/dsl_package.
@sugarmanz
sugarmanz requested a review from a team as a code owner July 25, 2026 01:37
@sugarmanz

Copy link
Copy Markdown
Member Author

/canary

The rules_player v2.5.0 bump activates kt ABI-check test targets that
compare each library's public ABI against a checked-in golden .api file.
None existed, so plugin-abi-check failed in CI. Generate the golden
baselines via the -abi-update targets (messenger, plugin, basic,
profiler; JVM + Android). Android dumps are empty — those libraries
expose no public Kotlin ABI.
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.

1 participant