0.5.0
What's Changed
CHANGES
- Accept invoking the program without default configuration file
config.yml
In this case, the program will fall back to the builtin defaults, essentially
connecting tolocalhost:5432
with usernamecrate
. - Add query timeouts using context cancellation. The corresponding
configuration settings areread_timeout
andwrite_timeout
. - Use a different connection pool for read vs. write operations.
The corresponding settings to configure the maximum pool sizes
areread_pool_size_max
andwrite_pool_size_max
. - Accept invocation without default configuration file
config.yml
. - Add command line option
-config.make
to print a blueprint configuration
file to stdout. - Use a DSN-style connection string for talking to pgx5.
- Add program version to startup log message.
DEPENDENCIES
- Add support for Go 1.20 and 1.21, drop support for previous releases
- Update dependency packages across the board to their latest or minor patch releases
- Update Prometheus libraries (client: 1.18, server: 2.48)
- Update Protocol Buffers libraries (google.golang.org/protobuf 1.31)
- Update to pgx5 library
BREAKING CHANGES
- This release removes the default value for the
-config.file
command line
option, which wasconfig.yml
. When the option is omitted, the service
will use the built-in settings, connecting to CrateDB onlocalhost:5432
.
Full Changelog: 0.4.0...0.5.0