Skip to content

Update feather-icons to the latest version 🚀 #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Nov 19, 2017

Version 4.0.0 of feather-icons was just published.

Dependency feather-icons
Current Version 3.3.0
Type dependency

The version 4.0.0 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of feather-icons.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes v4.0.0

<a name"4.0.0">

4.0.0 (2017-11-19)

Features

Breaking Changes

Each icon in the feather.icons object is now an Icon object with a name, contents, tags and attrs property.

/* BEFORE */
feather.icons.x
// '<line ... /><line ... />'

/ AFTER /
feather.icons.x
// {
// name: 'x',
// contents: '<line ... /><line ... />`,
// tags: ['cancel', 'close', 'delete', 'remove'],
// attrs: {
// class: 'feather feather-x',
// xmlns: 'http://www.w3.org/2000/svg',
// width: 24,
// height: 24,
// viewBox: '0 0 24 24',
// fill: 'none',
// stroke: 'currentColor',
// 'stroke-width': 2,
// 'stroke-linecap': 'round',
// 'stroke-linejoin': 'round',
// }
// }

feather.toSvg() has been deprecated in favor of feather.icons[name].toSvg():

/* BEFORE */
feather.toSvg('x')

/ AFTER /
feather.icons.x.toSvg()

feather.replace() now copies all attributes on the placeholder element (i.e. <i>) to the <svg> tag instead of just class and id:

<i data-feather="circle" id="my-circle" class="foo bar" stroke-width="1"></i>
<!--
<i> will be replaced with:
<svg id="my-circle" class="feather feather-circle foo bar" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle></svg>
-->

(f243624f)

Commits

