5.1.0
Remove unused interfaces; events, sync, runtime Fix all the unit tests to pass Revert to Apache 2 license
v4.10.2
- fix: struct field alignment by @lukaszraczylo in https://github.com/go-micro/go-micro/pull/2632
- fix(config): fix file source watcher stop behavior when Stop is called by @asynxc in https://github.com/go-micro/go-micro/pull/2630
- fix(config/source/cli): mergo.Map error, src and dst must be of same … by @slowrookie in https://github.com/go-micro/go-micro/pull/2628
- Bump github.com/docker/docker from 20.10.7+incompatible to 20.10.24+incompatible by @dependabot in https://github.com/go-micro/go-micro/pull/2625
- @lukaszraczylo made their first contribution in https://github.com/go-micro/go-micro/pull/2632
- @slowrookie made their first contribution in https://github.com/go-micro/go-micro/pull/2628
Full Changelog: https://github.com/go-micro/go-micro/compare/v4.10.1...v4.10.2
v4.10.0
Lot of refactoring and improved reliability and retry logic of client calls
- feat(CI): add linting and pretty test output by @Davincible in https://github.com/go-micro/go-micro/pull/2562
- fix: some linting issues by @Davincible in https://github.com/go-micro/go-micro/pull/2563
- fix: linting issues by @jochumdev in https://github.com/go-micro/go-micro/pull/2566
- fix: easy lint fixes to api/ by @jochumdev in https://github.com/go-micro/go-micro/pull/2567
- fix(transport/memory): Improve the memory transport, 4x speed by @jochumdev in https://github.com/go-micro/go-micro/pull/2581
- fix(registry/cache): do not watch when ttl=0 eg: some custom registry no s… by @keepstep in https://github.com/go-micro/go-micro/pull/2580
- feat: add test framework & refactor RPC server by @Davincible in https://github.com/go-micro/go-micro/pull/2579
- fix: store table initialization by @sgnrslv in https://github.com/go-micro/go-micro/pull/2584
- fix: configuration version data competition by @JellyTony in https://github.com/go-micro/go-micro/pull/2586
- fix(sec): upgrade github.com/opencontainers/runc to 1.1.2 by @645775992 in https://github.com/go-micro/go-micro/pull/2590
- fix(sec): upgrade gopkg.in/yaml.v3 to 3.0.0 by @645775992 in https://github.com/go-micro/go-micro/pull/2589
- feat(api): add extra form content type and extract endpoints from path by @leoujz in https://github.com/go-micro/go-micro/pull/2592
- Append errors use variadic arguments by @sokolovstas in https://github.com/go-micro/go-micro/pull/2606
- Bump golang.org/x/crypto from 0.0.0-20210513164829-c07d793c2f9a to 0.1.0 by @dependabot in https://github.com/go-micro/go-micro/pull/2619
- fix(api): add WithRegistry option for api by @AWaterColorPen in https://github.com/go-micro/go-micro/pull/2618
- Bump golang.org/x/net from 0.0.0-20210510120150-4163338589ed to 0.7.0 by @dependabot in https://github.com/go-micro/go-micro/pull/2615
- fix(sec): upgrade github.com/containerd/containerd to 1.6.18 by @lifefloating in https://github.com/go-micro/go-micro/pull/2617
- @jochumdev made their first contribution in https://github.com/go-micro/go-micro/pull/2566
- @keepstep made their first contribution in https://github.com/go-micro/go-micro/pull/2580
- @sgnrslv made their first contribution in https://github.com/go-micro/go-micro/pull/2584
- @645775992 made their first contribution in https://github.com/go-micro/go-micro/pull/2590
- @leoujz made their first contribution in https://github.com/go-micro/go-micro/pull/2592
- @sokolovstas made their first contribution in https://github.com/go-micro/go-micro/pull/2606
- @lifefloating made their first contribution in https://github.com/go-micro/go-micro/pull/2617
Full Changelog: https://github.com/go-micro/go-micro/compare/v4.9.0...v4.10.0
4.9.0
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),
),
),
)
- fix: prevent returning invalid empty strings for memory store list by @dbereza-machinify in https://github.com/go-micro/go-micro/pull/2553
- feat(config): add withFS option to file source by @asynxc in https://github.com/go-micro/go-micro/pull/2557
- docs: update README shields by @Davincible in https://github.com/go-micro/go-micro/pull/2558
- feat(logger): add logger option to all micro components (override DefaultLogger) closes #2556 by @asynxc in https://github.com/go-micro/go-micro/pull/2559
- @asynxc made their first contribution in https://github.com/go-micro/go-micro/pull/2557
Full Changelog: https://github.com/go-micro/go-micro/compare/v4.8.1...v4.9.0