v1.0.0-rc.0
·
147 commits
to main
since this release
This is plrust's first release candidate!
As things stand now, the code is frozen. Only major bugs, security issues, and documentation will be changed between now and the final release.
Documentation is being worked on as part of PR #171.
Major Changes
-
plrust linting via plrustc custom driver by @thomcc in #198
- Lint uses of
include_str/include_bytesby @thomcc in #214 - Block function pointers via a lint by @thomcc in #216
- Block async/await via a lint by @thomcc in #217
- Allow disabling linting when it is set to an empty string by @JohnHVancouver in #219
- Lint against leaky functions by @thomcc in #224
- Lint against
include!,env!,option_env!, and external modules as well by @thomcc in #220 - Lint against
dyn Fn{,Mut,Once}by @thomcc in #226 - Add a lint for the
print!family of macros by @thomcc in #228 - Cleanup/rewrite plrustc main.rs by @thomcc in #229
- Integrate plrustc lints by @eeeebbbbrrrr in #207
- Lint uses of
-
Teach trusted-pgx and plrust about more pgx-supported data types. by @eeeebbbbrrrr in #213
- This did lead to disabling date/time support for now.
pgxneeds improved support before these types will be usable by plrust
- This did lead to disabling date/time support for now.
-
Rename
trusted-pgxtoplrust-trusted-pgxby @eeeebbbbrrrr in #232- Allows us to version and update a plrust user function's dependency on pgx independently of plrust and pgx
Bug Fixes
- Fix issue #200 -
RETURNS SETOFnow works by @eeeebbbbrrrr in #202 - Add newline before closing block by @thomcc in #230
- fix issue #204:
pg_restoreworks by @eeeebbbbrrrr in #212 - address issue #197 by blocking RETURNS TABLE, OUT and INOUT function argument by @eeeebbbbrrrr in #235
General Cleanup
- Remove MacOS-specific "generation" by @eeeebbbbrrrr in #196
- Rewrite TcpStream test by @workingjubilee in #225
- Verify
postgrestd::net::TcpStreamcan't connect by @workingjubilee in #211 - Add pgx::log by @JohnHVancouver in #221
- Remove unused pgx feature flags by @workingjubilee in #227
- Stop using LTO to build function crates by @workingjubilee in #215
Documentation
- tidy up what we expose in docs for trusted-pgx by @eeeebbbbrrrr in #231
- document environment variables... by @eeeebbbbrrrr in #199
Full Changelog: v1.0.0-beta.1...v1.0.0-rc.0