Skip to content

Releases: italia/publiccode-parser-go

v5.3.1

27 Mar 21:40

Choose a tag to compare

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

Full Changelog: v5.3.0...v5.3.1

v5.3.0

20 Mar 19:30
17371fc

Choose a tag to compare

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

  • feat: expose --timeout flag in CLI by @bfabio in #316

  • Prepare groundwork for publiccode.yml v1 parsing and support by @bfabio in #293

  • Misc ci improvements by @bfabio in #307

  • 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: misc optimization fixes by @bfabio in #322

  • 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

29 Nov 10:45
7c70900

Choose a tag to compare

What's Changed

  • fix: DisableNetwork and DisableExternalChecks logic by @bfabio in #289
  • chore: update it/ipa_codes.txt by @github-actions[bot] in #287

Full Changelog: v5.2.2...v5.2.3

v5.2.2

21 Nov 08:56
578c91b

Choose a tag to compare

What's Changed

  • fix: allow GitHub repos with trailing slashes in url by @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

21 Oct 17:18
3049c53

Choose a tag to compare

What's Changed

  • fix: make ParseStream() return the struct, not the pointer by @bfabio in #274

Full Changelog: v5.2.0...v5.2.1

v5.2.0

21 Oct 10:15
2db998f

Choose a tag to compare

What's Changed

Full Changelog: v5.1.1...v5.2.0

v5.1.1

17 Oct 09:51
9635c8b

Choose a tag to compare

What's Changed

  • fix: switch name and uri in Organisation checks by @bfabio in #271

Full Changelog: v5.1.0...v5.1.1

v5.1.0

16 Oct 12:41
2a6bf0e

Choose a tag to compare

What's Changed

  • feat: add deprecation warning for legal.repoOwner by @bfabio in #268
  • feat: add deprecation warning for it.riuso.codiceIPA by @bfabio in #269

Full Changelog: v5.0.0...v5.1.0

v5.0.0

16 Oct 09:23
1197ee8

Choose a tag to compare

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 other by @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

v4.3.7

10 Sep 06:39
a4590c3

Choose a tag to compare

What's Changed

  • fix: always set currentBaseURL and don't do checks on WASM by @bfabio in #248

Full Changelog: v4.3.6...v4.3.7