Releases: micro/go-micro
Releases · micro/go-micro
2.7.0
- Fix the rpc handler json rpc body parsing
- Use caddyserver/certmagic instead of mholt
- Add HasRole to Account
- Add jwt refresh token generation
- Fix rpc stream close locking race
- Add auth namespace env var
- Strip the router penalty code
- Add file upload util
- Fix killing processes in runtime
- Pass namespace to runtime commands
- Generate account on start
- Check errors in cockroachdb
2.6.0
- Fix discord bot authentication header
- Improve api rpc regexp matching
- Change auth account access via context
- Create a jwt implementation of auth
- Fix grpc content-type encoding bug
- Consolidate proxy/network env var logic
- Change secrets interface naming
- Log file path in the logger
- Change location of network resolver
- Add Store to service options
- Fix default runtime log parsing
- Add namespace checks to k8s runtime
- Add proper git checkout in local runtime
- Add database/table options for store
- Add pki implementation
- Import qson
2.5.0
- auth interface improvements
- api rpc handler fixes
- api registry router now able to do pattern based api.Endpoint matching
- store improvements and breaking change (Rename store Namespace / Prefix to Database / Table)
- api rpc handler supports websocket bidirectional streaming
- default broker changed from embed nats to http
- add disk backed embed local store
- minimize memory (to get better results use Address option that have IP specified)
- regenerate all internal proto based stuff with grpc enabled
2.4.0
New Features:
- auth package can now provide service level auth
Improvements:
- fix logger package to read level from environment
- many store fixes
- add logging to api errors
- improved api gateway rpc handler
- provided api static router package
- improvements in auth package
- limit http body reader to 100Mb in api handlers
- api rpc handler supports reading url path and values parameters and pass down to rpc services
- grpc client pool fixes
2.3.0
- logger: improvements and fixes
- broker/memory: add codec support
- broker: add ErrorHandler support to catch unprocessed errors in brokers
- store/cloudflare: improvements and cache support
- server/grpc: fixes
- client/grpc: fixes
- ipv6 fixes
- registry/mdns: ipv6 fixes
- tunnel: reduce memory usage and allocations
- api/rpc: add websocket support
- store: rewrite interface
- config/source/service: fix base64 issue
2.2.0
v2.1.2
v2.1.2 release
Features:
- server/grpc: add MaxConn option to limit max inflight requests
- reduce allocations
- refactor auth: add token and store implementations
Bugfixes:
- fix router panic
- bring back util/log for compatibility, but that uses internally logger interface
v2.1.1
2.1.0
v2.1.0 release
New features:
- add new logger interface ( https://pkg.go.dev/github.com/micro/go-micro/v2/logger?tab=doc )
- provide zerolog, zap and logrus backends in go-plugins repo for logger
- add new debug/trace interface ( https://pkg.go.dev/github.com/micro/go-micro/v2/debug/trace?tab=doc )
- add new auth interface ( https://pkg.go.dev/github.com/micro/go-micro/v2/auth?tab=doc )
- add ability to return custom protobuf error from grpc server to grpc client
Fixes:
- drop dependencies to go-micro 1.18
- fix exponential backoff func in retries
- fix race condition in grpc server
- fix embed nats broker
- update micro/cli package and cli parsing
- fix grpc client panic on invalid message
- various fixes and cleanup
2.0.0
v2 release
Major breaking changes
- grpc client/server by default
- embedded nats broker by defaut
- move to urfave/cli v2 fork
Changes
- Add grpc streaming connection pool support
- Support true bidirectional streaming in rpc client
- Add tracer interface for in-built tracing
- Return error for new config initialisation
- Add config service implementation
- Add kubernetes log implementation
- Add os log streaming implementation
- Add debug profiling using go profiler
- Add Debug.Log/Trace endpoints
- Support lower-case metadata key reading
- Strip down router interface
- Move network to be gossip based rather than broadcast
- Restructure runtime package
- Change the store interface to be simpler taking one arg only
- Strip down the tunnel to be simpler
- Add built in wrapper for stats requests/error tracking
- more changes...
See below: