Skip to content

Release Tracking - #4098

Merged
jonrohan merged 1 commit into
mainfrom
changeset-release/main
Jun 18, 2026
Merged

Release Tracking#4098
jonrohan merged 1 commit into
mainfrom
changeset-release/main

Conversation

@primer

@primer primer Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

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 main, this PR will be updated.

Releases

@primer/view-components@0.52.0

Minor Changes

  • #4096 3ba48a2 Thanks @jonrohan! - Add static/classnames.js, which default-exports a Set of every unique CSS class name in the library for consumers and tooling. It is available via the @primer/view-components/classnames import subpath.

Patch Changes

  • #4095 6733f3c Thanks @copilot-swe-agent! - Improve CSS style-recalc performance by removing selectors with universal subjects and expanding merged :is() selector lists so the browser can fast-reject them. Affects autocomplete-item, Popover-message--*, breadcrumb-item, and FormControl-checkbox-wrap/FormControl-radio-wrap styles.

@primer
primer Bot requested a review from a team as a code owner June 17, 2026 17:52
@primer
primer Bot requested a review from joshblack June 17, 2026 17:52
@github-actions

Copy link
Copy Markdown
Contributor

❗ Pre-merge checklist

Please ensure these items are checked before merging.

🔎 Smoke test

  • All CI checks pass
  • Lookbook opens in a browser
  • Successful integration test with GitHub.com as a primary consumer of Primer View Components
    • Install the npm release candidate: npm i -w ./npm-workspaces/primer/ @primer/view-components@next
    • Update primer_view_components gem: script/vendor-gem https://github.com/primer/view_components.git -r changeset-release/main
    • Verify no new build errors appear
    • Verify no new linting errors appear
    • Manually test critical paths
    • Manually test release-specific bugfixes and/or features work as described

🤔 Sanity test

  • All bugfixes in this release have resolved their corresponding issues
  • All new features in this release have been tested and verified as compatible with GitHub.com
  • No noticeable regressions have been introduced as a result of changes in this release
  • Release notes accurately describe the changes made

🚢 Post ship reminders

  • Deploy lookbook via chat ops in the #primer-rails-ops channel. .deploy primer-lookbook to production

Please also leave any testing notes as a comment on this pull request. In particular, describing any issues encountered during your testing. This is helpful in providing historical context to maintainers.

@primer
primer Bot force-pushed the changeset-release/main branch from e63ea21 to 62fe3ab Compare June 17, 2026 19:48
@jonrohan
jonrohan merged commit 2a3934f into main Jun 18, 2026
33 checks passed
@jonrohan
jonrohan deleted the changeset-release/main branch June 18, 2026 23:01
myabc added a commit to opf/primer_view_components that referenced this pull request Jul 21, 2026
Syncs the fork with primer/view_components up to upstream commit
6733f3c (parent of Release Tracking primer#4098), the last release in
this batch reaching v0.51.6.

Notable upstream changes pulled in:
- classnames.js Set export (primer#4096): static/classnames.{js,cjs,d.ts}
  plus the package.json exports subpath and files entries.
- perf(css): removed universal `*` subjects and expanded merged
  `:is()` selector lists (primer#4095).

Conflicts resolved keeping the fork's identity, scope and its higher
dependency versions; upstream's new exports/files additions and the
static class-name output were merged in and regenerated cleanly.
myabc added a commit to opf/primer_view_components that referenced this pull request Jul 21, 2026
Syncs the fork with primer/view_components up to upstream commit
6733f3c (parent of Release Tracking primer#4098), reaching v0.51.6.

Upstream changes pulled in:
- classnames.js Set export (primer#4096): static/classnames.{js,cjs,d.ts},
  the export-css-selectors collection logic, and the package.json
  exports subpath plus files entries.
- perf(css): removed universal `*` subjects and expanded merged
  `:is()` selector lists (primer#4095).

Conflict resolution kept the fork's identity, scope and its higher
dependency versions; upstream's new exports were merged in. The
recursive tsconfig include is re-applied here so nested component TS
keeps experimentalDecorators under Vite 8/rolldown. All generated
static files were regenerated from a clean tree.
myabc added a commit to opf/primer_view_components that referenced this pull request Jul 21, 2026
Syncs the fork with primer/view_components up to upstream commit
6733f3c (parent of Release Tracking primer#4098), reaching v0.51.6.

Upstream changes pulled in:
- classnames.js Set export (primer#4096): static/classnames.{js,cjs,d.ts},
  the export-css-selectors collection logic, and the package.json
  exports subpath plus files entries.
- perf(css): removed universal `*` subjects and expanded merged
  `:is()` selector lists (primer#4095).

Conflict resolution kept the fork's identity, scope and its higher
dependency versions; upstream's new exports were merged in. The
recursive tsconfig include is re-applied here so nested component TS
keeps experimentalDecorators under Vite 8/rolldown. All generated
static files were regenerated from a clean tree.
myabc added a commit to opf/primer_view_components that referenced this pull request Jul 21, 2026
Syncs the fork with primer/view_components up to upstream commit
6733f3c (parent of Release Tracking primer#4098), reaching v0.51.6.

Upstream changes pulled in:
- classnames.js Set export (primer#4096): static/classnames.{js,cjs,d.ts},
  the export-css-selectors collection logic, and the package.json
  exports subpath plus files entries.
- perf(css): removed universal `*` subjects and expanded merged
  `:is()` selector lists (primer#4095).

Conflict resolution kept the fork's identity, scope and its higher
dependency versions; upstream's new exports were merged in. The
recursive tsconfig include is re-applied here so nested component TS
keeps experimentalDecorators under Vite 8/rolldown. All generated
static files were regenerated from a clean tree.

The upstream css change makes CI lint the whole text_field.pcss, which
surfaced a pre-existing false positive: nesting-selector-no-missing-
scoping-root fires on the & selectors inside the fork's
FormControl-input-width @define-mixin (the & resolves at the @mixin
include site). Silenced with a scoped stylelint-disable.
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