Releases: micro/go-micro
Releases · micro/go-micro
v5.4.0
5.3.0
v5.2.0
5.1.0
5.0.0
4.11.0
v4.10.2
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
- @lukaszraczylo made their first contribution in #2632
- @slowrookie made their first contribution in #2628
Full Changelog: v4.10.1...v4.10.2
4.10.1
v4.10.0
Lot of refactoring and improved reliability and retry logic of client calls
What's Changed
- feat(CI): add linting and pretty test output by @Davincible in #2562
- fix: some linting issues by @Davincible in #2563
- fix: linting issues by @jochumdev in #2566
- fix: easy lint fixes to api/ by @jochumdev in #2567
- fix(transport/memory): Improve the memory transport, 4x speed by @jochumdev in #2581
- fix(registry/cache): do not watch when ttl=0 eg: some custom registry no s… by @keepstep in #2580
- feat: add test framework & refactor RPC server by @Davincible in #2579
- fix: store table initialization by @sgnrslv in #2584
- fix: configuration version data competition by @JellyTony in #2586
- fix(sec): upgrade github.com/opencontainers/runc to 1.1.2 by @645775992 in #2590
- fix(sec): upgrade gopkg.in/yaml.v3 to 3.0.0 by @645775992 in #2589
- feat(api): add extra form content type and extract endpoints from path by @leoujz in #2592
- Append errors use variadic arguments by @sokolovstas in #2606
- Bump golang.org/x/crypto from 0.0.0-20210513164829-c07d793c2f9a to 0.1.0 by @dependabot in #2619
- fix(api): add WithRegistry option for api by @AWaterColorPen in #2618
- Bump golang.org/x/net from 0.0.0-20210510120150-4163338589ed to 0.7.0 by @dependabot in #2615
- fix(sec): upgrade github.com/containerd/containerd to 1.6.18 by @lifefloating in #2617
New Contributors
- @jochumdev made their first contribution in #2566
- @keepstep made their first contribution in #2580
- @sgnrslv made their first contribution in #2584
- @645775992 made their first contribution in #2590
- @leoujz made their first contribution in #2592
- @sokolovstas made their first contribution in #2606
- @lifefloating made their first contribution in #2617
Full Changelog: v4.9.0...v4.10.0
4.9.0
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
- fix: prevent returning invalid empty strings for memory store list by @dbereza-machinify in #2553
- feat(config): add withFS option to file source by @asynxc in #2557
- docs: update README shields by @Davincible in #2558
- feat(logger): add logger option to all micro components (override DefaultLogger) closes #2556 by @asynxc in #2559
New Contributors
Full Changelog: v4.8.1...v4.9.0