From 1df6c992b22dc12dd4bca88ac66660ca647c0d94a391d2708196ac2c419f3c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Bj=C3=B6rnstam?= Date: Wed, 21 Oct 2026 15:47:04 +0200 Subject: [PATCH 1/4] displayed, in place of ->str MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ->str is deprecated in the prelude. 🤖 Generated with [ECA](https://eca.dev) Co-Authored-By: eca-agent --- tests/pg.bjo | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/pg.bjo b/tests/pg.bjo index 05a332f..f44e695 100644 --- a/tests/pg.bjo +++ b/tests/pg.bjo @@ -152,7 +152,7 @@ (ignore (ok! (insert db events (event (uuid-v7) "2026-10-12T09:00:00Z" "100.00")))) (ignore (ok! (insert db events (event (uuid-v7) "2026-10-12T10:00:00+02:00" "-3.00")))) (expect "ORDER BY an instant" - (list-map (fun (e) (->str (record-ref e happened))) (ok! (fetch db events '(select (order-by happened))))) + (list-map (fun (e) (displayed (record-ref e happened))) (ok! (fetch db events '(select (order-by happened))))) (list "2026-10-12T08:00:00Z" "2026-10-12T09:00:00Z" "2026-10-12T09:00:00.25Z" "2026-10-12T09:00:00.5Z")) (expect "ORDER BY a version 7 uuid sorts by the time it was made" (list-map (fun (e) (decimal->string (record-ref e price))) (ok! (fetch db events '(select (order-by key))))) @@ -177,7 +177,7 @@ (expect "and read back" (match (ok! (fetch-one db events '(select (where (tag not-null))))) ((Some e) (list (if (= (some! (record-ref e tag)) label) "the label" "another uuid") - (->str (record-ref e note)))) + (displayed (record-ref e note)))) (None (list "none"))) (list "the label" "(Some 2026-01-01T00:00:00Z)")) (expect "set back to NULL" @@ -189,8 +189,8 @@ (admin #t) (avatar (Some #[1uy 2uy 3uy])))))) (expect "an #:auto key comes back" (record-ref ada id) 1) (expect "the rest of the row" - (str (record-ref ada name) " " (->str (record-ref ada email)) " " (double->string (record-ref ada score)) - " " (->str (record-ref ada admin)) " " + (str (record-ref ada name) " " (displayed (record-ref ada email)) " " (double->string (record-ref ada score)) + " " (displayed (record-ref ada admin)) " " (match (record-ref ada avatar) ((Some b) (int->string (array-length b))) (None "none"))) "Ada (Some ada@example.org) 9.5 True 3") (expect "insert-all" From acdd692d9fdb67e8179bf6f4c5ce42c26dd90716167a4627cb4bdf7ee9299664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Bj=C3=B6rnstam?= Date: Wed, 21 Oct 2026 15:54:54 +0200 Subject: [PATCH 2/4] 0.2.1 Builds with bjosql 0.4.1. --- bjo.lock | 4 ++-- manifest.bjodat | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bjo.lock b/bjo.lock index 15ecbc8..0b55a78 100644 --- a/bjo.lock +++ b/bjo.lock @@ -1,5 +1,5 @@ (lock (locked - (package (name (bjosql)) (version "0.4.0") + (package (name (bjosql)) (version "0.4.1") (source (git (url "https://github.com/bjoli/bjosql"))) - (commit "8536b7ea3c887fca244cc65d721a8db9a49d5b51")))) + (commit "430fc405ff128964649821fcdb12b6412bb2d988")))) diff --git a/manifest.bjodat b/manifest.bjodat index 53906c6..14c52d7 100644 --- a/manifest.bjodat +++ b/manifest.bjodat @@ -1,12 +1,12 @@ (package (name (bjopg)) - (version "0.2.0") + (version "0.2.1") (description "PostgreSQL for Bjolang: the bjosql query language over Npgsql, for bjoroutines.") (license "MPL-2.0") (depends (package (name (bjosql)) - (version (version-at-least "0.4.0")) + (version (version-at-least "0.4.1")) (source (git (url "https://github.com/bjoli/bjosql"))))) ;; A program using this package declares nothing itself. From 11e09110e6cd9144c37f1c21c0634ca298f80d1ad4a4e75031fe0b9e9e6234ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Bj=C3=B6rnstam?= Date: Sat, 21 Nov 2026 20:15:57 +0100 Subject: [PATCH 3/4] bjosql 0.4.2, which builds with Bjolang 0.3.0 Co-Authored-By: Claude Opus 5.5 --- bjo.lock | 4 ++-- manifest.bjodat | 2 +- packages.lock.json | 20 ++------------------ 3 files changed, 5 insertions(+), 21 deletions(-) diff --git a/bjo.lock b/bjo.lock index 0b55a78..40265da 100644 --- a/bjo.lock +++ b/bjo.lock @@ -1,5 +1,5 @@ (lock (locked - (package (name (bjosql)) (version "0.4.1") + (package (name (bjosql)) (version "0.4.2") (source (git (url "https://github.com/bjoli/bjosql"))) - (commit "430fc405ff128964649821fcdb12b6412bb2d988")))) + (commit "8c0c1175bdda467c0d961a9c23b80abd75b02d64")))) diff --git a/manifest.bjodat b/manifest.bjodat index 14c52d7..46209ae 100644 --- a/manifest.bjodat +++ b/manifest.bjodat @@ -6,7 +6,7 @@ (depends (package (name (bjosql)) - (version (version-at-least "0.4.1")) + (version (version-at-least "0.4.2")) (source (git (url "https://github.com/bjoli/bjosql"))))) ;; A program using this package declares nothing itself. diff --git a/packages.lock.json b/packages.lock.json index c28b704..12cd40f 100644 --- a/packages.lock.json +++ b/packages.lock.json @@ -1,28 +1,12 @@ { "version": 1, "dependencies": { - "net10.0": { + "net11.0": { "Npgsql": { "type": "Direct", "requested": "[10.0.0, )", "resolved": "10.0.0", - "contentHash": "xZAYhPOU2rUIFpV48xsqhCx9vXs6Y+0jX2LCoSEfDFYMw9jtAOUk3iQsCnDLrFIv9NT3JGMihn7nnuZsPKqJmA==", - "dependencies": { - "Microsoft.Extensions.Logging.Abstractions": "10.0.0" - } - }, - "Microsoft.Extensions.DependencyInjection.Abstractions": { - "type": "Transitive", - "resolved": "10.0.0", - "contentHash": "L3AdmZ1WOK4XXT5YFPEwyt0ep6l8lGIPs7F5OOBZc77Zqeo01Of7XXICy47628sdVl0v/owxYJTe86DTgFwKCA==" - }, - "Microsoft.Extensions.Logging.Abstractions": { - "type": "Transitive", - "resolved": "10.0.0", - "contentHash": "FU/IfjDfwaMuKr414SSQNTIti/69bHEMb+QKrskRb26oVqpx3lNFXMjs/RC9ZUuhBhcwDM2BwOgoMw+PZ+beqQ==", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0" - } + "contentHash": "xZAYhPOU2rUIFpV48xsqhCx9vXs6Y+0jX2LCoSEfDFYMw9jtAOUk3iQsCnDLrFIv9NT3JGMihn7nnuZsPKqJmA==" } } } From bb2cde0315a5c66f1d6111e1591aa51ba9f391936aafe8c65d803d12f306101b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Bj=C3=B6rnstam?= Date: Sat, 21 Nov 2026 20:15:58 +0100 Subject: [PATCH 4/4] 0.2.2 Co-Authored-By: Claude Opus 5.5 --- manifest.bjodat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.bjodat b/manifest.bjodat index 46209ae..90e505f 100644 --- a/manifest.bjodat +++ b/manifest.bjodat @@ -1,6 +1,6 @@ (package (name (bjopg)) - (version "0.2.1") + (version "0.2.2") (description "PostgreSQL for Bjolang: the bjosql query language over Npgsql, for bjoroutines.") (license "MPL-2.0")