Skip to content

Releases: micro/go-micro

5.3.0

08 Jul 17:50
Compare
Choose a tag to compare
v5.3.0

Strip unused packages

v5.2.0

07 Jul 21:40
Compare
Choose a tag to compare
Move back cmd package to top level

5.1.0

07 Jul 20:19
Compare
Choose a tag to compare

Remove unused interfaces; events, sync, runtime
Fix all the unit tests to pass
Revert to Apache 2 license

5.0.0

04 Jun 20:43
Compare
Choose a tag to compare

V5 moves to the BSL license

4.11.0

04 Jun 13:39
f9ce51c
Compare
Choose a tag to compare

New tag as we haven't tagged since April of last year.

v4.10.2

26 Apr 00:25
31135d4
Compare
Choose a tag to compare

What's Changed

  • fix: struct field alignment by @lukaszraczylo in #2632
  • fix(config): fix file source watcher stop behavior when Stop is called by @asynxc in #2630
  • fix(config/source/cli): mergo.Map error, src and dst must be of same … by @slowrookie in #2628
  • Bump github.com/docker/docker from 20.10.7+incompatible to 20.10.24+incompatible by @dependabot in #2625

New Contributors

Full Changelog: v4.10.1...v4.10.2

4.10.1

11 Apr 09:30
d44ed32
Compare
Choose a tag to compare

Minor patch for Handle option

v4.10.0

21 Mar 07:13
Compare
Choose a tag to compare

Lot of refactoring and improved reliability and retry logic of client calls

What's Changed

New Contributors

Full Changelog: v4.9.0...v4.10.0

4.9.0

29 Sep 15:04
1db3635
Compare
Choose a tag to compare

New Features

This release allows you to set a logger per component (interface). This is, for example, useful if you want to set a logger with separate fields per component, to filter your logs e.g.

Be aware that if you want to set one logger for all components, OR a default logger for the components, you still need to manually assign your logger to logger.DefaultLogger. However, you can now overwrite the use of the default logger with options.

        import log "go-micro.dev/v4/logger"

        // This logger will be used by all services that don't have a logger set explicitly
        log.DefaultLogger = dLogger

	// Create service
	srv := micro.NewService(
		...
		// This logger will only be used by the service component, it is not passed on to other components
		micro.Logger(logger),
		micro.Broker(
			broker.NewBroker(
				broker.Logger(bLogger),
			),
		),
		micro.Registry(
			registry.NewRegistry(
				registry.Logger(rLogger),
			),
		),
	)

What's Changed

New Contributors

Full Changelog: v4.8.1...v4.9.0

4.8.1

17 Aug 08:57
Compare
Choose a tag to compare
v4.8.1

Minor bug fixes