Skip to content
This repository was archived by the owner on Oct 6, 2022. It is now read-only.

Releases: quinchs/EdgeDB.Net

v0.3.4

20 Sep 21:35

Choose a tag to compare

This release adds support for F# option<T> and ValueOption<T> types as well as fixes bugs with F# records and F# classes as result types.

Added

  • Added support for F# option<T> and ValueOption<T>.
  • Added support for F# class.
  • Added support for F# record

v0.3.3

08 Sep 01:05

Choose a tag to compare

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 record in type deserializer.

v0.3.2

26 Aug 14:24

Choose a tag to compare

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 Data packets.
  • Fixed CancellationToken not being passed into a duplex when executing.
  • Fixed EdgeDBConnection not resolving on Linux-based systems.

v0.3.1

03 Aug 18:01

Choose a tag to compare

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 ImplicitObjectIds being inversed when serializing.

Misc

  • Changed Header to Annotation or KeyValue in some packets.

v0.3.0

28 Jul 13:11

Choose a tag to compare

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

25 Jul 17:06

Choose a tag to compare

This release fixes a few bugs with clients disconnect/reconnect logic. This version is the final version supporting EdgeDB v1.x. Use version >=0.3.x for v2 support

This version is not compatible with EdgeDB v2.0

v0.2.1

16 Jun 06:02

Choose a tag to compare

This patch release fixes a bug with tuples not being deserialized correctly

Full Changelog: v0.2.0...0.2.1

v0.2.0

14 Jun 01:11

Choose a tag to compare

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