Releases: italia/publiccode-parser-go
v5.3.1
What's Changed
- chore(ci): update golangci-lint to v2.11.3 and action to v9.2.0 by @bfabio in #332
- refactor: migrate to github.com/goccy/go-yaml by @bfabio in #331
- fix: resolve field positions for keys with non numeric bracket content by @bfabio in #333
- test: add YAML 1.2 tests for bool aliases by @bfabio in #334
- fix: add nil guards for GetToken() in findKeyPos and findKeyAtLine by @creed-bratton in #338
- test: add comprehensive test suite for coverage by @bfabio in #340
- fix: case-insensitive URN namespace check in isOrganisationURI by @creed-bratton in #339
- ci: enable godox, noctx, errname, ireturn linters by @creed-bratton in #345
- test: enable POSIX language tag test for v1 description keys by @creed-bratton in #344
- fix: case-insensitive URN namespace check in isOrganisationURI by @creed-bratton in #343
- ci: enable err113, gosec, godot, perfsprint, lll linters by @creed-bratton in #346
- ci: enable errorlint, forcetypeassert, goconst, gocritic linters by @creed-bratton in #347
- chore(ci): re-enable codecov by @bfabio in #350
- fix: remove minimum PNG logo width check by @bfabio in #349
- Fix timeout by @bfabio in #351
New Contributors
- @creed-bratton made their first contribution in #338
Full Changelog: v5.3.0...v5.3.1
v5.3.0
What's Changed
-
feat: enforce strict BCP47 language tag validation by @bfabio in #280
-
feat: add configurable HTTP timeout to ParserConfig by @bfabio in #314
-
Prepare groundwork for publiccode.yml v1 parsing and support by @bfabio in #293
-
fix: pass baseURL explicitly instead of storing it on Parser by @bfabio in #312
-
fix: close file handles after os.Open in Parse and validLogo by @bfabio in #319
-
fix: handle url.Parse error in isHostInDomain by @bfabio in #324
-
fix: replace log.Fatalf with panic in registrationFunc by @bfabio in #323
-
perf: compile regexps once at package level by @bfabio in #320
-
perf: parse oEmbed providers once at init instead of per call by @bfabio in #318
-
refactor: remove redundant boolean result from isOEmbedURL() by @bfabio in #294
-
refactor: build iPA codes lookup map at init instead of scanning per … by @bfabio in #317
-
refactor: initialize validator and translator once at package level by @bfabio in #313
-
refactor: replace go-oembed and shrink oEmbed JSON by @bfabio in #325
-
test: update remote fixture expectation after fix #47 merged by @bfabio in #326
Full Changelog: v5.2.3...v5.3.0
v5.2.3
v5.2.2
What's Changed
- fix: allow GitHub repos with trailing slashes in
urlby @bfabio in #283 - refactor: add newValidationErrorf() function by @bfabio in #285
- chore: bump go version to 1.24 by @bfabio in #286
- chore(deps): bump golang.org/x/crypto from 0.36.0 to 0.45.0 by @dependabot[bot] in #284
Full Changelog: v5.2.1...v5.2.2
v5.2.1
v5.2.0
v5.1.1
v5.1.0
v5.0.0
What's Changed
- feat: support publiccode.yml v0.5.0 by @bfabio in #265
- feat: add fundedBy key by @bfabio in #258
- feat: make categories optional and add
otherby @bfabio in #259 - feat: add organisation by @bfabio in #260
- feat!: deprecate it.conforme by @bfabio in #261
- feat!: use pure ISO 3166-1 alpha-2 and deprecate lowercase by @bfabio in #262
- feat: add advice on what to do when finding deprecated fields by @bfabio in #251
- feat: add ParserConfig.DisableExternalChecks by @bfabio in #249
- feat!: make PublicCodeV0.Categories a pointer by @bfabio in #264
- feat!: turn optional fields into pointers by @bfabio in #267
Full Changelog: v4.3.7...v5.0.0