Releases: quinchs/EdgeDB.Net
v0.3.4
v0.3.3
This release adds a json contract resolver for some of edgedb types (Range, etc) which have custom json structures as well as add support for record types in the serializer.
Added
- Added json contract resolver for custom edgedb json types.
- Added support for
recordin type deserializer.
v0.3.2
This release fixes bugs related to connection parameter resolving and misc additions
Added
- Added
Group<TKey, TElement>type for help with group results.
Fixed
- Fixed packet headers getting cut off when receiving numerous amounts of
Datapackets. - Fixed
CancellationTokennot being passed into a duplex when executing. - Fixed
EdgeDBConnectionnot resolving on Linux-based systems.
v0.3.1
This release brings extra 2.0 features into the EdgeDB.Net driver
Added
- Added
Range<T>type. - Added support for
date_duration->TimeSpan
Fixed
- Fixed server rejecting arguments due to a missing codec id.
- Fixed
ImplicitObjectIdsbeing inversed when serializing.
Misc
- Changed
HeadertoAnnotationorKeyValuein some packets.
v0.3.0
This release is the first stable release compatible with EdgeDB 2.0.
State
You can configure state with the GetOrCreateClientAsync which now accepts a delegate for state manipulation:
await using var clientInstance = await client.GetOrCreateClientAsync(state =>
{
state.WithGlobals(new Dictionary<string, object?>
{
{"current_user_id", Guid.NewGuid() }
});
});When clients are returned to the client pool, their state is reset back to the default state.
Default state
You can modify a client pools default state by using the With... methods on the DefaultSession property
client.DefaultSession.WithGlobals(new Dictionary<string, object?>
{
{"current_user_id", Guid.NewGuid() }
});Full Changelog: 0.2.2...0.3.0
v0.2.2
v0.2.1
This patch release fixes a bug with tuples not being deserialized correctly
Full Changelog: v0.2.0...0.2.1
v0.2.0
What's Changed
- Chore: Cleanup by @Rozen4334 in #1
- Fix PacketWriter.Write(string) method by @justslon in #2
- docs: fix typo by @ffl0w in #3
- feature: client pool management by @quinchs in #12
- feature: reconnection logic by @quinchs in #11
- TypeBuilder class refactor by @justslon in #14
- Add cancellation tokens by @quinchs in #15
New Contributors
- @Rozen4334 made their first contribution in #1
- @justslon made their first contribution in #2
- @ffl0w made their first contribution in #3
- @quinchs made their first contribution in #12
Full Changelog: https://github.com/quinchs/EdgeDB.Net/commits/v0.2.0