Releases: carloskiki/icondata
v0.4.0
Added
Feature flags are back! They now control the inclusion of icon libraries at the library-level. By default all libraries are included, but one may set default-features = false
and e.g., features = ["ant-design-icons", "box-icons", "github-octicons"]
. Using this granularity should alleviate the workload for rust-analyzer
. This is not a breaking change, since all libraries are included by default!
What's Changed
- Add feature flags for icon packs by @martijnarts in #39
New Contributors
- @martijnarts made their first contribution in #39
Full Changelog: v0.3.1...v0.4.0
v0.3.1
Fixed dead links in documentation.
What's Changed
- Update Icon index website by @carloskiki in #34
- CI Fixes by @carloskiki in #35
- Remove the /docs directory by @carloskiki in #36
Full Changelog: v0.3.0...v0.3.1
v0.3.0-alpha - Removal of Feature Flags & Separation of Concerns
This release removes a lot of the clunky infrastructure around icondata
simplifying user experience for both component libraries and end users.
Changes
Component libraries should now only depend on icondata_core
. Downstream users of the component libraries should themselves bring their icon source i.e., icondata
or icondata_*
.
Icons are now simply &'static IconData
, where IconData
now implements the traits that the Icon
enum implemented previously.
What's Changed
- Fix IcoMoonFree SVG directory by @mondeja in #31
- Remove build scripts and
cfg
flags by @Carlosted in #32 - Make every icon a static; Create separation of concern between component libs and icon sources. by @Carlosted in #33
New Contributors
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Getting Rid of Feature Flags
As of this version, feature flags are no longer used to enable icons; A config file is used instead.
You can follow the guide in the docs when migrating from v0.1.0
: https://docs.rs/icondata/0.2.0/icondata/
For those wanting to understand why, here are some links (in chronological order) to explain what happened:
- rust-lang/crates.io#7269
- #24
- https://blog.rust-lang.org/2023/10/26/broken-badges-and-23k-keywords.html
What's Changed
- Speed up
--all-features
build by 33%~55% by removing cfg by @workingjubilee in #24 - Move icon toggling to a build script by @Carlosted in #25
New Contributors
- @workingjubilee made their first contribution in #24
Full Changelog: v0.1.0...v0.2.0
v0.1.0
Version 0.1.0
This release removes the use of the icon!
macro. Any icon is now available in the global namespace.
Migrating from 0.0.x
- Replace the use of the
icon!
macro by usingIcon::from
. - importing
icondata::*
now imports everything.
Features
- Support for 17 icon libraries
- Twotone Icon support
- Feature flag based compilation (no icon is compiled by default).
What's Changed
- Refactor by @Carlosted in #1
- Implementing strum for enums, adding traits to
IconData
. by @Carlosted in #4 - Migrate icondata to use core 0.0.2 by @Carlosted in #5
- Core 0.0.2 in everything by @Carlosted in #6
- icondata 0.0.5 by @Carlosted in #7
- Publish 0.0.6 by @Carlosted in #8
- Icons Index site working by @Carlosted in #9
- Add Charm Icons by @jaynewey in #10
- WIP - General Icondata crate and general Icon enum by @Carlosted in #11
- Twotone Icons now working properly by @Carlosted in #12
- fix build and deploy gh action by @Carlosted in #13
- fix build and deploy gh action by @Carlosted in #14
- Publish action fix by @Carlosted in #15
- fix icondata publish by @Carlosted in #16
- migrate crate versions by @Carlosted in #17
- Add CI by @Carlosted in #19
- Bump actions/upload-pages-artifact from 1 to 2 by @dependabot in #20
- Bump actions/checkout from 3 to 4 by @dependabot in #21
- add fix to make minimal versions happy by @Carlosted in #22
- Remove the macro crate as it is no longer useful by @Carlosted in #23
New Contributors
- @Carlosted made their first contribution in #1
- @jaynewey made their first contribution in #10
- @dependabot made their first contribution in #20
Full Changelog: https://github.com/Carlosted/icondata/commits/v0.1.0