Skip to content

Release 2.0.0#52

Merged
firestar300 merged 14 commits into
developfrom
ver/2.0.0
Apr 13, 2026
Merged

Release 2.0.0#52
firestar300 merged 14 commits into
developfrom
ver/2.0.0

Conversation

@firestar300

@firestar300 firestar300 commented Apr 13, 2026

Copy link
Copy Markdown
Collaborator

2.0.0 - 2026-04-13

First stable release of the 2.x line. All changes from 2.0.0-beta.1 through 2.0.0-beta.7 are included; see those sections for detailed component and API notes.

Changed (2026-04-13)

  • CI: Publish to npm from main via GitHub Actions using npm Trusted Publishing (OIDC)
  • Pin Node.js to 22.14.0 via Volta (required for npm Trusted Publishing CLI requirements)
  • Playwright: use defineConfig in playwright.config.ts for current @playwright/test exports

Note

Medium Risk
Changes CI/CD release and publishing paths (npm Trusted Publishing via OIDC, automatic tagging/releases), which can impact package distribution if misconfigured, but does not alter runtime library logic.

Overview
Cuts the 2.0.0 release by shifting CI to publish from main using npm Trusted Publishing (OIDC), adding guards to skip publishing if the package version already exists, and automatically creating a Git tag + GitHub Release from CHANGELOG.md.

Adds a new GitHub Actions workflow to build and deploy the demo site to GitHub Pages, and aligns CI tests to pnpm + Node 22/Playwright.

Updates repo hygiene/docs: adds .eslintignore, ignores demo-dist/, updates CHANGELOG.md for 2.0.0, and refreshes example READMEs/HTML (notably switching demo links to GitHub Pages and minor example script fixes such as using the correct dropdown instance for action buttons).

Reviewed by Cursor Bugbot for commit 19f3a56. Bugbot is set up for automated code reviews on this repo. Configure here.

Updates the configuration to use the `defineConfig` utility, providing better type safety and alignment with current Playwright recommendations.
Updates the example script and test suite to target the correct dropdown container for action button operations. Previously, interactive elements in the "action buttons" section were incorrectly targeting the focus-out demonstration instance.
Updates indentation, spacing, and structure across all component examples to ensure consistency in the documentation.
Updates the release process to trigger automatically when changes are pushed to the main branch. The workflow now detects the version from package.json, uses pnpm for builds, and includes safety checks to avoid re-publishing existing versions to NPM.
Transitions the release workflow from static secrets to OIDC-based authentication for NPM. This adds the required id-token permissions, ensures a compatible npm CLI version, and removes the dependency on a long-lived access token.
Promotes the package from 2.0.0-beta.7 to the stable 2.0.0 release.
Adds release notes for the stable 2.0.0 release and updates historical beta entries to include dates.
Updates Vite to version 8.0.8, which transitions the underlying bundler from esbuild to rolldown. This change also introduces lightningcss and tinyglobby as core dependencies and tightens Node.js engine requirements to ^20.19.0 or >=22.12.0.
Updates core dependencies including ESLint, Playwright, and oneloop.js. Adds a dedicated lint script and an `.eslintignore` file to formalize code quality checks, and implements extensive pnpm overrides to pin sub-dependency versions for security and compatibility.
Updates oneloop.js to the latest version and prunes the lockfile to remove a significant number of legacy transitive dependencies, including outdated versions of ESLint, glob, and various CLI utilities.
Updates the CI pipeline to use pnpm and Node.js 22. This migration upgrades GitHub Actions to v4, pins pnpm to v10, and optimizes the test run by using the native pnpm cache and skipping browser downloads during the initial dependency installation.
Comment thread .github/workflows/release_package.yml Outdated
Adds a GitHub Actions workflow and a dedicated Vite configuration to build and host library examples as a multi-page site. This update replaces external CodePen links in documentation with the new hosted URLs and aligns the project on Vite 7.3.x to ensure a consistent toolchain across the library and demos.
Aligns the release pipeline with the existing test workflow by pinning pnpm to version 10 and enforcing the use of a frozen lockfile to ensure reproducible builds.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 3f2aff1. Configure here.

Comment thread .github/workflows/tests.yml
Simplifies the Playwright test command by removing the inline CI=true prefix, as the variable is already defined within the step's environment configuration.
@firestar300
firestar300 merged commit 59ac7eb into develop Apr 13, 2026
1 check passed
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