chore: consolidate package settings in workspace#2100
Conversation
4aecd18 to
e9726f6
Compare
|
This PR fails on the |
|
I just merged #2101 -- will that take care of the failure here? |
allow the same version, edition, and other settings to be centrally managed
e9726f6 to
e5c0472
Compare
|
@eeeebbbbrrrr i don't think it will - the issue here is that the version updater is a bit of a hacky code - which tried to do what is now possible with the workspaces - i.e. keep |
|
hmm. If we can define everything in the workspace Cargo.toml such that the individual crates don't need to be updated whenever we run the If that's the direction you're headed in, please, continue! |
|
@eeeebbbbrrrr exactly. Please merge this PR as it passes and moves in that direction. I will work on another PR to get it further cleaned up |
|
P.S. My biggest concern is that i do not have a full grasp on what changes |
Welcome to pgrx v0.16.0. This release contains support for Postgres 18beta2 and has some breaking changes in that support for pgrx' "hooks" implementation, which has been deprecated for over a year, has finally been removed. Additionally, due to unsoundness issues, direct support for using `heapless` in shared memory has been removed. Users can still do this themselves, which requires them to assert they're taking responsibility of possible unsoundness issues. As always, first install the latest `cargo-pgrx` with: ```shell $ cargo install cargo-pgrx --version 0.16.0 --locked ``` Then you're free to run `cargo pgrx upgrade` in the root of all your extension crates. To pickup pg18beta2 support you'll also want to run `cargo pgrx init` so that it can be downloaded and compiled. # What's Changed ## Breaking Changes * delete `pgrx::hooks` by @usamoi in #2120 * improve shmem api by @usamoi in #2107 ## New Features * update to Postgres v18beta2 by @usamoi in #2111 * feat: `BackgroundWorker::connect_worker_to_spi_by_oid` by @if0ne in #2116 * teach `#[pg_cast]` to support 3-argument CAST functions by @eeeebbbbrrrr in #2119 * teach `#[pg_extern]` about a SUPPORT function by @eeeebbbbrrrr in #2121 ## Bug Fixes * fix name_data_to_str by @usamoi in #2108 * add pg_guard_ffi_boundary to direct_pg_extern_function_call_as_datum by @usamoi in #2118 ## `cargo-pgrx` Improvements * add `--valgrind` to more cargo-pgrx subcommands by @usamoi in #2109 * `cargo pgrx regress --resetdb` will run `setup.sql` by @ccleve in #2113 ## Code Cleanup * filter out unrecognized attributes in PostgresGucEnum by @usamoi in #2102 * Elide needless lifetime by @nyurik in #2097 ## Package/Build System Cleanup * chore: include pgrx-version-updater into workspace by @nyurik in #2101 * chore: consolidate package settings in workspace by @nyurik in #2100 * chore: prepare for 2024 edition by @nyurik in #2103 # Thanks! Thanks to all contributors -- y'alls work helps keep pgrx moving forward. **Full Changelog**: v0.15.0...v0.16.0
…#2100) allow the same version, edition, and other settings to be centrally managed. Also bump to the newer workspace resolver to simplify future 2024 migration
Welcome to pgrx v0.16.0. This release contains support for Postgres 18beta2 and has some breaking changes in that support for pgrx' "hooks" implementation, which has been deprecated for over a year, has finally been removed. Additionally, due to unsoundness issues, direct support for using `heapless` in shared memory has been removed. Users can still do this themselves, which requires them to assert they're taking responsibility of possible unsoundness issues. As always, first install the latest `cargo-pgrx` with: ```shell $ cargo install cargo-pgrx --version 0.16.0 --locked ``` Then you're free to run `cargo pgrx upgrade` in the root of all your extension crates. To pickup pg18beta2 support you'll also want to run `cargo pgrx init` so that it can be downloaded and compiled. # What's Changed ## Breaking Changes * delete `pgrx::hooks` by @usamoi in pgcentralfoundation#2120 * improve shmem api by @usamoi in pgcentralfoundation#2107 ## New Features * update to Postgres v18beta2 by @usamoi in pgcentralfoundation#2111 * feat: `BackgroundWorker::connect_worker_to_spi_by_oid` by @if0ne in pgcentralfoundation#2116 * teach `#[pg_cast]` to support 3-argument CAST functions by @eeeebbbbrrrr in pgcentralfoundation#2119 * teach `#[pg_extern]` about a SUPPORT function by @eeeebbbbrrrr in pgcentralfoundation#2121 ## Bug Fixes * fix name_data_to_str by @usamoi in pgcentralfoundation#2108 * add pg_guard_ffi_boundary to direct_pg_extern_function_call_as_datum by @usamoi in pgcentralfoundation#2118 ## `cargo-pgrx` Improvements * add `--valgrind` to more cargo-pgrx subcommands by @usamoi in pgcentralfoundation#2109 * `cargo pgrx regress --resetdb` will run `setup.sql` by @ccleve in pgcentralfoundation#2113 ## Code Cleanup * filter out unrecognized attributes in PostgresGucEnum by @usamoi in pgcentralfoundation#2102 * Elide needless lifetime by @nyurik in pgcentralfoundation#2097 ## Package/Build System Cleanup * chore: include pgrx-version-updater into workspace by @nyurik in pgcentralfoundation#2101 * chore: consolidate package settings in workspace by @nyurik in pgcentralfoundation#2100 * chore: prepare for 2024 edition by @nyurik in pgcentralfoundation#2103 # Thanks! Thanks to all contributors -- y'alls work helps keep pgrx moving forward. **Full Changelog**: pgcentralfoundation/pgrx@v0.15.0...v0.16.0
allow the same version, edition, and other settings to be centrally managed. Also bump to the newer workspace resolver to simplify future 2024 migration