Skip to content

Commit f114fad

Browse files
committed
chore: prepare release v2.2.0
- Add natural sorting number placement fix to changelog - Update version to 2.2.0
1 parent 3ca65a7 commit f114fad

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.2.0] - 2025-08-25
11+
1012
### Added
1113

1214
- Added `ignore_case` configuration option to set default case sensitivity for all sorting operations. When enabled, all sorts are case-insensitive by default.
@@ -17,6 +19,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1719
- Enhanced error handling and validation across core modules for improved stability.
1820
- Updated test infrastructure to use minimal_init.lua for better test isolation and reliability.
1921

22+
### Fixed
23+
24+
- Corrected natural sorting algorithm that was incorrectly placing numbers after text. Removed priority system that was pushing numbers to bottom of sort order (#14).
25+
2026
## [2.1.2] - 2025-07-30
2127

2228
### Fixed
@@ -98,7 +104,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
98104
- Keybinding examples with detailed explanations.
99105
- Documentation for numerical sorting options.
100106

101-
[Unreleased]: https://github.com/sQVe/sort.nvim/compare/v2.0.1...HEAD
107+
[Unreleased]: https://github.com/sQVe/sort.nvim/compare/v2.2.0...HEAD
108+
[2.2.0]: https://github.com/sQVe/sort.nvim/compare/v2.1.2...v2.2.0
109+
[2.1.2]: https://github.com/sQVe/sort.nvim/compare/v2.1.1...v2.1.2
110+
[2.1.1]: https://github.com/sQVe/sort.nvim/compare/v2.1.0...v2.1.1
111+
[2.1.0]: https://github.com/sQVe/sort.nvim/compare/v2.0.1...v2.1.0
102112
[2.0.1]: https://github.com/sQVe/sort.nvim/compare/v2.0.0...v2.0.1
103113
[2.0.0]: https://github.com/sQVe/sort.nvim/compare/v1.0.0...v2.0.0
104114
[1.0.0]: https://github.com/sQVe/sort.nvim/releases/tag/v1.0.0

lua/sort/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ local utils = require('sort.utils')
55
local mappings = require('sort.mappings')
66

77
local M = {
8-
_VERSION = '2.1.2',
8+
_VERSION = '2.2.0',
99
_DESCRIPTION = 'Sorting plugin for Neovim',
1010
_URL = 'https://github.com/sQVe/sort.nvim',
1111
_LICENSE = 'MIT',

0 commit comments

Comments
 (0)