Releases: tableauio/checker
Releases · tableauio/checker
protoc-gen-go-tableau-checker v0.3.0
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
What's Changed
- load: IgnoreUnknownFields by @lyntonz in #1
- feat: return error message when load failed by @soukengo in #5
- feat: ignore load errors when loading old hub by @Kybxd in #6
- feat: add new API: CheckCompatibility by @wenchy in 815070b
- fix: support IgnoreUnknownFields option by @wenchy in 772ffd2
- feat: clear multiple error messages by @wenchy in f5044db
New Contributors
- @lyntonz made their first contribution in #1
- @soukengo made their first contribution in #5
- @Kybxd made their first contribution in #6
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
protoc-gen-go-tableau-checker v0.1.0
First release of protoc-gen-go-tableau-checker.