github dolthub/dolt v1.59.11
1.59.11

17 hours ago

Merged PRs

dolt

  • 9854: /go/{go.mod,go.sum}: bump dolt-mcp, supports Dolt Tests via tool calls
  • 9843: fix archive int overflow
    A integer overflow bug introduced by the mmap work. The bug was in the suffix offset calculation, which took a uint32 and multiplied it by 12 (suffix len), which resulted in the overflow.
    This type of bug cropped up a couple times during archive development, but this is the first time we've regressed here. This only manifests if you have more than 357,913,942 chunks in an archive, which is a lot. So many that it would take days run an automated test to find it in CI.
  • 9839: go/go.mod: Bump eventsapi_schema.
  • 9830: docker-entrypoint.sh: Docker entrypoint user management fix, log improvements, and bats testing
    Companion dolthub/go-mysql-server#3217
    The Docker entry point script now properly creates and configures root and custom users with appropriate host restrictions, and validates environment variables with detailed error messages. Additionally, there is proper handling of reserved keywords in database and user names.
    Added comprehensive test coverage for authentication flows, user creation, and configuration handling to ensure reliability.
    2025-09-15 17:30:42+00:00 [Note] [Entrypoint]: Entrypoint script for Dolt Server 1.59.8 starting...
    2025-09-15 17:30:42+00:00 [Warn] [Entrypoint]: No files found in /docker-entrypoint-initdb.d/ to process
    2025-09-15 17:30:42+00:00 [Note] [Entrypoint]: Starting Dolt server in background...
    2025-09-15 17:30:42+00:00 [Note] [Entrypoint]: Server initialization complete!
    2025-09-15 17:30:42+00:00 [Note] [Entrypoint]: Ensuring root@% superuser exists with password
    2025-09-15 17:30:42+00:00 [Note] [Entrypoint]: Configuring root@% user
    2025-09-15 17:30:42+00:00 [Note] [Entrypoint]: Creating database 'test'
    2025-09-15 17:30:42+00:00 [Note] [Entrypoint]: Creating user 'elian'
    2025-09-15 17:30:43+00:00 [Note] [Entrypoint]: Granting server access to user 'elian'
    2025-09-15 17:30:43+00:00 [Note] [Entrypoint]: Giving user 'elian' access to schema 'test'
    2025-09-15 17:30:44+00:00 [Note] [Entrypoint]: Current users in the system:
    +---------------------+-----------+
    | User                | Host      |
    +---------------------+-----------+
    | event_scheduler     | localhost |
    | root                | %         |
    | __dolt_local_user__ | localhost |
    | elian               | %         |
    +---------------------+-----------+
    2025-09-15 17:30:44+00:00 [Note] [Entrypoint]: Reattaching to server process...
    Starting server with Config HP="0.0.0.0:3306"|T="28800000"|R="false"|L="info"
    time="2025-09-15T17:30:42Z" level=info msg="Overriding root user host with value from DOLT_ROOT_HOST: %"
    time="2025-09-15T17:30:42Z" level=info msg="Overriding root user password with value from DOLT_ROOT_PASSWORD"
    time="2025-09-15T17:30:42Z" level=info msg="Creating root@% superuser"
    time="2025-09-15T17:30:42Z" level=info msg="Server ready. Accepting connections."
    
    You may not be familiar with the latest version no. of Dolt, so we've added the latest keyword as an option for DOLT_VERSION when building a custom Docker image.
    docker build -f docker/serverDockerfile --build-arg DOLT_VERSION=latest -t dolt-sql-server:latest .
    We've also added new parameters MYSQL_USER_HOST and DOLT_USER_HOST to, you guessed it, specify the host for your custom user! Otherwise, it'll use the ROOT_USER_HOST, or default to localhost if neither parameter is provided.
    docker run
    -e DOLT_ROOT_PASSWORD=secret2
    -e DOLT_USER=testname
    -e DOLT_PASSWORD=testpass
    -e DOLT_USER_HOST=%
    -p 3307:3306 dolthub/dolt-sql-server:latest
    The Docker build now supports building from local source code instead of downloading pre-built binaries. This is useful for development, testing local changes, and custom builds.
    # Build from local source code (requires workspace directory with source dependencies)
    docker build -f dolt/docker/serverDockerfile --build-arg DOLT_VERSION=source -t dolt-sql-server:source .
    

go-mysql-server

  • 3220: go.mod: Bump go-icu-regex. Pick up ICU4C Cgo dependency.
    From this commit, go-mysql-server takes a dependency on Cgo and a dependency on ICU4C. To depend on go-mysql-server CGO must be enabled, a C++ compiler must be available and the ICU4C development libraries must be available to the C++ compiler.
    On Windows, mingw with pacman -S icu is supported.
    On macOS, Homebrew installed icu4c works, but only if CGO_CPPFLAGS and CGO_LDFLAGS are set to point to the installed development libraries.
    On Linux, apt-get install libicu-dev, or similar.
  • 3219: dolthub/go-mysql-server#3216: Fix UNION ALL with NULL BLOB SELECT returning NULL for all vals
    Fixes #3216
  • 3217: Add CREATE DATABASE fall back on CREATE SCHEMA to mirror MySQL
    Fixes #9830
  • 3203: allow setting session variable default value

Closed Issues

  • 7387: Incorrect SemiJoin in plan tests
  • 9847: Dolt database as a submodule-like pointer in git
  • 3216: No binary data from UNION ALL

Don't miss a new dolt release

NewReleases is sending notifications on new releases.