The new version differs by 8 commits.

  • f243624 feat: Update API
  • 0dc2bf5 build: Add process-svgs script (#216)
  • f2b7e1f docs: Add sketch-feather to "Related Projects" section (#219)
  • bfd7362 chore: Generate package-lock.json
  • 8aa917f docs: Update issue template
  • b953307 Update index.html
  • 3a3df71 refactor(replace): Replace console.error with throw new Error
  • 0d342b3 docs: Add elm-feather to "Related projects" section (#214)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

greenkeeper bot added a commit that referenced this pull request Nov 20, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Nov 20, 2017

Version 4.0.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 2 commits.

  • c9552b6 fix: Remove unecessary whitespace from SVG contents
  • b814a2b docs: Update README.md

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 14, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 14, 2017

Version 4.1.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 34 commits.

  • 0af964b Merge pull request #247 from feathericons/v4.1.0
  • 7b9faf5 feat: Update upload icon
  • fd54d89 feat: Update log-out icon
  • 031cd1c feat: Update log-in icon
  • 58e555a feat: Add folder-plus icon
  • 4e5462b feat: Add folder-minus icon
  • 821eae0 feat: Update download icon
  • c61c927 feat: Add arrow-*-circle icons
  • 63485ae feat: Update clock icon
  • c9d3fe4 feat: Add code icon
  • d858fce feat: Add terminal icon
  • b6e3034 feat: Add rss icon
  • ce9dadf feat: Add book-open icon
  • aad71c6 feat: Update bar-chart icons
  • c8181e4 feat: Add hard-drive icon

There are 34 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 14, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 14, 2017

Version 4.2.0 just got published.

Update to this version instead 🚀

Release Notes v4.2.0

4.2.0 (2017-12-14)

Features

  • Add more tags to tags.json (f58b75f)
Commits

The new version differs by 2 commits.

  • f58b75f feat: Add more tags to tags.json
  • fac43e9 ci: Update .travis.yml

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 14, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 14, 2017

Version 4.3.0 just got published.

Update to this version instead 🚀

Release Notes v4.3.0

<a name"4.3.0">

4.3.0 (2017-12-14)

Features

Commits

The new version differs by 2 commits.

  • f329a1e feat: Add linkedin icon
  • b817fe2 ci: Update repository url in package.json

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 15, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 15, 2017

Version 4.4.0 just got published.

Update to this version instead 🚀

Release Notes v4.4.0

4.4.0 (2017-12-15)

Features

Commits

The new version differs by 14 commits.

  • 483a3f1 feat: Add more tags
  • 827d2be feat: Add zap-off icon
  • 58c2ec7 feat: Add truck icon
  • 4ba17e4 feat: Add shopping-bag icon
  • d79db8d feat: Add send icon
  • c908b6a feat: Add git-pull-request icon
  • 1014f53 feat: Add git-merge icon
  • 1f7216a feat: Add git-commit icon
  • 5df24f0 feat: Add git-branch icon
  • f527932 feat: Add dollar-sign icon
  • 8161cd7 feat: Update check-square icon
  • 1af2cf5 feat: Update check-circle icon
  • eb8e3d6 feat: Add database icon
  • 080d5b4 chore(dependencies): Bump semantic-release from 6.3.6 to 8.2.0

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 22, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 22, 2017

Version 4.5.0 just got published.

Update to this version instead 🚀

Release Notes v4.5.0

4.5.0 (2017-12-22)

Commits

The new version differs by 25 commits.

  • c7d417e feat: Add tags to tags.json
  • 6999eeb Fix typo on icon tags
  • 9e681f8 Add icon tags
  • 1f5bb6e Merge pull request #252 from feathericons/dependabot/npm_and_yarn/eslint-plugin-prettier-2.4.0
  • fbdff64 chore(dependencies): Bump eslint-plugin-prettier from 2.3.1 to 2.4.0
  • 1f87e25 Merge pull request #238 from feathericons/dependabot/npm_and_yarn/lint-staged-6.0.0
  • 5596f66 Merge pull request #242 from feathericons/dependabot/npm_and_yarn/eslint-config-airbnb-base-12.1.0
  • 1d3807c chore(dependencies): Bump eslint-config-airbnb-base from 11.3.2 to 12.1.0
  • a7fe66e Merge pull request #239 from feathericons/dependabot/npm_and_yarn/eslint-4.13.1
  • c85cb65 chore(dependencies): Bump eslint from 4.10.0 to 4.13.1
  • 3ad661e Merge pull request #241 from feathericons/dependabot/npm_and_yarn/@commitlint/cli-5.2.5
  • 4ae3fa8 Merge pull request #245 from feathericons/dependabot/npm_and_yarn/eslint-config-prettier-2.9.0
  • e3a3cd6 chore(dependencies): Bump lint-staged from 5.0.0 to 6.0.0
  • 7311122 chore(dependencies): Bump eslint-config-prettier from 2.7.0 to 2.9.0
  • d5e7e14 Merge pull request #251 from feathericons/dependabot/npm_and_yarn/webpack-3.10.0

There are 25 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Feb 20, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 20, 2018

Version 4.5.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 11 commits.

  • b3655c4 fix: Fix semantic-release deploys
  • 5a8a8b7 fix: Reorder help-circle elements (#308)
  • ba33c83 Merge pull request #278 from feathericons/dependabot/npm_and_yarn/eslint-plugin-prettier-2.5.0
  • b157434 Merge pull request #277 from feathericons/dependabot/npm_and_yarn/semantic-release-12.2.2
  • 6adadf4 chore(dependencies): Bump eslint-plugin-prettier from 2.4.0 to 2.5.0
  • 7ea765f chore(dependencies): Bump semantic-release from 8.2.0 to 12.2.2
  • 2dbe78f Merge pull request #260 from feathericons/dependabot/npm_and_yarn/html-minifier-3.5.8
  • 0dce8a8 Merge pull request #265 from feathericons/dependabot/npm_and_yarn/eslint-4.15.0
  • ed0e08a chore(dependencies): Bump eslint from 4.13.1 to 4.15.0
  • b5331a2 docs: Updated README.md
  • ada2681 chore(dependencies): Bump html-minifier from 3.5.7 to 3.5.8

See the full diff

greenkeeper bot added a commit that referenced this pull request Feb 21, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 21, 2018

Version 4.6.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 1 commits.

  • 3422f0a feat: Add SVG sprite support (#319)

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 2, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 2, 2018

Version 4.7.0 just got published.

Update to this version instead 🚀

Release Notes v4.7.0

4.7.0 (2018-03-02)

Features

Commits

The new version differs by 3 commits.

See the full diff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants