Skip to content

Commit

Permalink
Prepare release 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sad-spirit committed May 27, 2024
1 parent 8b2a03c commit d9d1571
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Changelog

## [Unreleased]
## [2.4.0] - 2024-05-27

### Changed
* `NativeStatement::executePrepared()` now uses `pg_wrapper`'s `PreparedStatement::executeParams()` under the hood,
all parameter values should be passed in the `$params` argument. This was already the case when
`NativeStatement` was built from a statement initially containing named parameters, but not with positional ones.
`NativeStatement` was built from a statement initially containing named parameters, but not positional ones.
* `NativeStatement::prepare()` will fetch info on parameter types from the DB if some types are not given explicitly
either in `$paramTypes` argument or via typecasts in the query itself. Previously these types were inferred from
the types of parameter values on PHP side.
Expand Down Expand Up @@ -362,4 +362,4 @@ Initial release on GitHub
[2.3.0-beta]: https://github.com/sad-spirit/pg-builder/compare/v2.2.0...v2.3.0-beta
[2.3.0]: https://github.com/sad-spirit/pg-builder/compare/v2.3.0-beta...v2.3.0
[2.3.1]: https://github.com/sad-spirit/pg-builder/compare/v2.3.0...v2.3.1
[Unreleased]: https://github.com/sad-spirit/pg-builder/compare/v2.3.1...HEAD
[2.4.0]: https://github.com/sad-spirit/pg-builder/compare/v2.3.1...v2.4.0

0 comments on commit d9d1571

Please sign in to comment.