Changelog
Copy MarkdownAll notable changes to this project will be documented in this file.
[0.3.0] - 2026-07-18
Added
- Added
normalize_strings/3for trimming changeset string fields and converting blank values tonil. - Added
validate_any_required/3for requiring at least one of several changeset fields. - Added configurable field and function selectors to
options_for/3for form labels and values.
Updated
- Updated Ecto to 3.14, Decimal to 3.1, ExDoc to 0.40, ex_cldr to 2.47, ex_cldr_numbers to 2.38, and ex_money to 6.1.
- Made
ex_cldr_numbersa direct dependency becausenumber_to_words/1uses it directly. - Updated decimal formatting to reuse the existing CLDR backend.
- Updated the package version and installation documentation for the 0.3.0 release.
Removed
- Removed the redundant and Decimal 3-incompatible
numberdependency and its stale lockfile entry. - Removed the obsolete Money CLDR provider configuration.
Fixed
- Disabled automatic ex_money exchange-rate service startup to avoid library startup side effects.
- Fixed the unclosed installation code block in the README.
[0.2.6] - 2025-11-19
Update
- Bump dependencies
[0.2.5] - 2025-07-23
Update
- Bump dependencies
[0.2.4] - 2025-06-24
Fixed
- Prevented
trim_whitespace/3from raisingFunctionClauseErrorwhen given non-string values.
Added
- Test cases covering
nil, integers, and booleans to validatetrim_whitespace/3behavior with non-string types.
[0.2.3] - 2025-06-05
Refactor
- trim_whitespace/3 – Trims spaces in changeset fields and adds unique_constraint + max length validation.
[0.2.2] - 2025-05-15
Added
- trim_whitespace/3 – Trims spaces in changeset fields and adds unique_constraint + max length validation.
- number_to_words/1 – Converts a number into its word form.
- trim_description/2 – Truncates a string with ellipsis.
[0.2.1] - 2025-05-15
Added
- Enhanced
format_money/3to supportDecimaland properly parse binary strings representing decimals. - Added error handling to
format_money/3for invalid or malformed binary string inputs, raisingArgumentError. - Added unit tests covering valid and invalid binary string inputs for
format_money/3.
[0.2.0] - 2025-05-14
Added
to_date/3to parse dates with an optional fallback or custom parsing logic.
[0.1.2] - 2025-05-11
Added
format_money/3to format monetary amounts usingMoney.to_string/2with optional formatting options.
[0.1.1] - 2025-05-09
Added
format_decimal/1to format decimals with commas and 2 decimal places.format_name/1andformat_name/2for flexible user name formatting.format_name_with_email/1for full name + email formatting.
[0.1.0] - 2025-05-06
Added
- Initial release with Changeset Helpers, FormHelpers, and other utility functions.