Skip to content

0.4.1

Compare
Choose a tag to compare
@Hoverbear Hoverbear released this 25 Mar 23:16
· 558 commits to master since this release
0a473d2

This release includes UX improvements with cargo pgx schema, and performance improvements for Internal and Aggregate.

Upgrading

Please make sure to run cargo install cargo-pgx --version 0.4.1 and update all the pgx extension Cargo.toml's pgx* versions to 0.4.1.

What's Changed

  • Internal::get_or_insert_default, and similar functions were doing some unnecessary allocations. Removing them improves the speed of these functions significantly. (#488)
  • We now #[inline(always)] on pgx::Aggregate's memory context swapping code. (#487)
  • cargo pgx status will by default show the status of all pgx managed PostgreSQLs, instead of the default if one exists in the Cargo.toml. (#505)
  • cargo pgx schema was producing color codes outside of the normal xterm-256color codes, this produced unpleasant output on some terminals (notably Mac's terminal.app). When the output of cargo pgx schema is a TTY it will now produce xterm-256color style codes, and use the user's terminal colors. This removes the need to specify if the user was using a light theme. (#507)
  • If cargo pgx test experiences a cargo related error, we don't report a full eyre error, we just report the cargo errors. (#491)
  • Documentation fixes. (#496)