The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
BREAKING The dgraphql.NewPaginator
factory method's signature changed, it now expects a dgraphql.CursorDecoder
interface to decode after
and before
keys.
The old behavior can be obtain back by using the dgraphql.NewOpaqueProtoCursrorDecoder
like this:
func QueryElements() ([]*Element, error) {
...
pagignator := dgraphql.NewPaginator(nil, nil, afterCursor, beforeCursor, 0, func () proto.Message { return &cursorProto{} })
...
}
To
var elementCursorDecoder = dgraphql.NewOpaqueProtoCursorDecoder(func() proto.Message {
return &pbpkg.ElementCursorProto{}
})
func QueryElements() ([]*Element, error) {
...
pagignator := dgraphql.NewPaginator(nil, nil, afterCursor, beforeCursor, 0, elementCursorDecoder)
...
}
- Fixed client-js not reconnecting on certain circumstances
- Now uses new dauth
authenticator
module - Now uses a custom ErrorLog on HTTP servers
- Default parameters for
--auth-plugin
and--dmetering-plugin
changed tonull://
. - License changed to Apache 2.0