github.com/chaisql/chai
v0.18.0
#1238 most downloaded on Go modules
chaisql/chai
What this package is like to depend on
Last release 9 months ago
05 Nov 2025
Ships unpredictably
gaps range from 9 days to 9 months
Nearly every release is documented
notes for 4 of 4 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
36 releases · first in 2023
15 releases in the last 12 months
see the full history below
Release timeline
36 releases · Dec 2023 to Nov 2025Releases
latest 36-
v0.18.1-0.20251105180540-e53516f8185c05 Nov 2025 pre-releaseNothing published for this version
-
v0.18.005 Nov 2025Release notes
Open source →PostgreSQL compatibility
- Tables no longer create a sequence automatically when no primary key is specified.
- Primary keys are now always required. This is a first step to adding support for SERIAL and BIGSERIAL.
- Support postgres-style parameters
$1,$2,$30, etc. - Removed support for SQLite-style parameters
$? - Support standard quotes for string literals and identifiers
- Renamed
SOUBLEtoDOUBLE PRECISION - Renamed
BLOBtoBYTEA BOOLtype now behaves like in Postgres- Support
nextvalexpression - Add support for
::casts
Misc
- Use Pebble v2.1.0
- Fix prepared statements
- Improve boolean and integer comparison
Full Changelog: v0.17.0...v0.18.0
-
v0.17.1-0.20250930151232-5ae61d14a91e30 Sep 2025 pre-releaseNothing published for this version
-
v0.17.1-0.20250927060516-85a9199aa61727 Sep 2025 pre-releaseNothing published for this version
-
v0.17.1-0.20250921071501-b70cae819e5f21 Sep 2025 pre-releaseNothing published for this version
-
v0.17.1-0.20250921055855-a60e2f33e17121 Sep 2025 pre-releaseNothing published for this version
-
v0.17.1-0.20250903135722-ab8a0d4cf90103 Sep 2025 pre-releaseNothing published for this version
-
v0.17.1-0.20250831104639-3541f49ad08231 Aug 2025 pre-releaseNothing published for this version
-
v0.17.1-0.20250831055704-40c1fcbbe10631 Aug 2025 pre-releaseNothing published for this version
-
v0.17.1-0.20250827120048-083e83de9c5b27 Aug 2025 pre-releaseNothing published for this version
-
v0.17.1-0.20250827091744-51b4d74fed9727 Aug 2025 pre-releaseNothing published for this version
-
v0.17.016 Aug 2025Release notes
Open source →ChaiSQL has dropped object/document support to focus on Postgres compatibility.
v0.17 is the first step towards that goal and comes with a lot of API changes.
There are still quite a few features that need to be renamed / modified / reimplemented to be Postgres compatible but we're getting there.API changes
- Drop document / object / array support
- Drop
chai.OpenAPI,database/sqlis not the only supported API - Use Pebble v2
- Add
BIGINTtype
New Contributors
- @samjewell made their first contribution in #532
- @kylebrandt made their first contribution in #531
Full Changelog: v0.16.1...v0.17.0
-
v0.16.115 Aug 2025Release notes
Open source →What's Changed
- Change carbon to new package path by @kenshaw
in #539 - refactor: Use
carbonto simplify code by @kuafuRace in #540 - Bump pebble by @cgruber in #541
New Contributors
Full Changelog: v0.16.0...v0.16.1
- Change carbon to new package path by @kenshaw
-
v0.16.1-0.20250815032251-4fce4a7f006015 Aug 2025 pre-releaseNothing published for this version
-
v0.16.1-0.20250814132344-4b71c12fd07614 Aug 2025 pre-releaseNothing published for this version
-
v0.16.1-0.20250814035158-19e9a412f69914 Aug 2025 pre-releaseNothing published for this version
-
v0.16.1-0.20241109081416-0409f2bfa08d09 Nov 2024 pre-releaseNothing published for this version
-
v0.16.1-0.20241003120732-c97dbd42fc2503 Oct 2024 pre-releaseNothing published for this version
-
v0.16.1-0.20240220053914-6f8c2d2b478820 Feb 2024 pre-releaseNothing published for this version
-
v0.16.1-0.20240218103834-23e406360fd218 Feb 2024 pre-releaseNothing published for this version
-
v0.16.1-0.20240217141533-f54aa24c63d117 Feb 2024 pre-releaseNothing published for this version
-
v0.16.1-0.20240121134304-ef91bb4a3b2a21 Jan 2024 pre-releaseNothing published for this version
-
v0.16.1-0.20231225151714-e9f43e3b5a7f25 Dec 2023 pre-releaseNothing published for this version
-
v0.16.1-0.20231225151401-69da8a85a7a525 Dec 2023 pre-releaseNothing published for this version
-
v0.16.025 Dec 2023Release notes
Open source →Genji is now ChaiSQL ! 🫖
A name change that comes with a change in objectives: ChaiSQL strives to become a modern SQL embedded database.
The goal is to follow the SQL standard as much as possible, without sacrificing schema flexibility.⚠️ The on-disk format has changed quite a bit and is not compatible with databases created prior v0.16.0.
ChaiSQL is under heavy development and breaking changes can still happen, though the on-disk format should be mostly stable from now on.API changes
- Support for DESC composite primary keys and indices
- Add
TIMESTAMPtype - The
DOCUMENTtype is nowOBJECT
Other notable changes
- StructScan check interface parameter is a pointer to a struct by @abramlab in #487
- Add LOWER builtin function by @agonist in #510
- Add UPPER function by @agonist in #511
- add trim, ltrim, rtrim functions by @agonist in #512
- Add coalesce function by @yaziine in #513
- Add random function by @agonist in #514
New Contributors
Full Changelog: v0.15.3...v0.16.0
-
v0.15.3-0.20231219193650-b1079ad657aa19 Dec 2023 pre-releaseNothing published for this version
-
v0.0.0-20251105180540-e53516f8185c05 Nov 2025 pre-releaseNothing published for this version
-
v0.0.0-20250930151232-5ae61d14a91e30 Sep 2025 pre-releaseNothing published for this version
-
v0.0.0-20250927060516-85a9199aa61727 Sep 2025 pre-releaseNothing published for this version
-
v0.0.0-20250903135722-ab8a0d4cf90103 Sep 2025 pre-releaseNothing published for this version
-
v0.0.0-20250831104639-3541f49ad08231 Aug 2025 pre-releaseNothing published for this version
-
v0.0.0-20250831055704-40c1fcbbe10631 Aug 2025 pre-releaseNothing published for this version
-
v0.0.0-20241109081416-0409f2bfa08d09 Nov 2024 pre-releaseNothing published for this version
-
v0.0.0-20240220053914-6f8c2d2b478820 Feb 2024 pre-releaseNothing published for this version
-
v0.0.0-20240218103834-23e406360fd218 Feb 2024 pre-releaseNothing published for this version
-
v0.0.0-20231225145512-2b208190728e25 Dec 2023 pre-releaseNothing published for this version