Skip to content

Releases: tableauio/checker

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

21 Aug 03:20
1dca20f
Compare
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

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

25 Jun 12:09
8e7a3de
Compare
Choose a tag to compare

What's Changed

New Contributors

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

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

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

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

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

17 May 14:50
Compare
Choose a tag to compare

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

22 Feb 05:12
Compare
Choose a tag to compare

First release of protoc-gen-go-tableau-checker.