Skip to content

0.56.5

Choose a tag to compare

@github-actions github-actions released this 24 Jun 23:47

Merged PRs

doltgresql

  • 2860: Decompose Filters with RecordExprs for index costing
    When there are Filters over RecordExprs, decompose them into a series of logically equivalent AND and OR expressions.
    Unskipped tests: dolthub/go-mysql-server#3599
    TODO: This rule should be more selective.
  • 2850: Override coalesce with a Doltgres-specific implementation
    The coalesce implementation in GMS does not properly handle Doltgres types. This PR adds a small Doltgres-specific implementation that properly handles Doltgres types.
    Fixes: #2332
  • 2849: add go and r tests in postgres client tests
  • 2847: Context collections accept a database
    In Dolt, we don't allow multiple databases to be modified in the same statement. Normally this isn't possible, but by accessing certain collections during database creation (such as the cast collection, even if it's not used), we would load those collections. This then caused us to try and persist those collections, even though they're empty. That empty state is still different than "no data present", so it was a valid database update, and could therefore cause multiple databases to be updated.
    This change makes it such that every collection is accessed by a database string. In the database creation case, we load a collection under an empty database string (as no database exists yet). This prevents that collection from being persisted (as we don't persist something attached to an empty database name), and works around the multi-database update issue. In addition, this paves the way for proper cross-database support of collection items, which are unsupported at the current moment.
  • 2845: Handle bool type conversion for "unknown" types
    It is possible for a bool (and probably other types) to be an "unknown" type. We blindly assumed they would all be strings, leading to panics.
    For fear of breaking other stuff, I didn't implement any other types.
    Depends on:
  • 2841: Fixes Issue #2549
    Fixes:
  • 2836: Add tests for backup/restore
    Adds tests for using dolt_backup() to backup and restore Doltgres databases. Also includes a fix for Doltgres specific objects, like sequences, to ensure they get included in backups.
  • 2833: Format missing operator error correctly (fixes #2160)
    This PR formats the internal function missing error into the standard Postgres 'operator does not exist' format when the function corresponds to an operator. This ensures that errors such as comparing a varchar to a boolean are surfaced with proper feedback rather than an internal function error. Fixes #2160.
  • 2832: Fix incorrect variable substitution for column references in PL/pgSQL
    Fixes #2354
    This PR addresses an issue where field names matching parameter or variable names inside a PL/pgSQL function were incorrectly substituted by the interpreter when used as part of a table alias or record (e.g. c.id).
    By checking if a token is preceded by a dot (.), we can accurately skip variable substitution for field identifiers. A regression test for this specific issue has been added to create_function_plpgsql_test.go.
  • 2825: Added CREATE CAST alongside general bug fixes
    This implements CREATE CAST and DROP CAST, as well as fixes a number of bug that were surfaced by the tests (some fixed through other PRs, such as full type initialization, while others such as nested composite types in created functions are fixed here).
  • 2824: sql driver tests
    Ported tests from dolt via agent, manually pruned down the ones that aren't applicable or we think are adequately tested by Dolt itself.
    Most skips are due to cluster replication not yet working.
  • 2823: unskipping a bunch of enginetests
    Some tests were passing on their own, and some are now passing with the help of additional query translation capability.
    This also removes all of the *Prepared test methods, which weren't doing anything useful.
  • 2819: fix tuple comparison logic and add more tests
  • 2808: Add support for DISTINCT with sort order in array_agg function
    Fixes: #2334
  • 2804: bug fix: unaliased string literal column names
    Fixes: #2576
  • 2800: New tests for rename table colliding with existing relation names
    Depends on: dolthub/go-mysql-server#3574
  • 2799: improve a few wire format conversions
  • 2797: support NOT VALID for foreign key and check constraints
    Depends on dolthub/vitess#471, dolthub/go-mysql-server#3573 and dolthub/dolt#11155
  • 2793: Add test for JSONB use with dolt_patch()
    Depends on: dolthub/dolt#11153
  • 2792: Implement IndexNameGenerator interface
    Extends PgDatabase with custom logic for generating index names in the same pattern as Postgres.
    Depends on:
  • 2787: Enable syntax support for CREATE TEMPORARY TABLE ... ON COMMIT
    Related to: #2786
  • 2778: Fully handle type initialization
    We deserialize types such that all related types (the array type, the base type, composite attributes, etc.) are IDs that are stored on the type, requiring a lookup when that related type is needed. This fails in cases where we either do not have a context available, or something in GMS causes incomplete type information to be created after the type resolution analyzer step.
    To work around these limitations, we now pass a context to the deserialization step, and allow the collection to cache types that are currently being deserialized to allow for recursive type references (such as the base type and array type referring to one another). All other changes are related to this core idea, being either interface/field changes or bug fixes.
  • 2774: cache collections
    collections were being reloaded twice for every query that involved looking up a table/view even if the RootValue hadn't changed. At the very least this PR should halve the number of LoadAllCollections.
  • 2771: update sysbench options to match dolt
  • 2769: Add DoltgresDatabaseProvider
    Adds DoltgresDatabaseProvider and PgDatabase that wrap types from Dolt and allow Doltgres to provide customized behavior.
    I've spot checked the failing regression tests and they all appear to show existing problems that we weren't detecting before.
    Depends on:
  • 2766: set search_path for create extension and copy data
    Depends on: dolthub/go-mysql-server#3562 and dolthub/dolt#11109
  • 2745: Bump openssl from 0.10.78 to 0.10.80 in /testing/postgres-client-tests/rust
    Bumps openssl from 0.10.78 to 0.10.80.
    Release notes

    Sourced from openssl's releases.

    openssl-v0.10.80

    What's Changed

    Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.79...openssl-v0.10.80

    openssl-v0.10.79

    What's Changed

    Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.78...openssl-v0.10.79

    Commits
    • 35be7ae Release openssl 0.10.80 and openssl-sys 0.9.116 (#2639)
    • 19eceb2 Fix output buffer overflow in cipher_update_inplace for AES key-wrap-with-pad...
    • b460eb3 Prefer Homebrew openssl@4 and stop looking for openssl@1.1 (#2633)
    • 649f2d9 Release openssl 0.10.79 and openssl-sys 0.9.115 (#2632)
    • 257f9b2 Fix output buffer overflow for AES key-wrap-with-padding ciphers (#2630)
    • d43e917 Reject non-UTF-8 OCSP responder URLs in X509Ref::ocsp_responders (#2631)
    • f46519c Add PkeyCtxRef::set_context_string for ML-DSA (#2629)
    • ad9ae31 Bind OSSL_PARAM_modified and use it for seed_into (#2628)
    • 4e25c9b Fix process abort when verify/PSK callbacks fire after SSL_CTX swap (#2624)
    • 3dd8f42 Add PKeyRef::seed_into for ML-DSA/ML-KEM seed extraction (#2626)
    • Additional commits viewable in compare view

    [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=openssl&package-manager=cargo&previous-version=0.10.78&new-version=0.10.80)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
    Dependabot commands and options
    You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/dolthub/doltgresql/network/alerts).
  • 2707: Bump fast-xml-builder from 1.1.5 to 1.2.0 in /.github/actions/ses-email-action
    Bumps fast-xml-builder from 1.1.5 to 1.2.0.
    Changelog

    Sourced from fast-xml-builder's changelog.

    1.2.0 (2026-05-08)

    • Add support for sanitizeName option
    • Support xml-naming for validating and sanitizing tag and attribute names

    1.1.9 (2026-05-06)

    • fix: format output for preserve order when indent by is set to empty string

    1.1.8 (2026-05-05)

    • fix: skip text property for PI tags
    • improve typings

    1.1.7 (2026--05-04)

    • fix security issues when attribute value contains quotes

    1.1.6 (2026--05-04)

    • fix security issues related to comment
    • skip comment with null value

    1.1.5 (2026-04-17)

    • fix security issues related to comment and cdata

    1.1.4 (2026-03-16)

    • support maxNestedTags option

    1.1.3 (2026-03-13)

    • declare Matcher & Expression as unknown so user is not forced to install path-expression-matcher

    1.1.2 (2026-03-11)

    • fix typings

    1.1.1 (2026-03-11)

    • upgrade path-expression-matcher to 1.1.3

    1.1.0 (2026-03-10)

    Commits

    [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=fast-xml-builder&package-manager=npm_and_yarn&previous-version=1.1.5&new-version=1.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
    Dependabot commands and options
    You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/dolthub/doltgresql/network/alerts).
  • 2703: Bump github.com/apache/thrift from 0.13.1-0.20201008052519-daf620915714 to 0.23.0
    Bumps github.com/apache/thrift from 0.13.1-0.20201008052519-daf620915714 to 0.23.0.
    Release notes

    Sourced from github.com/apache/thrift's releases.

    Version 0.23.0

    Please head over to the official release download source: http://thrift.apache.org/download

    The assets listed below are added by Github based on the release tag and they will therefore not match the checkums published on the Thrift project website.

    Version 0.22.0

    Please head over to the official release download source: http://thrift.apache.org/download

    The assets listed below are added by Github based on the release tag and they will therefore not match the checkums published on the Thrift project website.

    Version 0.21.0

    Please head over to the official release download source: http://thrift.apache.org/download

    The assets listed below are added by Github based on the release tag and they will therefore not match the checkums published on the Thrift project website.

    Version 0.20.0

    Please head over to the official release download source: http://thrift.apache.org/download

    The assets listed below are added by Github based on the release tag and they will therefore not match the checkums published on the Thrift project website.

    Version 0.19.0

    Please head over to the official release download source: http://thrift.apache.org/download

    The assets listed below are added by Github based on the release tag and they will therefore not match the checkums published on the Thrift project website.

    Version 0.18.1

    Please head over to the official release download source: http://thrift.apache.org/download

    The assets listed below are added by Github based on the release tag and they will therefore not match the checkums published on the Thrift project website.

    Version 0.18.0

    Please head over to the official release download source: http://thrift.apache.org/download

    The assets listed below are added by Github based on the release tag and they will therefore not match the checkums published on the Thrift project website.

    Version 0.17.0

    Please head over to the official release download source: http://thrift.apache.org/download

    The assets listed below are added by Github based on the release tag and they will therefore not match the checkums published on the Thrift project website.

    Version 0.16.0

    For release 0.16.0 head over to the official release download source:

    ... (truncated)

    Changelog

    Sourced from github.com/apache/thrift's changelog.

    0.23.0

    Build Process

    C glib

    • THRIFT-5931 - thrift_ssl_socket_get_ssl_error() can underflow its remaining-buffer counter and write past the stack buffer
    • THRIFT-5871 - Improve MAX_MESSAGE_SIZE check and friends

    C++

    • THRIFT-5911 - Inconsistent UUID compilation for aliased types
    • THRIFT-5912 - Assertion failed: delta > 0, file ThreadManagerTests.h, line 162
    • THRIFT-5880 - C++ TSocket on an IPv6-only system fails if you use a hostname of 127.0.0.1
    • THRIFT-3268 - warning: token pasting of ',' and __VA_ARGS__ is a GNU extension
    • THRIFT-5887 - build/cmake/ should be prepended (not appended) to CMAKE_MODULE_PATH
    • THRIFT-5878 - Add UUID support for THeaderProtocol and TProtocolTap
    • THRIFT-5898 - Unable to build Thrift as a shared library on Windows

    Contributed

    • THRIFT-5920 - Remove threadsafe warnings in thrift-maven-plugin

    Delphi

    • THRIFT-5939 - Replace GUID generation with stable UUID algorithm
    • THRIFT-5876 - Add Delphi WinHTTP client TLS1.3 support

    Go

    • THRIFT-5896 - Race condition in TServerSocket.Addr() method

    Java

    • THRIFT-5925 - UUID implementation in JAVA is not according to the Thrift Specification
    • THRIFT-5869 - Close the transport after TServerEventHandler deleteContext
    • THRIFT-5863 - Make TServerTransport able to customize the max message size
    • THRIFT-5774 - Add remote client's IP address to ServerContext in TServerEventHandler
    • THRIFT-4280 - Add async nonblocking ssl support in java client
    • THRIFT-5879 - java and kotlin cross tests fail in the GitHub action

    netstd

    ... (truncated)

    Commits

    [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/apache/thrift&package-manager=go_modules&previous-version=0.13.1-0.20201008052519-daf620915714&new-version=0.23.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
    Dependabot commands and options
    You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/dolthub/doltgresql/network/alerts).
  • 2676: implement pg_sequences
    Following the spec outlined here (version 15)
  • 2654: Bump github.com/jackc/pgx/v5 from 5.6.1-0.20240826124046-97d20ccfadaa to 5.9.2
    Bumps github.com/jackc/pgx/v5 from 5.6.1-0.20240826124046-97d20ccfadaa to 5.9.2.
    Changelog

    Sourced from github.com/jackc/pgx/v5's changelog.

    5.9.2 (April 18, 2026)

    Fix SQL Injection via placeholder confusion with dollar quoted string literals (GHSA-j88v-2chj-qfwx)

    SQL injection can occur when:

    1. The non-default simple protocol is used.
    2. A dollar quoted string literal is used in the SQL query.
    3. That query contains text that would be would be interpreted outside as a placeholder outside of a string literal.
    4. The value of that placeholder is controllable by the attacker.

    e.g.

    attackValue := `$tag$; drop table canary; --`
    _, err = tx.Exec(ctx, `select $tag$ $1 $tag$, $1`, pgx.QueryExecModeSimpleProtocol, attackValue)

    This is unlikely to occur outside of a contrived scenario.

    5.9.1 (March 22, 2026)

    • Fix: batch result format corruption when using cached prepared statements (reported by Dirkjan Bussink)

    5.9.0 (March 21, 2026)

    This release includes a number of new features such as SCRAM-SHA-256-PLUS support, OAuth authentication support, and PostgreSQL protocol 3.2 support.

    It significantly reduces the amount of network traffic when using prepared statements (which are used automatically by default) by avoiding unnecessary Describe Portal messages. This also reduces local memory usage.

    It also includes multiple fixes for potential DoS due to panic or OOM if connected to a malicious server that sends deliberately malformed messages.

    • Require Go 1.25+
    • Add SCRAM-SHA-256-PLUS support (Adam Brightwell)
    • Add OAuth authentication support for PostgreSQL 18 (David Schneider)
    • Add PostgreSQL protocol 3.2 support (Dirkjan Bussink)
    • Add tsvector type support (Adam Brightwell)
    • Skip Describe Portal for cached prepared statements reducing network round trips
    • Make LoadTypes query easier to support on "postgres-like" servers (Jelte Fennema-Nio)
    • Default empty user to current OS user matching libpq behavior (ShivangSrivastava)
    • Optimize LRU statement cache with custom linked list and node pooling (Mathias Bogaert)
    • Optimize date scanning by replacing regex with manual parsing (Mathias Bogaert)
    • Optimize pgio append/set functions with direct byte shifts (Mathias Bogaert)
    • Make RowsAffected faster (Abhishek Chanda)
    • Fix: Pipeline.Close panic when server sends multiple FATAL errors (Varun Chawla)
    • Fix: ContextWatcher goroutine leak (Hank Donnay)
    • Fix: stdlib discard connections with open transactions in ResetSession (Jeremy Schneider)

    ... (truncated)

    Commits

    [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/jackc/pgx/v5&package-manager=go_modules&previous-version=5.6.1-0.20240826124046-97d20ccfadaa&new-version=5.9.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
    Dependabot commands and options
    You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/dolthub/doltgresql/network/alerts).
    > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
  • 2639: Use dolt JSON encoding
    This gives us the storage, merge, and perf benefits for JSON in doltgres.
    This change also results in a behavior change for ORDER BY on JSONB columns. Postgres has a particular b-tree order it uses to store JSON documents in order to efficient perform its lookups. Dolt's method for efficient JSON retrieval is quite different, and has nothing to do with the order in which documents are stored in a primary index.

Closed Issues

  • 2332: COALESCE(NULL, integer_column) fails with type mismatch via simple protocol
  • 2732: dolt_patch() fails with "expected string, got string" for any non-NULL JSONB column value
  • 382: utilizes MD5(sha1) for id generation
  • 2160: No error when boolean is used to filter varchar column
  • 2354: Incorrect substitution with field names declared in RETURNS TABLE (...)
  • 2334: Parser error: ORDER BY inside array_agg aggregate function
  • 2807: invalid tuple comparison
  • 2622: Bump github.com/jackc/pgx/v5 to ≥ v5.9.0 to address CVE-2026-33816
  • 2577: last_value column in pg_sequences table not maintained correctly
  • 2576: Column name atttibutes lost in row query
  • 1235: Publish doltgres Docker image on release
  • 1409: Import issues
  • 1498: libssp0.dll not found
  • 2609: Doltgres MCP support
  • 2685: Bigint boundary casts reject exact int64 limits
  • 2298: Error: expression index attribute is not yet supported
  • 791: Postgres system column support