All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
postgresql_extensions
- 0.17.5 - 2025-01-25
- replace regex with regex-lite to reduce dependencies
- update ci configuration
postgresql_commands
- 0.17.5 - 2025-01-25
- remove anyhow and human_bytes dependencies
postgresql_embedded
- 0.17.5 - 2025-01-25
- make tracing-indicatif optional
- remove anyhow and human_bytes dependencies
- replace regex with regex-lite to reduce dependencies
- remove http dependency
- update ci configuration
postgresql_archive
- 0.17.5 - 2025-01-25
- replace regex with regex-lite to reduce dependencies
- remove http dependency
- make tracing-indicatif optional
- remove anyhow and human_bytes dependencies
postgresql_embedded
- v0.17.4 - 2025-01-17
- update to Rust 1.83
- update to Rust 1.84
- correct deny.toml
- use tokio::process::spawn() for pc_ctl on Windows
postgresql_embedded
- v0.17.3 - 2024-11-12
- update codecov action to version 4
- update code coverage generation
- update to Rust 1.82.0
- add FUNDING.yml
- add FUNDING.yml
- correct new linting errors
- update dependencies
- add Unicode-3.0 as an allowed license
- correct zonky extractor
postgresql_embedded
- v0.17.2 - 2024-10-01
- correct documentation build
postgresql_embedded
- v0.17.1 - 2024-10-01
- correct documentation build
- update dependencies
postgresql_embedded
- v0.17.0 - 2024-09-28
- update dependencies
- add issue templates
- forbid clippy allow attributes
- add rust-toolchain.toml
- updates for clippy lints
- [breaking] remove version 12 and deprecate version 13
- allow archives to be bundled from alternate github repositories
- update extension test to run with specific postgresql version
postgresql_embedded
- v0.16.3 - 2024-09-04
- switch from xz2 to liblzma
- ignore .idea directory
postgresql_embedded
- v0.16.2 - 2024-08-24
- update audit and deny checks
- split axum and progress bar examples
- minor doc correction
- update dependencies to address RUSTSEC-2024-0363
- rename embedded_async_diesel_r2d2 to diesel_embedded
postgresql_embedded
- v0.16.1 - 2024-08-13
- remove unused dependencies
- add axum example
- add indicatif to axum example
- add archive tracing progress bar status
- update maven status to set progress bar position
- update version of postgresql used for testing from 16.3.0 to 16.4.0
- update windows test assertion
postgresql_embedded
- v0.16.0 - 2024-08-04
- sort dependencies
- update dependencies
- address lint error
- add PortalCorp example for pgvector
- add portal corp extensions
- correct steampipe extension url resolution
- add .dll support
- update steampipe to use detected OS if not on macos
- correct extension regex to match file extensions
- [breaking] refactor extension matchers
- [breaking] return list of files from archive extract function
- [breaking] refactor archive extract directories
- refactor zonky extractor to use generic tar_xz_extractor
- update portal corp test so that it does not run on macos x64
- add tests for extension matchers
- update archive test assertions to be platform specific
- update expected files extracted
- improve matcher error tests
- enable portal corp test for all platforms
postgresql_embedded
- v0.15.0 - 2024-08-01
- update tls features
- add github feature to steampipe and tensor-chord
- correct doc errors
- correct doc errors
- add vector extension example
- update vector_extension example to run queries
- [breaking] initial postgresql_extensions crate
- registered github archive repositories for extensions
- correct steampipe install matcher
- [breaking] update extension matchers to use postgresql major version
- correct cargo check failure
- correct serialization error writing configuration
- correct vector example error
- linting error
- de-deduplicate steampipe matcher logic
- add version tests
- remove unused extension model
- update lifecycle test to run on linux only
- update steampipe test to run on macos
- disable steampipe test on macos
- update steampipe matcher test
- improve model test coverage
postgresql_embedded
- v0.14.2 - 2024-07-17
- remove clear caches action
- add version optimization documentation
- updated PgConfigBuilder interface to align with pg_config executable
- improve commands on windows to return stdout and stderr
- correct linting errors
- correct windows test failure
postgresql_embedded
- v0.14.1 - 2024-07-06
- change default from rustls-tls to native-tls
- suppress lint warning
- correct lint error
- correct formatting
- update non-windows build configuration
- update non-windows build tests
- update docs for new features
- correct bug where commands hang on windows when retrieving stdout/stderr
- correct hang when tokio is not used
- update command tests to work on Windows
- correct linux/macos tests
- increase timeout to 30 seconds
- increase timeout to 30 seconds
- revert timeout to 5 seconds
postgresql_embedded
- v0.14.0 - 2024-07-03
- [breaking] add feature flags to enable zonky
- correct extract test implementations
postgresql_embedded
- v0.13.0 - 2024-07-01
- pin dependencies
- update use definitions when blocking feature enabled
- unpin dependencies
- correct url dependency definition
- correct documentation link error
- print target triple during build
- remove build caching
- correct lint error
- update license rules
- correct formatting error
- update README.md
- simplify documentation
- remove reference to Bytes
- update documentation
- update readmes
- [breaking] add semantic versioing support and configurable repositories
- add matcher registry
- [breaking] add configurable hashers
- add sha2-512 support
- add blake2 and sha3 hash support
- add hasher and matcher supports function
- [breaking] add configurable extractors
- add support for installing binaries from the zonky project
- add SHA1 hash support for older Maven repositories
- utilize sqlx for database management to support PostgreSQL installations that do not bundle psql
- update hasher registry to work with Maven central and add MD5 hash
- correct asset hash logic
- convert possible panics to errors
- [breaking] rename ReleaseNotFound to VersionNotFound
- [breaking] remove bytes dependency
- [breaking] remove bytes dependency
- remove default registry values
- remove extraneous tests
- add tests to improve test coverage
- correct test_blake2b_512
- improve test coverage
- add zonky archive integration test
- correct hash test
postgresql_embedded
- v0.12.0 - 2024-06-21
- [breaking] move version from PostgreSQL::new() to Settings
postgresql_embedded
- v0.11.0 - 2024-06-20
- Enable pedantic lints
- update documentation
- updated archive documentation examples
- [breaking] allow releases URL to be configured
- allow releases url to be specified at build time when the bundles flag is set with the POSTGRESQL_RELEASES_URL environment variable
- export Version to improve dx
- reference settings directly instead of via function call
- update examples
- pass settings release_url when bundled flag is set
- add missing command error tests and clean up lint directives
postgresql_embedded
- v0.10.2 - 2024-06-18
- correct errors when PGDATABASE envar is set
postgresql_embedded
- v0.10.1 - 2024-06-14
- allow Unicode-3.0 license
- [breaking] add ability to specify multiple pg_ctl options and define server configuration in Settings
postgresql_embedded
- v0.9.5 - 2024-06-03
- address pedantic clippy warnings
- don't require rustls for the build script. only enable by default.
postgresql_embedded
- v0.9.4 - 2024-05-31
- add native-tls support
postgresql_embedded
- v0.9.3 - 2024-05-21
- don't trace self, and when tracing commands only trace the base name. makes the traces less enormous and also avoids dumping passwords into traces.
postgresql_embedded
- v0.9.2 - 2024-05-19
- correct lint warnings
- update dependencies
- update dependencies
- correct debug message
- add authentication tests
- improve test coverage
postgresql_embedded
- v0.9.1 - 2024-05-01
- create extract_dir on same filesystem as out_dir
postgresql_embedded
- v0.9.0 - 2024-04-26
- [breaking] define bootstrap superuser as postgres
- [breaking] define bootstrap superuser as postgres
postgresql_embedded
- v0.8.3 - 2024-04-21
- add CODECOV_TOKEN to code coverage build step
- update dependencies
- update reqwest libraries
- address format error
postgresql_embedded
- v0.8.2 - 2024-04-05
- suppress bytes parameter in tracing instrumentation
postgresql_embedded
- v0.8.1 - 2024-04-03
- update build dependencies to address audit check
- add command integration test
postgresql_embedded
- v0.8.0 - 2024-04-03
- update dependencies
- correct linting errors
- [breaking] move commands into postgresql_commands crate
postgresql_embedded
- v0.7.3 - 2024-03-25
- remove scorecard.yml
- add ability to create settings from a url
- remove use of embedded=true parameter
postgresql_embedded
- v0.7.2 - 2024-03-16
- add Debug trait to CommandBuilder
- add tracing instrumentation
postgresql_embedded
- v0.7.1 - 2024-03-15
- correct parallel archive extract failures
postgresql_embedded
- v0.7.0 - 2024-03-15
- update vscode development container instructions
- [breaking] correct parallel archive extract failures
postgresql_embedded
- v0.6.2 - 2024-03-07
- correct lint error
- add reqwest backoff/retry logic and tracing support
postgresql_embedded
- v0.6.1 - 2024-03-06
- update use of settings of postgres connection and correct typo in output
- update dependencies
- remove use of copy left license MPL-2.0 from dependencies
- update dependencies to address RUSTSEC-2024-0020
postgresql_embedded
- v0.6.0 - 2024-02-24
- correct formatting
- correct linting error
- [breaking] remove bundled as a default feature and corrected bug when the bundled feature is not used
postgresql_embedded
- v0.5.0 - 2024-02-22
- remove unnecessary use of command pipes
- update action permissions to reduce write privilege scope
- ignore RUSTSEC-2023-0071 as it is only used in sqlx example code
- correct linting errors
- run all benchmarks from workspace at once instead of individually from crates
- add SECURITY.md
- add postgres driver and sqlx examples
- add documentation explaining why RUSTSEC-2023-0071 is ignored
- [breaking] refactor status to check on demand instead of attempting to track the state dynamically
- remove unused code
postgresql_embedded
- v0.4.1 - 2024-02-18
- Add initial dev container support
- update windows to use UTF8 to align with other operating systems and utilize capabilities of the newer releases from https://github.com/theseus-rs/postgresql-binaries
- add code coverage configuration
- remove extraneous line in Cargo.toml
- update release drafter to version 6 to address node 16 deprecation warning
- update pr-benchmarks name
- update build to run benchmarks
- add BENCHER_API_TOKEN to benchmark action
- remove build.yml and move jobs into ci.yml
- split benchmark runs
- update build to run benchmarks
- add benchmark pull request integration
- update approach for setting ci-number
- add pull-requests: write permission
- remove conditional pr benchmark statements
- add cargo keywords
- update docs for new functions
- add bencher badges
- add devcontainer support
- update psql to manage setting the PGPASSWORD environment variable when pg_password is set
- refactor the way benchmarks run on the main branch vs a PR
- add benchmarks
- add CommandBuilder test coverage
- correct the embedded lifecycle benchmark name
- reduce archive benchmark sample size to 10
- update benchmark configuration
- remove bencher conditional arguments
- combine benchmark runs into one step
- remove all bencher options
- reduce embedded sample size to 10 to reduce benchmark runtime
- update benchmark pull request configuration
postgresql_embedded
- v0.4.0 - 2024-02-13
- add postgres to keywords
- [breaking] remove archive hash from the public interface and always calculate/verify the has when requesting an archive
- [breaking] remove archive hash from the public interface and always calculate/verify the has when requesting an archive
- simplified installation logic and improved code coverage
- improve lifecycle test coverage
- update elapsed error test to sleep longer to prevent intermittent test failure
postgresql_embedded
- v0.3.2 - 2024-02-13
- correct bug where serialization fails when there is a draft release of the PostgreSQL binaries
- add examples
- add missing license definitions
- update test code coverage
- add tests for examples
postgresql_embedded
- v0.3.1 - 2024-02-12
- address linting error
- change tracing levels from info to debug
- add pull request labeler
- update cargo description
- update postgresql_embedded::ArchiveError argument
postgresql_embedded
- v0.3.0 - 2024-02-11
- add release drafter
- [breaking] rename ArchiveError to postgresql_archive::Error and EmbeddedError to postgresql_embedded::Error
postgresql_embedded
- v0.2.3 - 2024-02-11
- add scheduled action to clear github caches
postgresql_embedded
- v0.2.2 - 2024-02-11
- warn when a release tag name does not match the expected version pattern
- remove default feature test
- update release to 0.2.2
- wrap synchronous API docs in feature blocks
- remove ci badge from rust docs
- update examples in documentation to remove unnecessary use of .unwrap()
- enable code coverage
- add code coverage badges
- add tests to improve code coverage
- updated valid initial statuses
postgresql_embedded
- v0.2.1 - 2024-02-10
- update release to 0.2.1
- enable documentation features
postgresql_embedded
- v0.2.0 - 2024-02-10
- update release to 0.2.0
- updated examples to use no_run to prevent documentation build failures
postgresql_embedded
- v0.1.2 - 2024-02-10
- remove cargo vet check
- remove unused cargo dist configuration
- update release to 0.1.2
- update badges for release
- correct crate repository urls
- add documentation for CommandExecutor
- remove note regarding tokio usage for the example
- added documentation for POSTGRESQL_VERSION and GITHUB_TOKEN usage
postgresql_embedded
- v0.1.1 - 2024-02-10
- mark docs as ignored to prevent doc release failures
postgresql_embedded
- v0.1.0 - 2024-02-10
- corrected unused import and unused variable errors when building on windows
- update postgresql_embedded to enable "bundled" as a default feature
- correct doc lint
- correct command test failures on windows
- correct command builder test failures on windows
- correct command builder test bugs on windows
- update archive extract to support symlinks
- corrected extract bug on MacOS caused by a directory being treated as a file
- set encoding to SQL_ASCII for windows until binary is built with UTF8 support; use -o instead of --option when attempting to start the server
- remove failing code coverage actions
- (deps) bump tempfile from 3.9.0 to 3.10.0
- initial CI configuration
- updated tempfile config for cargo vet
- reduce test execution and setup code coverage
- enable rust / cargo caching for ci
- enable caching to ci checks
- update vet check for hermit-abi
- update cargo vet config
- add GITHUB_TOKEN to clippy and tests to address rate limiting
- disable windows build
- add author and release metadata
- add missing crate descriptions
- update release metadata
- update MIT License header
- update ci status badge
- disable blocking rust doc examples
- add ability to embed PostgreSQL installation in a Rust executable
- add GITHUB_TOKEN as a Bearer token when calling the GitHub API in order to increase the rate limit
- added initial tracing support
- update the name of the postgresql binaries repository
- refactor version constant tests so that they can be run in parallel to speed up builds
- corrected pg_ctl test