Skip to content

Releases: primer/css

v12.0.2 (2019-02-27)

28 Feb 01:57
bb89144
Compare
Choose a tag to compare

🐛 Bug fix

  • Restore missing marketing padding utilities #695

📝 Documentation

  • Explain why .tooltipped should be used sparingly #676
  • Fix trailing slash errors in Next.js #681
  • Add static assets to Now deployments #687
  • Shiny new social and README header by @ashygee #689

🏠 Internal

Committers: 4

v12.0.1 (2019-02-20)

21 Feb 00:44
05b66d8
Compare
Choose a tag to compare

This is a maintenance release that fixes two outstanding issues, and one introduced in 12.0.0:

🐛 Bug Fix

  • Add missing h000-mktg class #667
  • Fix UnderlineNav overflow issues #684
  • Fix double borders on Box-header #686

🏠 Internal

  • Add postversion npm script that commits package.json and package-lock.json with consistent commit messages (chore: v<version>)

v12.0.0

19 Feb 21:45
6fed17f
Compare
Choose a tag to compare

Introducing @primer/css

This release marks a major reorganization of the Primer CSS source files from a "monorepo" with lots of individually installable npm packages (including primer) to a single one with a new name: @primer/css. Before switching, we strong suggest:

  1. Upgrade to primer@11 first, if you haven't already. This will allow you to deal with any breaking Sass changes separately from import path updates.

  2. Read the migration guide before upgrading to v12. If you really, really don't have time for that, here's all you should need to do:

    # save your work!
    npm uninstall primer
    npm install @primer/css
    npx primer-migrate path/to/**/*.scss

We've attempted to keep the number of CSS changes as small as possible — a few marketing button fixes in #668 — so there shouldn't be any impact on the appearance of your site. If you see anything unexpected, don't hesitate to file an issue.

💥 Breaking Change

🚀 Enhancement

  • Publish a reusable postcss config (@primer/css/postcss.config)
  • Publish JSON metadata describing all our CSS bundles (core, product, etc.)
  • Add the primer-migrate script for updating Sass import paths #677

🐛 Bug fix

  • Bring back btn-transparent in marketing buttons #668

📝 Documentation

🏠 Internal

  • Replace our Travis setup with GitHub Actions
  • Update PR template
  • Bring back autoprefixer for CSS builds
  • Revive the selector diff report
  • Update the list of required checks to match up with the new actions
  • Update the ship checklist (below)

v11.0.0 (2019-01-25)

26 Jan 00:03
8e4946e
Compare
Choose a tag to compare

⚠️ This is our last release before the package reorganization described in #652 and tracked in #653.

Out of an abundance of caution, we've bumped the version of every package in this release by a major version. We highly recommend that you upgrade to primer@^11 before migrating to @primer/css.

💥 Breaking Change

🚀 Enhancement

🐛 Bug Fix

🏠 Internal

Committers: 5

v10.10.5

19 Jan 03:52
3cf5c67
Compare
Choose a tag to compare

🐛 Bug Fix

📝 Documentation

🏠 Internal

  • Only check links on Travis if CHECK_LINKS=1 is set in the environment
  • a5658d3 Run now alias with alias field from now.json on merge to master

Committers: 1

v10.10.4

11 Jan 23:37
f0e0158
Compare
Choose a tag to compare

📝 Documentation

  • #630 Incorporate @ashygee's new header illustration
  • #635 Replace "What's new" section with Releases link; improve status labels
  • #645 Add broken link tests to docs and fix a bunch of broken links
  • #646 Fix ERB code examples being rendered as HTML

🏠 Internal

  • #641 Refactor docs URL path tests
  • Always deploy docs after releasing
  • Improve commit status messages for docs publishing
  • Eliminiate duplicate primer publish message

Committers: 1

v10.10.3

07 Jan 23:28
4527124
Compare
Choose a tag to compare

📝 Documentation

🏠 Internal

Committers: 2

v10.10.2

29 Nov 19:12
9eab550
Compare
Choose a tag to compare

📝 Documentation

🏠 Internal

Committers: 2

v10.10.1

26 Nov 03:21
7f8b5aa
Compare
Choose a tag to compare

📝 Documentation

🏠 Internal

Committers: 2

v10.10.0

20 Nov 00:07
ab72045
Compare
Choose a tag to compare

🚀 Enhancement

🐛 Bug Fix

📝 Documentation

🏠 Internal

Committers: 3