Skip to content

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

  • iter: add the iter module: chunk, min_max and first_duplicate
  • validate: add the validate module: is_valid_email, is_uuid and is_slug
  • agents: list the iter and validate modules in llms.txt
  • add the Scorecard badge and the iter/validate modules to the README
  • add # Arguments and # Returns to every helper’s rustdoc
  • iter: exclude two equivalent mutants in min_max
  • duration: add the duration module: parse, format and ParseDurationError
  • map: add the map module: pick, omit and map_values
  • agents: list the duration and map modules in llms.txt
  • map: bind the expected value so the test compiles on Rust 1.85
  • array: add key_by, duplicates and interleave
  • number: add the number module: lerp, round_to, mean, median, percentage, gcd, lcm
  • string: add title_case, constant_case, squish, indent and unescape_html
  • agents: list the new helpers in llms.txt
  • add the Codecov badge to the README
  • rewrite the README and point the homepage to helpers4.dev/rust
  • add the pre-1.0 notice to the README and fix its install section
  • number: exclude the mutants that only hang
  • number: cover lcm(0, 0)
  • add the OpenSSF Scorecard workflow
  • notify the website when a release is published
  • cache: add ExpiringMap
  • http: add bearer_token
  • net: add is_valid_hostname and HostnameError
  • net: add is_public_ip
  • time: add unix_now_millis
  • time: add unix_now and ClockError
  • net: reject hostnames whose last label is a number
  • ignore the VS Code local history
  • hex: name the hex parameter hex instead of s
  • net: make the CIDR prefix precondition explicit
  • net: spell out what is_public_ip guarantees and what it cannot know
  • document the ExpiringMap capacity bound and the unix_now_millis saturation
  • cache: check that a non-empty map is not empty
  • benchmark is_public_ip and ExpiringMap
  • exclude the equivalent ExpiringMap sweep-guard mutant
  • publish with trusted publishing only
  • array: add cartesian_product
  • array: add group_by
  • array: add count_by
  • array: add equals_unordered
  • array: add intersects
  • array: add symmetric_difference
  • array: add intersection
  • array: add difference
  • array: add unique_by
  • array: add unique
  • env: add remove
  • env: add set and InvalidKeyError
  • env: add get
  • env: add parse
  • hex: add decode_array
  • hex: add decode_to_slice
  • hex: add decode and DecodeError
  • hex: add encode_upper
  • hex: add encode
  • string: add escape_html
  • string: add dedent
  • string: add truncate
  • string: add slugify
  • string: add kebab_case
  • string: add snake_case
  • string: add pascal_case
  • string: add camel_case
  • scaffold crate with string::capitalize
  • drop the redundant helpers4 scope
  • string: colocate tests, property tests and benches with each helper
  • adopt a strict lint table
  • agents: describe the CI checks and the reusable workflows
  • agents: note that coverage counts each generic instantiation
  • release: accept an org-level token and make the environment optional
  • string: drop the Since marker in favor of a computed api-since.json
  • string: list the string helpers in llms.txt
  • array: benchmark unique, difference, group_by and equals_unordered
  • hex: benchmark encode and decode
  • string: benchmark the case, slug, escape and dedent helpers
  • anchor the published file patterns to the crate root
  • publish only sources, benchmarks and entry-point docs
  • simplify the release inputs
  • drop the website notification from the release workflow
  • add the crates.io release workflow
  • confirm suspected benchmark regressions before reporting them
  • say so when a diff generates no mutant
  • raise the benchmark noise threshold to avoid false regressions
  • add benchmark and mutation-testing jobs
  • configure cargo-mutants
  • run the minimal-versions job on nightly despite rust-toolchain.toml
  • split CI into reusable jobs with PR and main validation