Releases: andeya/erpc
Releases · andeya/erpc
v4.2.0
v4.1.1
v4.1.0
v4.0.0
v3.9.0
fix bug:
- the deadlock on pulling
incompatible update:
- Config.ListenAddress -> Config.ListenPort, Config.LocalAddress -> Config.LocalIP
- Rerror.Detail -> Rerror.Reason
peer:
- support local address
log:
- print the log that reaches ERROR level to the stderr writer
session:
- add CloseNotify method to notify the connection that it gone away
config:
- add checked field
v3.8.0
router:
- Improve the logic of checking the validity of the handler
- Allow PULL and PUSH router to have the same URI
- Convert router type name to all uppercase letters
helper:
- Add
TryGo
function
log:
- Add
GetLogger
andGetLoggerLevel
functions - Add
OFF
level to default logger - Improve log and rerror string
- Change config field
PrintBody
toPrintDetail
plugin:
- Update plugin container
- Update
auth
andproxy
built-in plugin
xfer:
- Update
XferFilter
interface, addGetByName
andNewXferPipe
functions
codec:
- Update protobuf
- Add helper functions:
Marshal
Unmarshal
MarshalByName
andUnmarshalByName
contex:
- Improve handling logic for reading packet error
- Improve reply error content logic
- Change the
PullCmd
interface methodResult
toReply
fix bug:
- The listener cannot be closed, when the listener just started without a connection
- Return 400 error, when unmarshaling body failed
- Competitively reading and writing map, when shutdown
other:
- Add tps plugin example
- Optimize codes and comment
v3.7.0
peer:
- Peer.Listen -> Peer.ListenAndServe
- Add Peer.ServeListener
router:
- Update the mapping rule of struct name (func name) to URI path
- toUriPath -> ToUriPath
codec:
- string codec -> plain codec
- add form(url encode) codec
rerror:
- Add rerror.SetMessage and rerror.SetDetail
packet:
- Change seq field type: uint64 -> string
log:
- Update log format
plugin-proxy:
- Forwarding using the client's session ID and packet sequence
other optimization
v3.6.0
Update some interfaces, not forward compatible
- Remove MetaRealId
- Add WithRerror function
- EarlySession -> PreSession
- PreReadHeaderPlugin: ‘PreReadHeader(PreCtx) *Rerror’ -> ‘PreReadHeader(PreCtx) error’
- Remove BaseSession
- plugin/auth.go: remove AuthSession.Id method
- Session.ResetConn -> Session.ModifySocket
- Control -> ControlFD
- Changes in other related details
v3.5.1
v3.5.0
PullCmd interface:
- Add InputBodyCodec method
socket.Packet struct:
- Update URI featrue, change Url method to UriObject method
- Merge UnmarshalNewBody and UnmarshalBody methods into UnmarshalBody method
meta feature:
- Optimize WithAcceptBodyCodec and GetAcceptBodyCodec