Skip to content

Releases: tableauio/loader

v0.1.0

15 Feb 12:08
9eac2a1
Compare
Choose a tag to compare
  • export packages: treemap and pair

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

15 Feb 09:26
9eac2a1
Compare
Choose a tag to compare

What's Changed

  • fix(go): use correct struct name for getters when first char of message name not capitalized by @Kybxd in #57
  • fix(cpp): ordered map test cases by @Kybxd in #58
  • feat: support index on field of struct in mapvalue by @Kybxd in #60
  • go(index): support index by @Kybxd in #61
  • fix(cpp): memory leakage of cpp patch msg by @wenchy in #63
  • feat: support LangOptions by @Kybxd in #64
  • stats(cpp/go): add Stats to Messager wrapper by @wenchy in #65
  • feat: recursive patch by @Kybxd in #66
  • patch: support multiple patch paths or dirs by @Kybxd in #67
  • feat: add Message() method to fetch message from messager by @Kybxd in #70
  • feat(patch): add loading mode option by @Kybxd in #71
  • feat(go): use atomic.Pointer to avoid data race by @Kybxd in #72
  • feat: do not generate empty files if proto contains no message by @Kybxd in #74
  • fix: typed nil problem of xerrors.Error by @Kybxd in #76
  • feat: release new protoc plugin versions by @wenchy in #78
  • feat(go): release protoc-gen-go-tableau-loader v0.6.0 by @wenchy in #79

Full Changelog: cmd/protoc-gen-go-tableau-loader/v0.4.0...cmd/protoc-gen-go-tableau-loader/v0.6.0

protoc-gen-cpp-tableau-loader v0.7.0

15 Feb 08:23
550e0d8
Compare
Choose a tag to compare

What's Changed

  • fix(go): use correct struct name for getters when first char of message name not capitalized by @Kybxd in #57
  • fix(cpp): ordered map test cases by @Kybxd in #58
  • feat: support index on field of struct in mapvalue by @Kybxd in #60
  • go(index): support index by @Kybxd in #61
  • fix(cpp): memory leakage of cpp patch msg by @wenchy in #63
  • feat: support LangOptions by @Kybxd in #64
  • stats(cpp/go): add Stats to Messager wrapper by @wenchy in #65
  • feat: recursive patch by @Kybxd in #66
  • patch: support multiple patch paths or dirs by @Kybxd in #67
  • feat: add Message() method to fetch message from messager by @Kybxd in #70
  • feat(patch): add loading mode option by @Kybxd in #71
  • feat(go): use atomic.Pointer to avoid data race by @Kybxd in #72
  • feat: do not generate empty files if proto contains no message by @Kybxd in #74
  • fix: typed nil problem of xerrors.Error by @Kybxd in #76
  • feat: release new protoc plugin versions by @wenchy in #78

Full Changelog: cmd/protoc-gen-cpp-tableau-loader/v0.6.0...cmd/protoc-gen-cpp-tableau-loader/v0.7.0

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

21 Aug 03:08
bda92a5
Compare
Choose a tag to compare

What's Changed

  • feat(cpp/go): add GetLastLoadedTime() method for hub by @Kybxd in #44
  • fix(cpp/go): invalid variable names of getters by @Kybxd in #48
  • load(patch): patch sheet with different patch types by @wenchy in #53
  • chore: upgrade release workflow by @wenchy in #54
  • chore: release go v0.4.0 and cpp v0.6.0 by @wenchy in #55

❗BREAKING CHANGE

Hub Load function signature

func (h *Hub) Load(dir string, filter Filter, format format.Format, options ...load.Option) error

is now refactored to:

func (h *Hub) Load(dir string, format format.Format, options ...load.Option) error

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

func main() {
	err := hub.GetHub().Load("/your/conf/", format.JSON,
		load.Filter(func(name string) bool {
			return true
		}))
	...
}

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

protoc-gen-cpp-tableau-loader v0.6.0

21 Aug 03:11
bda92a5
Compare
Choose a tag to compare

What's Changed

  • feat(cpp/go): add GetLastLoadedTime() method for hub by @Kybxd in #44
  • fix(cpp/go): invalid variable names of getters by @Kybxd in #48
  • load(patch): patch sheet with different patch types by @wenchy in #53
  • chore: upgrade release workflow by @wenchy in #54
  • chore: release go v0.4.0 and cpp v0.6.0 by @wenchy in #55

❗BREAKING CHANGE

Hub::Load function signature

bool Hub::Load(const std::string& dir, Filter filter = nullptr, Format fmt = Format::kJSON, const LoadOptions* options = nullptr);

is now refactored to:

bool Hub::Load(const std::string& dir, Format fmt = Format::kJSON, const LoadOptions* options = nullptr);

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

int main() {
  Hub::Instance().Init();
  tableau::LoadOptions options;
  options.filter = [](const std::string& name) { return true; };
  bool ok = Hub::Instance().Load("/your/conf/", tableau::Format::kJSON, &options);
  ...
}

Full Changelog: cmd/protoc-gen-cpp-tableau-loader/v0.5.0...cmd/protoc-gen-cpp-tableau-loader/v0.6.0

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

25 Jun 12:00
1b0cd73
Compare
Choose a tag to compare

What's Changed

  • feat: add support for proto3 optional, keyword escape by @Kybxd in #13
  • feat(go): support OrderedMap accessers by @Kybxd in #23
  • fix(go): support bool key for OrderedMap accessers by @Kybxd in #25
  • feat(go): add UpperBound interface for treemap by @Kybxd in #26
  • feat(go): add disable-ordered-map option by @Kybxd in #28
  • fix: check nil for getter APIs by @wenchy in #34
  • feat(go): support custom messager by @wenchy in #35
  • Go: add new method Store to store messager to file by @wenchy in #38

New Contributors

  • @Kybxd made their first contribution in #13

Full Changelog: cmd/protoc-gen-go-tableau-loader/v0.2.3...cmd/protoc-gen-go-tableau-loader/v0.3.0

protoc-gen-cpp-tableau-loader v0.5.0

25 Jun 11:53
1b0cd73
Compare
Choose a tag to compare

What's Changed

  • feat(cpp): add interconversion functions for ext and format by @YoungerLee in #6
  • fix: use global constant std::string instead by @YoungerLee in #7
  • feat(cpp): add postprocesser by @wenchy in #10
  • feat: add support for proto3 optional, keyword escape by @Kybxd in #13
  • feat(cpp): improve OrderedMap ability by @Kybxd in #19
  • feat(loader-cpp): update log level to debug by @piratf in #20
  • feat(registry): add gen mode for better dependency management by @piratf in #18
  • fix(cpp): implement utility function Mkdir to mkdir recursively by @Kybxd in #21
  • fix: delete non-NULL global logger when set global logger by @Kybxd in #30
  • fix: make std::string const ref in cpp function param by @Kybxd in #31
  • fix: compile warnings by @Kybxd in #41

New Contributors

Full Changelog: cmd/protoc-gen-cpp-tableau-loader/v0.4.6...cmd/protoc-gen-cpp-tableau-loader/v0.5.0

cmd/protoc-gen-cpp-tableau-loader v0.4.6

18 Oct 11:07
Compare
Choose a tag to compare
  • Fix issue #3
  • Fix issue #4
  • Support LoaderOptions: ignore_unknown_fields to indicate whether to
    ignore unknown JSON fields during parsing. See commit 47bc231

cmd/protoc-gen-cpp-tableau-loader v0.4.5

cmd/protoc-gen-cpp-tableau-loader v0.4.4