Skip to content

Releases: primer/octicons

v12.0.0

04 Feb 19:10
c65a996
Compare
Choose a tag to compare

🚀 New Features

💅 Enhancements

💥 Breaking changes

🧽Chores

v11.3.0

02 Feb 23:43
b1a25d5
Compare
Choose a tag to compare

11.3.0

🚀 New Features

🐛 Fixes

v11.2.0

07 Dec 22:19
81f6fbf
Compare
Choose a tag to compare

🚀 New Features

  • strikethrough (#518)

🐛 Fixes

  • Align plus and dash icon (#447)
  • Small edits in JS documentation (#499)

🧽Chores

  • Dependency updates

v11.1.0

13 Nov 21:04
bae0c9e
Compare
Choose a tag to compare

🚀 New Features

  • container (#507)
  • squirrel 24px icon (#508)

🐛 Fixes

  • Corrected stroke for 24px smiley (#509)

v11.0.0

08 Sep 22:07
Compare
Choose a tag to compare

💅 Enhancements

  • Cache retrieval of Octicon SVG paths (#491)

💥 Breaking changes

  • Fix 24px icon names #465 (@BenJetson 🙇)
    • unverifed-24.svgunverified-24.svg
    • file-symlink-24.svgfile-symlink-file-24.svg
    • fire-24.svgflame-24.svg
    • eye-slash-24.svgeye-closed-24.svg
  • Remove 24px settings icon. Use gear instead #493

v10.1.0

24 Aug 19:23
b6dbe56
Compare
Choose a tag to compare

🚀 New Features

🐛 Fixes

  • Corrected positioning for triangle-down #459

🧽Chores

  • Dependency updates

v10.0.0

11 Jun 00:25
dbf02d1
Compare
Choose a tag to compare

All packages

  • We've given Octicons a new look ✨ Some icons have new names and some icons haven't been redesigned yet. The following table documents those changes. If you're using an octicon in v9.x that doesn't have an equivelent in v10.0 yet, let us know by opening an issue.
v9.x v10.0 Notes
arrow-small-down arrow-down
arrow-small-left arrow-left
arrow-small-right arrow-right
arrow-small-up arrow-up
circuit-board cpu
cloud-download download
cloud-upload upload
dashboard meter
dependent package-dependents
file-pdf file
file-symlink-directory file-submodule
gist-secret lock
gist code-square
github-action play
heart-outline heart
internal-repo repo
jersey people
keyboard Request this icon
line-arrow-down arrow-down
line-arrow-left arrow-left
line-arrow-right arrow-right
line-arrow-up arrow-up
mail-read mail
no-newline no-entry
paintcan paintbrush
plus-small plus
primitive-dot-stroke dot
primitive-dot dot-fill
primitive-square square-fill
radio-tower broadcast
repo-force-push repo-push
repo-template-private Request this icon
request-changes diff
saved bookmark
text-size heading or typography
unsaved bookmark-slash
watch hourglass
workflow-all Request this icon
  • We designed a set of 24px icons—as well as 16px icons—to accommodate interfaces that need larger icons. All package implementations now choose which SVG to render based on the size passed in.

React (@primer/octicons-react)

  • Icon components (e.g. AlertIcon, ArrowRightIcon, etc.) now accept size, ariaLabel, verticalAlign, and className props and can be used on their own. No need to pass them to the Octicon component.

    <AlertIcon size={24} />
  • Icon components will now choose the best SVG icon to render based on the size passed in.

  • The Octicon component is deprecated. Use icon components on their own instead:

    - <Octicon icon={AlertIcon} />
    + <AlertIcon />

BREAKING CHANGES 💥

  • All icon component names now include Icon at the end (e.g. AlertAlertIcon).

  • In order to enable tree-shaking, we removed the iconsByName and getIconByName exports.

  • Octicon no longer accepts width or height props. Use the size prop instead. In cases where the width and height of an icon are not equal (e.g. logos), the height will be set to the value of the size prop and the width will be scaled proportionally.

  • We renamed the ariaLabel prop to aria-label to be consistent with React: https://reactjs.org/docs/accessibility.html#wai-aria

    - <AlertIcon ariaLabel="...
Read more

v9.6.0

01 Apr 18:45
Compare
Choose a tag to compare

Features

  • New icon north-star #380

v9.5.0

01 Apr 18:45
Compare
Choose a tag to compare

Features

  • New icon internal-repo #375

v9.4.0

29 Jan 21:39
ded0acf
Compare
Choose a tag to compare

Features

  • New icons heart-outline infinity line-arrow-up line-arrow-down line-arrow-right line-arrow-left #365

Chores

  • Contributing docs updates and issue template updates #367

Bugs

  • Update heart glyphs removing extra points #365