|
| 1 | +# HEAD |
| 2 | + |
| 3 | +# 9.2.0 |
| 4 | + |
| 5 | +## Added |
| 6 | + |
| 7 | +- Add `test-docs` npm script in each module to check that every CSS class is documented (or at least mentioned) in the module's own markdown docs |
| 8 | + |
| 9 | +## Changes |
| 10 | + |
| 11 | +- Remove per-module configurations (`.gitignore`, `.postcss.json`, `.stylelintrc.json`) and `CHANGELOG.md` files in #284 |
| 12 | +- Replace most static `font-size`, `font-weight`, and `line-height` CSS property values with their [SCSS variable equivalents](https://github.com/primer/primer-css/blob/c9ea37316fbb73c4d9931c52b42bc197260c0bf6/modules/primer-support/lib/variables/typography.scss#L12-L33) in #252 |
| 13 | +- Refactor CI scripts to use Travis conditional deployment for release candidate and final release publish steps in #290 |
| 14 | + |
| 15 | +# 9.1.1 |
| 16 | + |
| 17 | +This release updates primer modules to use variables for spacing units instead of pixel values. |
| 18 | + |
| 19 | +## Changes |
| 20 | + |
| 21 | +- primer-alerts: 1.2.0 => 1.2.1 |
| 22 | +- primer-avatars: 1.1.0 => 1.1.1 |
| 23 | +- primer-base: 1.2.0 => 1.2.1 |
| 24 | +- primer-blankslate: 1.1.0 => 1.1.1 |
| 25 | +- primer-box: 2.2.0 => 2.2.1 |
| 26 | +- primer-breadcrumb: 1.1.0 => 1.1.1 |
| 27 | +- primer-buttons: 2.1.0 => 2.1.1 |
| 28 | +- primer-cards: 0.2.0 => 0.2.1 |
| 29 | +- primer-core: 6.1.0 => 6.1.1 |
| 30 | +- primer-css: 9.1.0 => 9.1.1 |
| 31 | +- primer-forms: 1.1.0 => 1.1.1 |
| 32 | +- primer-labels: 1.2.0 => 1.2.1 |
| 33 | +- primer-layout: 1.1.0 => 1.1.1 |
| 34 | +- primer-markdown: 3.4.0 => 3.4.1 |
| 35 | +- primer-marketing-type: 1.1.0 => 1.1.1 |
| 36 | +- primer-marketing-utilities: 1.1.0 => 1.1.1 |
| 37 | +- primer-marketing: 5.1.0 => 5.1.1 |
| 38 | +- primer-navigation: 1.1.0 => 1.1.1 |
| 39 | +- primer-page-headers: 1.1.0 => 1.1.1 |
| 40 | +- primer-page-sections: 1.1.0 => 1.1.1 |
| 41 | +- primer-product: 5.1.0 => 5.1.1 |
| 42 | +- primer-support: 4.1.0 => 4.1.1 |
| 43 | +- primer-table-object: 1.1.0 => 1.1.1 |
| 44 | +- primer-tables: 1.1.0 => 1.1.1 |
| 45 | +- primer-tooltips: 1.1.0 => 1.1.1 |
| 46 | +- primer-truncate: 1.1.0 => 1.1.1 |
| 47 | +- primer-utilities: 4.4.0 => 4.4.1 |
| 48 | + |
| 49 | +# 9.1.0 |
| 50 | + |
| 51 | +This release updates our [stylelint config](/primer/stylelint-config-primer) to [v2.0.0](https://github.com/primer/stylelint-config-primer/releases/tag/v2.0.0), and to stylelint v7.13.0. Each module also now has a `lint` npm script, and there are top-level `test` and `lint` scripts that you can use to lint and test all modules in one go. |
| 52 | + |
| 53 | +This release also includes major improvements to our Travis build scripts to automatically publish PR builds, release candidates, and the "final" versions to npm. |
| 54 | + |
| 55 | +# 9.0.0 - Core dependency & repo urls |
| 56 | + |
| 57 | +We discovered that `primer-core` specified and outdated version of `primer-base` in it's dependencies. The outdated version did not have `normalize.scss` included which could cause some issues. This has issue occurred during v7.0.0 when creating the new monorepo. Also fixes repo urls in `package.json` for individual packages. |
| 58 | + |
| 59 | +See PR [#243](https://github.com/primer/primer-css/pull/243) |
| 60 | + |
| 61 | +## Changes |
| 62 | + |
| 63 | +### Primer Core v6.0.0 |
| 64 | +- Fixed `primer-base` dependency to point to latest version |
| 65 | + |
| 66 | +**Repo urls corrected from `packages` to `modules` in:** |
| 67 | +- primer-base v1.1.5 |
| 68 | +- primer-box v2.1.8 |
| 69 | +- primer-buttons v2.0.6 |
| 70 | +- primer-forms v1.0.13 |
| 71 | +- primer-layout v1.0.5 |
| 72 | +- primer-navigation v1.0.6 |
| 73 | +- primer-support v4.0.7 |
| 74 | +- primer-table-object v1.0.9 |
| 75 | +- primer-tooltips v1.0.2 |
| 76 | +- primer-truncate v1.0.2 |
| 77 | +- primer-utilities v4.3.5 |
| 78 | + |
| 79 | +### Primer Product v5.0.2 |
| 80 | + |
| 81 | +**Repo urls corrected from `packages` to `modules` in:** |
| 82 | +- primer-alerts v1.1.8 |
| 83 | +- primer-avatars v1.0.2 |
| 84 | +- primer-blankslate v1.0.2 |
| 85 | +- primer-labels v1.1.6 |
| 86 | +- primer-markdown v3.3.13 |
| 87 | +- primer-support v4.0.7 |
| 88 | + |
| 89 | +### Primer Marketing v5.0.2 |
| 90 | + |
| 91 | +**Repo urls corrected from `packages` to `modules` in:** |
| 92 | +- primer-breadcrumb v1.0.2 |
| 93 | +- primer-cards v0.1.8 |
| 94 | +- primer-marketing-support v1.0.2 |
| 95 | +- primer-marketing-type v1.0.2 |
| 96 | +- primer-marketing-utilities v1.0.2 |
| 97 | +- primer-page-headers v1.0.2 |
| 98 | +- primer-page-sections v1.0.2 |
| 99 | +- primer-support v4.0.7 |
| 100 | +- primer-tables v1.0.2 |
| 101 | + |
| 102 | +# 8.0.0 - Imports |
| 103 | + |
| 104 | +Fixes issues with the ordering of imports in each of our meta-packages. See PR [#239](https://github.com/primer/primer-css/pull/239) |
| 105 | + |
| 106 | + |
| 107 | +## Changes |
| 108 | + |
| 109 | +### Primer Core v5.0.1 |
| 110 | +- Re-ordered imports in `index.scss` to ensure utilities come last in the cascade |
| 111 | + |
| 112 | +### Primer Product v5.0.1 |
| 113 | +- Re-ordered imports in `index.scss` to move markdown import to end of list to match former setup in GitHub.com |
| 114 | + |
| 115 | +### Primer Marketing v5.0.1 |
| 116 | +- Re-ordered imports in `index.scss` to ensure marketing utilities come last in the cascade |
| 117 | + |
| 118 | +# 7.0.0 - Monorepo |
| 119 | + |
| 120 | +In an effort to improve our publishing workflow we turned Primer CSS into a monorepo, made this repo the source of truth for Primer by removing Primer modules from GitHub, and setup Lerna for managing multiple packages and maintaining independent versioning for all our modules. |
| 121 | + |
| 122 | +This is exciting because: |
| 123 | + |
| 124 | +- we can spend less time hunting down the cause of a broken build and more time focussing on making Primer more useful and robust for everyone to use |
| 125 | +- we can be more confident that changes we publish won't cause unexpected problems on GitHub.com and many other GitHub websites that use Primer |
| 126 | +- we no longer have files like package.json, scripts, and readme's in the GitHub app that don't really belong there |
| 127 | +- **we can accept pull requests from external contributors** again! |
| 128 | + |
| 129 | +See PR for more details on this change: https://github.com/primer/primer-css/pull/230 |
| 130 | + |
| 131 | +## Other changes: |
| 132 | + |
| 133 | +### Primer Core v4.0.3 |
| 134 | + |
| 135 | +#### primer-support v4.0.5 |
| 136 | +- Update fade color variables to use rgba instead of transparentize color function for better Sass readability |
| 137 | +- Update support variables and mixins to use new color variables |
| 138 | + |
| 139 | +#### primer-layout v1.0.3 |
| 140 | +- Update grid gutter styles naming convention and add responsive modifiers |
| 141 | +- Deprecate `single-column` and `table-column` from layout module |
| 142 | +- Remove `@include clearfix` from responsive container classes |
| 143 | + |
| 144 | +#### primer-utilities v4.3.3 |
| 145 | +- Add `show-on-focus` utility class for accessibility |
| 146 | +- Update typography utilities to use new color variables |
| 147 | +- Add `.p-responsive` class |
| 148 | + |
| 149 | +#### primer-base v1.1.3 |
| 150 | +- Update `b` tag font weight to use variable in base styles |
| 151 | + |
| 152 | +### Primer Marketing v4.0.3 |
| 153 | + |
| 154 | +#### primer-tables |
| 155 | +- Update marketing table colors to use new variables |
| 156 | + |
| 157 | + |
| 158 | +# 6.0.0 |
| 159 | +- Add `State--small` to labels module |
| 160 | +- Fix responsive border utilities |
| 161 | +- Added and updated typography variables and mixins; updated variables used in typography utilities; updated margin, padding, and typography readmes |
| 162 | +- Darken `.box-shadow-extra-large` shadow |
| 163 | +- Update `.tooltip-multiline` to remove `word-break: break-word` property |
| 164 | +- Add `.border-purple` utility class |
| 165 | +- Add responsive border utilities to primer-marketing |
| 166 | +- Add `ws-normal` utility for `whitespace: normal` |
| 167 | +- Updated syntax and classnames for `Counters` and `Labels`, moved into combined module with states. |
| 168 | + |
| 169 | +# 5.1.0 |
| 170 | +- Add negative margin utilities |
| 171 | +- Move `.d-flex` & `.d-flex-inline` to be with other display utility classes in `visibility-display.scss` |
| 172 | +- Delete `.shade-gradient` in favor of `.bg-shade-gradient` |
| 173 | +- Removed alt-body-font variable from primer-marketing |
| 174 | +- Removed un-used `alt` typography styles from primer-marketing |
| 175 | +- Add green border utility |
| 176 | + |
| 177 | +# 5.0.0 |
| 178 | +- Added new border variable and utility, replaced deprecated flash border variables |
| 179 | +- Updated variable name in form validation |
| 180 | +- Updated `.sr-only` to not use negative margin |
| 181 | +- Added and removed border variables and utilities |
| 182 | +- Add filter utility to Primer Marketing |
| 183 | +- Removed all custom color variables within Primer-marketing in favor of the new color system |
| 184 | +- Updated style for form group error display so it is positioned properly |
| 185 | +- Updated state closed color and text and background pending utilities |
| 186 | +- Removed local font css file from primer-marketing/support |
| 187 | +- Updated all color variables and replaced 579 hex refs across modules with new variables, added additional shades to start introducing a new color system which required updating nearly all primer modules |
| 188 | +- Added layout utility `.sr-only` for creating screen reader only elements |
| 189 | +- Added `.flex{-infix}-item-equal` utilities for creating equal width and equal height flex items. |
| 190 | +- Added `.flex{-infix}-row-reverse` utility for reversing rows of content |
| 191 | +- Updated `.select-menu-button-large` to use `em` units for sizing of the CSS triangle. |
| 192 | +- Added `.box-shadow-extra-large` utility for large, diffused shadow |
| 193 | +- Updated: removed background color from markdown body |
| 194 | +- Updated: remove background on the only item in an avatar stack |
| 195 | +- Added form utility `.form-checkbox-details` to allow content to be shown/hidden based on a radio button being checked |
| 196 | +- Added form utility to override Webkit's incorrect assumption of where to try to autofill contact information |
| 197 | + |
| 198 | +# 4.7.0 |
| 199 | +- Update primer modules to use bold variable applying `font-weight: 600` |
| 200 | + |
| 201 | +# 4.6.0 |
| 202 | +- Added `CircleBadge` component for badge-like displays within product/components/avatars |
| 203 | +- Added Box shadow utilities `box-shadow`, `box-shadow-medium`, `box-shadow-large`, `box-shadow-none` |
| 204 | +- Moved visibility and display utilities to separate partial at the end of the imports list, moved flexbox to it's own partial |
| 205 | +- Added `flex-shrink-0` to address Flexbox Safari bug |
| 206 | +- Updated: Using spacing variables in the `.flash` component |
| 207 | +- Updated Box component styles and documentation |
| 208 | +- Added `.wb-break-all` utility |
| 209 | + |
| 210 | +# 4.4.0 |
| 211 | +- Adding primer-marketing module to primer |
| 212 | +- Added red and blue border color variables and utilities |
| 213 | +- Updated: `$spacer-5` has been changed to `32px` from `36px` |
| 214 | +- Updated: `$spacer-6` has been changed to `40px` from `48px` |
| 215 | +- Deprecated `link-blue`, updated `link-gray` and `link-gray-dark`, added `link-hover-blue` - Updated: blankslate module to use support variables for sizing |
| 216 | + |
| 217 | +# 4.3.0 |
| 218 | +- Renamed `.flex-table` to `.TableObject` |
| 219 | +- Updated: `$spacer-1` has been changed to `4px` from `3px` |
| 220 | +- Updated: `$spacer-2` has been changed to `6px` from `8px` |
| 221 | +- Added: `.text-shadow-dark` & `.text-shadow-light` utilities |
| 222 | +- Updated: Moved non-framework CSS out of Primer modules. Added `box.scss` to `primer-core`. Added `discussion-timeline.scss` to `primer-product`, and moved `blob-csv.scss` into `/primer-product/markdown` directory |
| 223 | +- Added: Flex utilities |
| 224 | +- Refactor: Site typography to use Primer Marketing styles |
| 225 | +- Added: `.list-style-none` utility |
| 226 | +- Refactor: Button groups into some cleaner CSS |
| 227 | +- Updated: Reorganizing how we separate primer-core, primer-product, primer-marketing css |
| 228 | + |
| 229 | + |
| 230 | +# 4.2.0 |
| 231 | +- Added: Responsive styles for margin and padding utilities, display, float, and new responsive hide utility, and updates to make typography responsive |
| 232 | +- Added: new container styles and grid styles with responsive options |
| 233 | +- Added: updated underline nav styles |
| 234 | +- Deprecate: Deprecating a lot of color and layout utilities |
| 235 | +- Added: More type utilities for different weights and larger sizes. |
| 236 | +- Added: Well defined browser support |
| 237 | + |
| 238 | + |
| 239 | +# 4.1.0 |
| 240 | +- Added: [primer-markdown](https://github.com/primer/markdown) to the build |
| 241 | +- Fixes: Pointing "style" package.json to `build/build.css` file. |
| 242 | +- Added: Update font stack to system fonts |
| 243 | +- Added: Updated type scale as part of system font update |
| 244 | +- Added: `.Box` component for replacing boxed groups, simple box, and table-list styles |
| 245 | +- Added: New type utilities for headings and line-height |
| 246 | +- Deprecated: `vertical-middle` was replaced with `v-align-middle`. |
| 247 | +- Added: Layout utilities for vertical alignment, overflow, width and height, visibility, and display table |
| 248 | +- Added: Changing from font icons to SVG |
| 249 | + |
| 250 | +# 4.0.2 |
| 251 | +- Added npm build scripts to add `build/build.css` to the npm package |
| 252 | + |
| 253 | +# 4.0.1 |
| 254 | +- Fixed: missing primer-layout from build |
| 255 | + |
| 256 | +# 4.0.0 |
| 257 | +- Whole new npm build system, pulling in the code from separate component repos |
| 258 | + |
| 259 | +# 3.0.0 |
| 260 | +- Added: Animation utilities |
| 261 | +- Added: Whitespace scale, and margin and padding utilities |
| 262 | +- Added: Border utilities |
0 commit comments