Brick-Abode / pldotnet

Build PostgreSQL functions, procedures, and triggers in C# and F#
https://pldotnet.brickabode.com
PostgreSQL License
136 stars 14 forks source link

FYI: We are working on adding support for newer dotnet versions #12

Open tlewis-ba opened 5 months ago

tlewis-ba commented 5 months ago

pl/dotnet was built originally for dotnet 6; this was current when we started the project, years ago, and we never updated it.

Now that we are feature-complete, fast, tested, etc, we are working on adding support for newer dotnet versions. We are currently working on adding v7 and v8. When v9 comes out, it should be straightforward to add.

The C API is pretty stable, so the only issue there is the Linux question of package dependencies and paths.

Our C# shouldn't have any incompatibilities with newer C# versions, that we know of. Our modifications to NPGSQL are having some minor issues, but nothing worrisome.

We have seen first light with dotnet 7 working. Most of the work is switching the build system from assuming a single dotnet version to supporting multiple versions. dpkg has nice support for PGVERSION, but no such support exists for building for multiple dotnet versions, so we have to build it.

We hope to finish and release this before out final v1.0 release; I anticipate a second beta release for this work. We welcome any input from the community on this work.

roji commented 5 months ago

Just noting that .NET 7 is out of support, so I definitely wouldn't spend any time making it work.

tlewis-ba commented 5 months ago

Much appreciated, @roji, but so far 100% of the time is just getting the builds modular, so we probably will do it just because we can. If it raises any specific problems, we'll be inclined per your advice to drop it.

tlewis-ba commented 5 months ago

I also note that this opens the door to our upgrading our NPGSQL version, which we are all looking forward to.

tlewis-ba commented 1 week ago

An update: we have dotnet7 working internally and have torn down many of the coding barriers to getting to dotnet8, which we expect to happen soon, along with an NPGSQL update.