| 1 |
# Change log |
| 2 |
|
| 3 |
## v2.6.5 - 2026-09-16 |
| 4 |
|
| 5 |
- Target Go 1.25 |
| 6 |
- Bump x/mod to 0.40 |
| 7 |
- Bump ini.v1 to 1.67.3 |
| 8 |
|
| 9 |
## v2.6.4 - 2025-12-16 |
| 10 |
|
| 11 |
- Target Go 1.24 |
| 12 |
- Bump x/mod to 0.31 |
| 13 |
- Typos |
| 14 |
|
| 15 |
## v2.6.3 - 2025-03-12 |
| 16 |
|
| 17 |
- Target Go 1.22 |
| 18 |
- Bump x/mod to 0.23 |
| 19 |
- Bump google/go-cmp to 0.7.0 |
| 20 |
|
| 21 |
## v2.6.2 - 2024-04-02 |
| 22 |
|
| 23 |
- Fix paths on Windows |
| 24 |
- Bump golangci-lint to 1.56 |
| 25 |
- Bump x/mod to 0.16.0 |
| 26 |
|
| 27 |
## v2.6.1 - 2024-01-29 |
| 28 |
|
| 29 |
- Fix utf-8-bom contains a dash |
| 30 |
- Bump google/go-cmp to 0.6.0 |
| 31 |
- Bump x/mod to 0.14.0 |
| 32 |
|
| 33 |
## v2.6.0 - 2023-09-27 |
| 34 |
|
| 35 |
- Fix path matching on Windows. The spec says that: |
| 36 |
|
| 37 |
> Backslashes (`\\`) are not allowed as path separators (even on Windows). |
| 38 |
- Replace go-multierror with Go 1.20 errors.Join |
| 39 |
|
| 40 |
## v2.5.2 - 2023-04-19 |
| 41 |
|
| 42 |
- Bump golang.org/x/mod from 0.5.1 to 0.10.0 |
| 43 |
|
| 44 |
## v2.5.1 - 2022-10-02 |
| 45 |
|
| 46 |
- Fix typo in new method |
| 47 |
|
| 48 |
## v2.5.0 - 2022-10-01 |
| 49 |
|
| 50 |
- Feature add a graceful parser that reports errors in the .editorconfig file as warnings |
| 51 |
- Bump Go version to 1.18 in the go.mod |
| 52 |
- Bump go.pkg.in/ini.v1 to 1.67.0 |
| 53 |
- Bump google/go-cmp to 0.5.9 |
| 54 |
|
| 55 |
## v2.4.5 - 2022-06-18 |
| 56 |
|
| 57 |
- Bump Go version to 1.17 in the go.mod |
| 58 |
- Upgrade go.pkg.in/ini.v1 from 1.66.4 to 1.66.6 |
| 59 |
- Upgrade github.com/google/go-cmp from 0.5.7 to 0.5.8 |
| 60 |
|
| 61 |
## v2.4.4 - 2022-03-17 |
| 62 |
|
| 63 |
- Upgrade gopkg.in/ini.v1 from 1.53 to 1.66.4; |
| 64 |
- Upgrade github.com/google/go-cmp from 0.5.6 to 0.5.7; |
| 65 |
- Upgrade golang.org/x/mod from 0.5.0 to 0.5.1. |
| 66 |
|
| 67 |
## v2.4.3 - 2021-09-21 |
| 68 |
|
| 69 |
- Upgrade go-cmp v0.5.6 |
| 70 |
([#110](https://github.com/editorconfig/editorconfig-core-go/pull/110)); |
| 71 |
- Upgrade go-ini v1.63.2; |
| 72 |
- Upgrade x/mod v0.5.0 |
| 73 |
([#111](https://github.com/editorconfig/editorconfig-core-go/pull/111)); |
| 74 |
- Fix problems spotted by golangci-lint |
| 75 |
([#115](https://github.com/editorconfig/editorconfig-core-go/pull/115)); |
| 76 |
|
| 77 |
## v2.4.2 - 2021-03-21 |
| 78 |
|
| 79 |
- Upgrade google/go-cmp v0.5.5 |
| 80 |
([#105](https://github.com/editorconfig/editorconfig-core-go/pull/105)); |
| 81 |
- Upgrade x/mod v0.4.2 |
| 82 |
([#106](https://github.com/editorconfig/editorconfig-core-go/pull/106)). |
| 83 |
|
| 84 |
## v2.4.1 - 2021-02-25 |
| 85 |
|
| 86 |
- Fix for Go 1.16 os.IsNotExist wrapping |
| 87 |
([#102](https://github.com/editorconfig/editorconfig-core-go/pull/102)). |
| 88 |
|
| 89 |
## v2.4.0 - 2021-02-22 |
| 90 |
|
| 91 |
- Fix new core-test |
| 92 |
([#100](https://github.com/editorconfig/editorconfig-core-go/pull/100)); |
| 93 |
- Upgrade github CI versions |
| 94 |
([#99](https://github.com/editorconfig/editorconfig-core-go/pull/99)); |
| 95 |
- Upgrade x/mod v0.4.1 |
| 96 |
([#98](https://github.com/editorconfig/editorconfig-core-go/pull/98)); |
| 97 |
- Fix goreleaser deprecations |
| 98 |
([#97](https://github.com/editorconfig/editorconfig-core-go/pull/97)). |
| 99 |
|
| 100 |
## v2.3.10 - 2021-02-05 |
| 101 |
|
| 102 |
- Upgrade core-test |
| 103 |
([#93](https://github.com/editorconfig/editorconfig-core-go/pull/93)); |
| 104 |
- Upgrade x/mod v0.4.0 |
| 105 |
([#94](https://github.com/editorconfig/editorconfig-core-go/pull/94)); |
| 106 |
- Upgrade golangci-lint to v1.34 |
| 107 |
([#95](https://github.com/editorconfig/editorconfig-core-go/pull/95)). |
| 108 |
|
| 109 |
## v2.3.9 - 2020-11-28 |
| 110 |
|
| 111 |
- Fix path separator on Windows |
| 112 |
([#69](https://github.com/editorconfig/editorconfig-core-go/pull/69)); |
| 113 |
- Upgrade go-cmp v0.5.4 |
| 114 |
([#91](https://github.com/editorconfig/editorconfig-core-go/pull/91)). |
| 115 |
|
| 116 |
## v2.3.8 - 2020-10-17 |
| 117 |
|
| 118 |
- Feat more tests |
| 119 |
([#83](https://github.com/editorconfig/editorconfig-core-go/pull/83)); |
| 120 |
- Upgrade go-ini v1.61.0 |
| 121 |
([#84](https://github.com/editorconfig/editorconfig-core-go/pull/84)); |
| 122 |
- Upgrade go-ini v1.62.0 |
| 123 |
([#85](https://github.com/editorconfig/editorconfig-core-go/pull/85)). |
| 124 |
|
| 125 |
## v2.3.7 - 2020-09-05 |
| 126 |
|
| 127 |
- Upgrade go-ini v1.60.2, and go-cmp v0.5.2 |
| 128 |
([#81](https://github.com/editorconfig/editorconfig-core-go/pull/81)). |
| 129 |
|
| 130 |
## v2.3.6 - 2020-08-25 |
| 131 |
|
| 132 |
- Use goerr113 linter |
| 133 |
([#77](https://github.com/editorconfig/editorconfig-core-go/pull/77)); |
| 134 |
- Upgrade go-ini v1.60.0 |
| 135 |
([#78](https://github.com/editorconfig/editorconfig-core-go/pull/78)); |
| 136 |
- Upgrade go-ini v1.60.1 |
| 137 |
([#79](https://github.com/editorconfig/editorconfig-core-go/pull/79)). |
| 138 |
|
| 139 |
## v2.3.5 - 2020-08-20 |
| 140 |
|
| 141 |
- Upgrade go-cmp v0.5.1 |
| 142 |
([#73](https://github.com/editorconfig/editorconfig-core-go/pull/73)); |
| 143 |
- Replace custom GitHub Action with official GolangCI Lint |
| 144 |
([#74](https://github.com/editorconfig/editorconfig-core-go/pull/74)); |
| 145 |
- Upgrade go-ini v1.58.0 |
| 146 |
([#75](https://github.com/editorconfig/editorconfig-core-go/pull/75)). |
| 147 |
|
| 148 |
## v2.3.4 - 2020-06-22 |
| 149 |
|
| 150 |
- Wrap errors using Go 1.13 syntax |
| 151 |
([#61](https://github.com/editorconfig/editorconfig-core-go/pull/61)); |
| 152 |
- Upgrade base Docker image |
| 153 |
([#68](https://github.com/editorconfig/editorconfig-core-go/pull/68)); |
| 154 |
- Upgrade go-ini v1.57.0, go-cmp v0.5.0 |
| 155 |
([#70](https://github.com/editorconfig/editorconfig-core-go/pull/70)). |
| 156 |
|
| 157 |
## v2.3.3 - 2020-05-19 |
| 158 |
|
| 159 |
- Using goreleaser |
| 160 |
([#22](https://github.com/editorconfig/editorconfig-core-go/pull/22)); |
| 161 |
- Upgrade go-cmp, go-ini, x/mod |
| 162 |
([#60](https://github.com/editorconfig/editorconfig-core-go/pull/65)); |
| 163 |
- Update CI actions |
| 164 |
([#63](https://github.com/editorconfig/editorconfig-core-go/pull/63)); |
| 165 |
|
| 166 |
## v2.3.2 - 2020-04-21 |
| 167 |
|
| 168 |
- Upgrade go-ini v1.55.0 |
| 169 |
([#60](https://github.com/editorconfig/editorconfig-core-go/pull/60)); |
| 170 |
- Build on latest Go |
| 171 |
([#54](https://github.com/editorconfig/editorconfig-core-go/pull/54)); |
| 172 |
- Use GitHub action instead of Travis CI |
| 173 |
([#50](https://github.com/editorconfig/editorconfig-core-go/pull/50)); |
| 174 |
|
| 175 |
## v2.3.1 - 2020-03-16 |
| 176 |
|
| 177 |
- Use golang/x/mod/semver for semantic versioning checks |
| 178 |
([#55](https://github.com/editorconfig/editorconfig-core-go/pull/55)); |
| 179 |
- Enable wsl (WhiteSpace linter) |
| 180 |
([#56](https://github.com/editorconfig/editorconfig-core-go/pull/56)); |
| 181 |
- Replace testify dependency with Google's go-cmp |
| 182 |
([#57](https://github.com/editorconfig/editorconfig-core-go/pull/57)); |
| 183 |
- Upgrade go-ini to v1.54.0 |
| 184 |
([#58](https://github.com/editorconfig/editorconfig-core-go/pull/58)). |
| 185 |
|
| 186 |
## v2.3.0 - 2020-02-14 |
| 187 |
|
| 188 |
- Implement a cached `Parser` to allow getting the definition of many files |
| 189 |
at once without re-reading the `.editorconfig` or parsing the _globbing_ |
| 190 |
expression more than once. |
| 191 |
([#51](https://github.com/editorconfig/editorconfig-core-go/pull/51)); |
| 192 |
- Run golangci-lint on travis |
| 193 |
([#26](https://github.com/editorconfig/editorconfig-core-go/pull/26)). |
| 194 |
|
| 195 |
## v2.2.2 - 2020-01-19 |
| 196 |
|
| 197 |
- Bump core test to master |
| 198 |
([#42](https://github.com/editorconfig/editorconfig-core-go/pull/42)); |
| 199 |
- Bugfix error mangled when reading a file which could create a panic |
| 200 |
([#47](https://github.com/editorconfig/editorconfig-core-go/pull/47)); |
| 201 |
- Bugfix INI file generated would not show the correct value |
| 202 |
([#46](https://github.com/editorconfig/editorconfig-core-go/pull/46)). |
| 203 |
|
| 204 |
## v2.2.1 - 2019-11-10 |
| 205 |
|
| 206 |
- Implement pre 0.9.0 behavior |
| 207 |
([#39](https://github.com/editorconfig/editorconfig-core-go/pull/39)); |
| 208 |
- Fix values inheritance (regression) |
| 209 |
([#43](https://github.com/editorconfig/editorconfig-core-go/pull/43)). |
| 210 |
|
| 211 |
## v2.2.0 - 2019-10-12 |
| 212 |
|
| 213 |
- Allow parsing from an `io.Reader`, effectively deprecating `ParseBytes` |
| 214 |
by [@mvdan](https://github.com/mvdan) |
| 215 |
([#32](https://github.com/editorconfig/editorconfig-core-go/pull/32)); |
| 216 |
- Add support for the special `unset` value by [@greut](https://github.com/greut) |
| 217 |
([#19](https://github.com/editorconfig/editorconfig-core-go/pull/19)); |
| 218 |
- Skip values, properties or section that are considered too long |
| 219 |
([#35](https://github.com/editorconfig/editorconfig-core-go/pull/35)); |
| 220 |
- Clean up and documentation work by [@mstruebing](https://github.com/mstruebing/) |
| 221 |
([#23](https://github.com/editorconfig/editorconfig-core-go/pull/23), |
| 222 |
[#24](https://github.com/editorconfig/editorconfig-core-go/pull/24)). |
| 223 |
|
| 224 |
## v2.1.1 - 2019-08-18 |
| 225 |
|
| 226 |
- Fix a small path bug |
| 227 |
([#17](https://github.com/editorconfig/editorconfig-core-go/issues/17), |
| 228 |
[#18](https://github.com/editorconfig/editorconfig-core-go/pull/18)). |
| 229 |
|
| 230 |
## v2.1.0 - 2019-08-10 |
| 231 |
|
| 232 |
- This package is now *way* more compliant with the Editorconfig definition |
| 233 |
thanks to a refactor work made by [@greut](https://github.com/greut) |
| 234 |
([#15](https://github.com/editorconfig/editorconfig-core-go/pull/15)). |
| 235 |
|
| 236 |
## v2.0.0 - 2019-07-14 |
| 237 |
|
| 238 |
- This project now uses [Go Modules](https://blog.golang.org/using-go-modules) |
| 239 |
([#14](https://github.com/editorconfig/editorconfig-core-go/pull/14)); |
| 240 |
- The import path has been changed from `gopkg.in/editorconfig/editorconfig-core-go.v1` |
| 241 |
to `github.com/editorconfig/editorconfig-core-go/v2`. |