• Version 4.1 Stable

    danieljsummers released this 2025-04-19 20:05:15 +00:00 | 0 commits to main since this release

    FEATURE - The new Json module/static class allows documents to be retrieved as JSON. The functions/methods are the same as the Find module/static class, and return a string. There are also functions that begin with Write (C#) / write (F#) which write the JSON to a PipeWriter as it arrives. For JSON API servers, this allows documents to be retrieved and streamed to the output without having to create domain objects or an in-memory string of all of them.

    DOCUMENTATION - The documentation for this site is now built with docfx ("Documentation Framework"), a project which can extract the API docs (delivered in 4.0.1) and create nice, browsable web pages. It also supports hand-written documentation, and creates a set of files which can be dropped anywhere and served as-is. For this project, these are now served at https://relationaldocs.bitbadger.solutions/dotnet/. The parent level of that website also now has a lot of information on the concepts behind document storage, impartial evaluations of their pros and cons, and more.

    POSSIBLE BREAKING CHANGE - Custom.Single used to run whatever query it was given and return the first result. However, this meant that large queries could be retrieved, deserialized, collected into a list - and then be immediately discarded. This function now adds LIMIT 1 to the end of the query before it is executed, returning only the rows necessary to satisfy the request. This was a mostly-internal API, though if you have queries where you have specifically added this clause, you can remove it.

    Downloads