Skip to content

Releases: tableauio/checker

v0.3.1

27 Aug 08:53
0001cd3

Choose a tag to compare

What's Changed

  • release: upgrade go to 1.23.x by @wenchy in #19
  • fix(compatibility): use new API ParseMessagerOptionsByName of upstream tableau/load by @wenchy in #20
  • release: checker plugin v0.6.2 by @wenchy in #21

Full Changelog: v0.3.0...v0.3.1

protoc-gen-go-tableau-checker v0.6.2

27 Aug 08:53
0001cd3

Choose a tag to compare

What's Changed

  • fix(compatibility): use new API ParseMessagerOptionsByName of upstream tableau/load by @wenchy in #20
  • release: checker plugin v0.6.2 by @wenchy in #21

Full Changelog: cmd/protoc-gen-go-tableau-checker/v0.6.1...cmd/protoc-gen-go-tableau-checker/v0.6.2

v0.3.0

18 Aug 03:14
651a181

Choose a tag to compare

What's Changed

  • load: use load.MessagerOptions param for Messager.Load by @wenchy in #17
  • release: v0.6.0 by @wenchy in #18

Full Changelog: v0.2.0...v0.3.0

protoc-gen-go-tableau-checker v0.6.1

18 Aug 03:22
dc6f849

Choose a tag to compare

protoc-gen-go-tableau-checker v0.6.0

18 Aug 03:14
651a181

Choose a tag to compare

What's Changed

  • load: use load.MessagerOptions param for Messager.Load by @wenchy in #17
  • release: v0.6.0 by @wenchy in #18

Full Changelog: cmd/protoc-gen-go-tableau-checker/v0.5.0...cmd/protoc-gen-go-tableau-checker/v0.6.0

v0.2.0

15 Apr 04:11

Choose a tag to compare

What's Changed

  • load(BREAKING!): adjust generated hub.check.go due to changes in tableauio/loader by @Kybxd in #15
  • feat: move Messager() method to loader by @Kybxd in #16

Full Changelog: v0.1.0...v0.2.0

protoc-gen-go-tableau-checker v0.5.0

15 Apr 04:11

Choose a tag to compare

What's Changed

  • load(BREAKING!): adjust generated hub.check.go due to changes in tableauio/loader by @Kybxd in #15
  • feat: move Messager() method to loader by @Kybxd in #16

Full Changelog: cmd/protoc-gen-go-tableau-checker/v0.4.0...cmd/protoc-gen-go-tableau-checker/v0.5.0

v0.1.0

26 Feb 13:10
81903b6

Choose a tag to compare

Release the first main module version.

protoc-gen-go-tableau-checker v0.4.0

21 Feb 09:22
81903b6

Choose a tag to compare

What's Changed

  • feat: support custom path for checker by @Kybxd in #11
  • feat: support pb3 optional by @Kybxd in #12
  • feat: do not generate empty files if proto contains no message by @Kybxd in #13

Full Changelog: cmd/protoc-gen-go-tableau-checker/v0.3.0...cmd/protoc-gen-go-tableau-checker/v0.4.0

protoc-gen-go-tableau-checker v0.3.0

21 Aug 03:20
1dca20f

Choose a tag to compare

What's Changed

  • feat!: move positional argument filter to options by @wenchy in #8
  • feat: upgrade release workflow by @wenchy in #9

❗BREAKING CHANGE

Hub Check and CheckCompatibility function signatures

func (h *Hub) Check(dir string, filter tableau.Filter, format format.Format, options ...Option) error
func (h *Hub) CheckCompatibility(dir, newDir string, filter tableau.Filter, format format.Format, options ...Option) error {

are now refactored to:

func (h *Hub) Check(dir string, format format.Format, options ...Option) error
func (h *Hub) CheckCompatibility(dir, newDir string, format format.Format, options ...Option) error {

The filter argument is moved to Option, now you can provide filter like this:

func main() {
	err := check.NewHub().Check("/your/conf/", format.JSON,
		check.Filter(func(name string) bool {
			return true
		}))
        err2 := check.NewHub().CheckCompatibility("/your/conf/", "/your/conf2/", format.JSON,
		check.Filter(func(name string) bool {
			return true
		}))
	...
}

Full Changelog: cmd/protoc-gen-go-tableau-checker/v0.2.0...cmd/protoc-gen-go-tableau-checker/v0.3.0