Skip to content

Commit 03da687

Browse files
committed
docs: add changelog entry for v2.1.2
1 parent 3e1b63d commit 03da687

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.1.2] - 2025-07-30
11+
12+
### Fixed
13+
14+
- Preserve trailing delimiters instead of moving to beginning. This resolves an issue where trailing delimiters (like commas at the end of lists) were incorrectly repositioned to the start of sorted content.
15+
16+
### Added
17+
18+
- Enhanced release script with automation support. The release script now supports CI environments, dry-run mode, and improved validation for streamlined releases.
19+
20+
### Changed
21+
22+
- Enhanced error handling and validation across core modules for improved stability.
23+
- Updated test infrastructure to use minimal_init.lua for better test isolation and reliability.
24+
1025
## [2.1.1] - 2025-07-12
1126

1227
### Fixed
28+
1329
- Corrected natural sorting priority for punctuation characters. Shell aliases like `@l` now properly sort before text identifiers like `A` when using natural sorting. This resolves an inconsistency where punctuation-prefixed identifiers were appearing after text identifiers instead of before them.
1430

1531
## [2.1.0] - 2025-07-11
1632

1733
### Added
34+
1835
- Enhanced natural sorting with punctuation priority. Identifiers with punctuation (like `A=`, `func()`) now sort before identifiers with numeric suffixes (like `A1`, `func2`) when using natural sorting (`z` flag). This makes sorting more intuitive for shell aliases, CSS selectors, function definitions, and other programming content. Resolves #11.
1936

2037
## [2.0.1] - 2025-07-10
2138

2239
### Fixed
40+
2341
- Multi-line character motions with text objects (e.g., `goi{`) now preserve whitespace correctly by treating "perfect lines" selections as line motions (#10).
2442

2543
## [2.0.0] - 2025-07-09
2644

2745
### Added
46+
2847
- Visual block sorting support.
2948
- Natural sorting functionality (alphanumeric sorting).
3049
- Motion operations with natural sorting enabled by default.
@@ -34,6 +53,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3453
- Support for keeping leading and trailing delimiters.
3554

3655
### Changed
56+
3757
- **BREAKING**: Refactored core sorting functionality and configuration.
3858
- **BREAKING**: Enhanced line sorting with new internal API.
3959
- Removed unused functions and eliminated redundancy.
@@ -47,13 +67,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4767
- Improved README readability.
4868

4969
### Fixed
70+
5071
- Visual line selection sorting issues.
5172
- Column boundary handling when setting text (retry if col end out of bounds).
5273
- Restored functions required by tests.
5374

5475
## [1.0.0] - 2021-12-14
5576

5677
### Added
78+
5779
- Initial release of sort.nvim.
5880
- Core sorting functionality for Neovim.
5981
- Line sorting support with visual selection.

0 commit comments

Comments
 (0)