Skip to content

Commit

Permalink
Release v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andretcarpizo committed Dec 26, 2023
1 parent 7ecce78 commit b4dfdff
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 57 deletions.
61 changes: 7 additions & 54 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,67 +6,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/).

## [[Unreleased]] - 2023-12-25

### Added
- IconKind::
- NfFaFolder
- NfFaFolderOpen
- NfFaeEqual

### Removed
- Remove: DEVLOG.md
- Remove: mutex lock on color_fn
- Remove: whisper_or_else
## [2.0.0] - 2023-12-26

### Breaking Changes
- NfMd Variants are deprecated and will be replaced by their equivalent NfFa Variant in the next release
- NfMdGreaterThan
- NfMdLessThan
- NfMdEqual
- NfMdThumbsUp
- NfMdThumbsDown
- NfMdFolder
- NfMdFolderOpen
- Breaking Change: NfMd Variants are deprecated and will be replaced by their equivalent NfFa Variant in the next release
- Breaking Change: #[non_exhaustive] attribute to WhisperError enum
- Breaking Change: non_exhaustive attribute to IconKind enumeration
- Breaking Change: Remove all md variants from icon_map.rs

- Add: IconKind enum has been marked #[non_exhaustive].
- Pattern-matching on it outside of its crate must now include a wildcard pattern like `_`, or it will fail to compile.

### Configuration
- Allow: deprecated code in Cargo.toml lints settings.
### Changed
- Refactor: from Mutex to RwLock on ICON_MAP .

### Added
- Add: example
- Add: new test functions to lib.rs
- Add: whisper_err and whisper_out experimental
- Add: non_exhaustive attribute to IconKind enumeration
- Add: examples folder
- Add: whisper_with_fallback method experimental

### Documentation
- Update: README.md content and structure
- #![doc(html_root_url = "https: //docs.rs/murmur/")]
- Update: lib.rs documentation structure
- Update: `IconKind` enum link in documentation
- Refactor: some crate docs to example .

### Fixed
- Breaking: Change #[non_exhaustive] attribute to WhisperError enum
- Refactor: `Display` trait implementation for `IconKind` to include error handling.

### Changed
- Update: gitignore
- Update: Makefile.toml tasks
- Refactor: from Mutex to RwLock on ICON_MAP in lib.rs file.
- Refactor: from Mutex to RwLock in ICON_MAP in color_map.rs
- Refactor: color map type definitions in color_map.rs
- Refactor: simplifies color map implementation
- Replace: Arc and Mutex with Box in ColorFunction
- Update: changelog
- Update: changelog
- Update: icon_map.rs deprecate NfMd icon variants and replace with NfFa equivalents
- Change: whisper or else fallback ok
- Change: whisper_or_else fallback err
- Rename: to whisper_or_else
- Update: makefile

## [1.2.1] - 2023-12-22

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "murmur"
version = "1.2.1"
version = "2.0.0"
edition = "2021"
license = "MIT"
description = "This library provides a simple and flexible way to format colored messages with optional `NerdFonts` or `Unicode` icons."
Expand Down
2 changes: 1 addition & 1 deletion Makefile.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[env]
VERSION = "1.2.1"
VERSION = "2.0.0"

[tasks.cargo-fmt]
install_crate = "rustfmt"
Expand Down

0 comments on commit b4dfdff

Please sign in to comment.