Changelog for align-equal-1.0.1.0
Changelog
All notable changes to the align-equal project will be documented in this file.
[1.0.1.0] - 2025-04-03
Added
- Added a test suite using HSpec (
test/Spec.hs) to validate core functions (prefixLength,adjustLine,adjustText).
Changed
- Improved
adjustTextfunction:- Now returns the original text unchanged if it's empty or contains no lines with
'='. - Updated function documentation and doctests to reflect this behavior.
- Now returns the original text unchanged if it's empty or contains no lines with
Removed
- Removed an unnecessary
newTextbinding inadjustTextfor cleaner logic.
[1.0.0] - 2025-03-31
Changed:
prefixLength: Changed return type fromInttoMaybe Int. Now returnsNothingif no '=' is found, andJustthe length of the prefix before the first '=' if it exists. This is a breaking change.- Updated documentation for
prefixLengthandadjustTextto reflect the new behavior. - Bumped package version to
1.0.0to reflect a breaking change in the API.
Fixed:
- Properly handles lines without '=' in
adjustTextandprefixLength.
[0.1.1.1] - 2025-03-31
Added:
- Expanded
README.mdwith a detailed description of the tool. - Included Vim usage instructions with examples.
Miscellaneous:
- Bumped version to
0.1.1.1inalign-equal.cabal.
[0.1.1.0] - 2025-03-27
Added:
- Extracted core functions into a separate library module (
Data.Text.AlignEqual).- Refactored original
Main.hsinto executable and library components. - Added
src/Data/Text/AlignEqual.hswith core text alignment logic. - Updated
app/Main.hsto import and useData.Text.AlignEqual. - Adjusted
.cabalfile to include a new library section and dependencies.
- Refactored original
- Added Haddock documentation for
Data.Text.AlignEqual.- Documented module purpose,
prefixLength,adjustLine, andadjustTextwith descriptions, examples, and parameter annotations.
- Documented module purpose,
- Included
CHANGELOG.mdin the package documentation viaextra-doc-filesin.cabal. - Maintained compatibility with the existing executable.
[0.1.0.1] - 2025-03-10
Fixed:
- Relaxed
basedependency constraint to>=4.17 && <4.19. - Removed duplicate
extra-doc-filesentry in.cabalfile.
Added:
README.mdwith credit to Gabriella Gonzalez.- Source repository link to
hub.darcs.netin.cabalfile.
[0.1.0.0] - 2025-03-10
Initial Release:
- Basic functionality for aligning text with equal signs.
- Implemented as a standalone executable in
Main.hs. - Initial project setup with
.cabalandLICENSEfiles.
- Implemented as a standalone executable in