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