Skip to content

Releases: noelhorvath/nz

v0.4.0-beta.2

05 May 13:29
baa9a2c
Compare
Choose a tag to compare
v0.4.0-beta.2 Pre-release
Pre-release

Changed

  • Use new crates.io badge and show crate version

Fixed

  • Correct doc.rs badge version to latest beta
  • Link of generic-nonzero in README.md

v0.4.0-beta.1

03 May 12:02
ed58b4b
Compare
Choose a tag to compare
v0.4.0-beta.1 Pre-release
Pre-release

Fixed

  • Use pre-release crate version in create.io and doc.rs badges
  • Use 0.4.0-beta branch in CI badge

v0.4.0-beta.0

03 May 11:13
112a3af
Compare
Choose a tag to compare
v0.4.0-beta.0 Pre-release
Pre-release

Added

  • New internal gen_nz_macro macro
  • Disclaimer section to lib.rs and README.MD
  • Specify formatting rules in rustfmt.toml

Changed

  • Call gen_nz_macro in gen_nz_macros
  • Update create description
  • Update documentation in README.md and lib.rs
  • Update generated macro doc
  • Update internal macro syntax
  • Update toolchain channel to nigthly from 1.56.0 in rust-toolchain.toml
  • Update Check workflow
  • Use panic! instead of static assertion
  • Use stabilized generic NonZero

Breaking changes

  • Use inline constant expression instead of temporary inner constants

Removed

  • Compilation errors section from genreated doc
  • Limitations section from README.md and create-level doc
  • Limitation related example from generated doc
  • MSRV in beta version
  • ZeroError type

v0.3.5

03 May 11:55
e6eb8e4
Compare
Choose a tag to compare

Fixed

  • Use crate version in create.io and doc.rs badges
  • Use main branch in CI badge

v0.3.4

01 May 20:11
456a2d9
Compare
Choose a tag to compare

Added

  • New deploy workflow

Changed

  • Add new line after import in Usage example code
  • Capitalize link names under <!-- Links --> in CHANGELOG.md
  • Capitalize first latter of each list item in CHANGELOG.md
  • Rename rust.yml to check.yml in `.github/workflows
  • Update and improve Check workflow
  • Update links to versions in CHANGELOG.md

Fixed

  • Use 1.56.0 version of rust API docs instead of stable
  • Deploy and check workflows

v0.3.3

01 May 19:25
856def2
Compare
Choose a tag to compare

Changed

  • Use -> instead of => in comment when representing an arrow
  • Remove unnecessary - after NonZero in crate documentation

Fixed

  • Zlib license link under Licenses section
  • Grammar errors in changelog.md

Removed

  • let nz = nz::i8!(27); from the first macro example

v0.3.2

01 May 19:25
1dc8a41
Compare
Choose a tag to compare

Changed

  • Reorder subsections in 0.3.1 (changelog.md)
  • Prefix fully-qualified NonZero paths with ::
  • Correct/improve comments
  • Crate-level documentation
    • Rewrite Limitations section
    • Sync README.md with crate-level doc in lib.rs
    • Improve example code in Usage
    • Update Features section
    • Rename Non-Zero macros section to Macros

Fixed

  • List under Compilation errors in generated macro documentation

Removed

  • Unnecessary link after [core::num] in lib.rs

v0.3.1

01 May 19:25
Compare
Choose a tag to compare

Changed

  • Recategorize [0.2.0] - increase MSRV from 1.47.0 to 1.56.0 as non-breaking change
    in changelog.md
  • Add documentation generation to gen_non_zero_macros

Removed

  • publish-crate workflow
  • Non-generated documentation for each generated macro

v0.3.0

01 May 19:25
6218e0c
Compare
Choose a tag to compare

Added

  • Configure rust toolchain in rust-toolchain.toml
  • publish-crate workflow for publishing crate
  • Changelog section with link to changelog.md
  • Add dummy example for ZeroIsInvalidForNonZero never type

Changed

  • Rename Basic usage section to Usage in both README.md and lib.rs
  • Remove trailing . from crate description
  • Update rust workflow
  • Update old macro const name to new in docs and comments
  • Put all types between backticks in NonZero macros section in lib.rs

Breaking changes

  • Rename inner macro const to comply with non-upper-case-globals lint

Fixed

  • Correct repository link for github badge
  • Correct link to rust workflow for rust-ci badge
  • license badge in README.md
  • Comply with all doc lints
  • Comply with non-upper-case-globals warning

v0.2.2

01 May 19:25
6a7e28d
Compare
Choose a tag to compare
0.2.2