tulsawebdevs / services-voting

A microservice backend for tracking proposed meetup topics and civic projects and voting on them
1 stars 8 forks source link

fix(deps): update dependency slonik to v43 - autoclosed #37

Closed renovate[bot] closed 4 months ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
slonik ^40.2.1 -> ^43.0.0 age adoption passing confidence

Release Notes

gajus/slonik (slonik) ### [`v43.0.8`](https://togithub.com/gajus/slonik/releases/tag/slonik%4043.0.8) [Compare Source](https://togithub.com/gajus/slonik/compare/slonik@43.0.7...slonik@43.0.8) ##### Patch Changes - [`30f1dc4`](https://togithub.com/gajus/slonik/commit/30f1dc4469fe6065f90651c2e1c501d5374358c7) Thanks [@​gajus](https://togithub.com/gajus)! - remove exports - Updated dependencies \[[`30f1dc4`](https://togithub.com/gajus/slonik/commit/30f1dc4469fe6065f90651c2e1c501d5374358c7)]: - [@​slonik/driver](https://togithub.com/slonik/driver)[@​43](https://togithub.com/43).0.8 - [@​slonik/errors](https://togithub.com/slonik/errors)[@​43](https://togithub.com/43).0.8 - [@​slonik/pg-driver](https://togithub.com/slonik/pg-driver)[@​43](https://togithub.com/43).0.8 - [@​slonik/sql-tag](https://togithub.com/slonik/sql-tag)[@​43](https://togithub.com/43).0.8 - [@​slonik/utilities](https://togithub.com/slonik/utilities)[@​43](https://togithub.com/43).0.8 ### [`v43.0.7`](https://togithub.com/gajus/slonik/releases/tag/slonik%4043.0.7) [Compare Source](https://togithub.com/gajus/slonik/compare/slonik@43.0.6...slonik@43.0.7) ##### Patch Changes - [`dba5be1`](https://togithub.com/gajus/slonik/commit/dba5be1b34868059c3f64a8dc44e48703625a3b9) Thanks [@​gajus](https://togithub.com/gajus)! - corrects exports; adds more logging about pool state - Updated dependencies \[[`dba5be1`](https://togithub.com/gajus/slonik/commit/dba5be1b34868059c3f64a8dc44e48703625a3b9)]: - [@​slonik/driver](https://togithub.com/slonik/driver)[@​43](https://togithub.com/43).0.7 - [@​slonik/errors](https://togithub.com/slonik/errors)[@​43](https://togithub.com/43).0.7 - [@​slonik/pg-driver](https://togithub.com/slonik/pg-driver)[@​43](https://togithub.com/43).0.7 - [@​slonik/sql-tag](https://togithub.com/slonik/sql-tag)[@​43](https://togithub.com/43).0.7 - [@​slonik/utilities](https://togithub.com/slonik/utilities)[@​43](https://togithub.com/43).0.7 ### [`v43.0.6`](https://togithub.com/gajus/slonik/releases/tag/slonik%4043.0.6) [Compare Source](https://togithub.com/gajus/slonik/compare/slonik@43.0.5...slonik@43.0.6) ##### Patch Changes - [#​591](https://togithub.com/gajus/slonik/pull/591) [`30e89a6`](https://togithub.com/gajus/slonik/commit/30e89a6f2ab1fc8f9d010bb0157ce41aa4da80e8) Thanks [@​gajus](https://togithub.com/gajus)! - split driver into a separate package - [#​591](https://togithub.com/gajus/slonik/pull/591) [`30e89a6`](https://togithub.com/gajus/slonik/commit/30e89a6f2ab1fc8f9d010bb0157ce41aa4da80e8) Thanks [@​gajus](https://togithub.com/gajus)! - add slonik-interceptor-query-cache to monorepo - Updated dependencies \[[`30e89a6`](https://togithub.com/gajus/slonik/commit/30e89a6f2ab1fc8f9d010bb0157ce41aa4da80e8), [`30e89a6`](https://togithub.com/gajus/slonik/commit/30e89a6f2ab1fc8f9d010bb0157ce41aa4da80e8)]: - [@​slonik/pg-driver](https://togithub.com/slonik/pg-driver)[@​43](https://togithub.com/43).0.6 - [@​slonik/utilities](https://togithub.com/slonik/utilities)[@​43](https://togithub.com/43).0.6 - [@​slonik/sql-tag](https://togithub.com/slonik/sql-tag)[@​43](https://togithub.com/43).0.6 - [@​slonik/driver](https://togithub.com/slonik/driver)[@​43](https://togithub.com/43).0.6 - [@​slonik/errors](https://togithub.com/slonik/errors)[@​43](https://togithub.com/43).0.6 ### [`v43.0.5`](https://togithub.com/gajus/slonik/releases/tag/slonik%4043.0.5) [Compare Source](https://togithub.com/gajus/slonik/compare/slonik@43.0.4...slonik@43.0.5) ##### Patch Changes - [`d1958fd`](https://togithub.com/gajus/slonik/commit/d1958fd6acfcd48cc4148811106b63daf28b52a8) Thanks [@​gajus](https://togithub.com/gajus)! - log how long it took to acquire a connection - Updated dependencies \[[`d1958fd`](https://togithub.com/gajus/slonik/commit/d1958fd6acfcd48cc4148811106b63daf28b52a8)]: - [@​slonik/errors](https://togithub.com/slonik/errors)[@​43](https://togithub.com/43).0.5 - [@​slonik/sql-tag](https://togithub.com/slonik/sql-tag)[@​43](https://togithub.com/43).0.5 ### [`v43.0.4`](https://togithub.com/gajus/slonik/releases/tag/slonik%4043.0.4) [Compare Source](https://togithub.com/gajus/slonik/compare/slonik@43.0.3...slonik@43.0.4) ##### Patch Changes - [`d0d9a82`](https://togithub.com/gajus/slonik/commit/d0d9a82dee0980c4768d74e90e20491ada126816) Thanks [@​gajus](https://togithub.com/gajus)! - use $slonik\_ bindings - Updated dependencies \[[`d0d9a82`](https://togithub.com/gajus/slonik/commit/d0d9a82dee0980c4768d74e90e20491ada126816)]: - [@​slonik/errors](https://togithub.com/slonik/errors)[@​43](https://togithub.com/43).0.4 - [@​slonik/sql-tag](https://togithub.com/slonik/sql-tag)[@​43](https://togithub.com/43).0.4 ### [`v43.0.3`](https://togithub.com/gajus/slonik/releases/tag/slonik%4043.0.3) [Compare Source](https://togithub.com/gajus/slonik/compare/slonik@43.0.2...slonik@43.0.3) ##### Patch Changes - [`c9e261d`](https://togithub.com/gajus/slonik/commit/c9e261d8af6490ad84b450b6e4b598f662d92203) Thanks [@​gajus](https://togithub.com/gajus)! - log when connection pool is full - [`0f072df`](https://togithub.com/gajus/slonik/commit/0f072df5f3796fc2571c0e5e81405a36000ab9ec) Thanks [@​gajus](https://togithub.com/gajus)! - drop ambiguous SqlFragment member - Updated dependencies \[[`0f072df`](https://togithub.com/gajus/slonik/commit/0f072df5f3796fc2571c0e5e81405a36000ab9ec)]: - [@​slonik/sql-tag](https://togithub.com/slonik/sql-tag)[@​43](https://togithub.com/43).0.3 - [@​slonik/errors](https://togithub.com/slonik/errors)[@​43](https://togithub.com/43).0.3 ### [`v43.0.2`](https://togithub.com/gajus/slonik/releases/tag/slonik%4043.0.2) [Compare Source](https://togithub.com/gajus/slonik/compare/slonik@43.0.1...slonik@43.0.2) ##### Patch Changes - Updated dependencies \[[`a28e8ac`](https://togithub.com/gajus/slonik/commit/a28e8ac7325e24b2c27c05f22b597dbd1898049b)]: - [@​slonik/sql-tag](https://togithub.com/slonik/sql-tag)[@​43](https://togithub.com/43).0.2 - [@​slonik/errors](https://togithub.com/slonik/errors)[@​43](https://togithub.com/43).0.2 ### [`v43.0.1`](https://togithub.com/gajus/slonik/releases/tag/slonik%4043.0.1) [Compare Source](https://togithub.com/gajus/slonik/compare/slonik@43.0.0...slonik@43.0.1) ##### Patch Changes - [`146a301`](https://togithub.com/gajus/slonik/commit/146a3011b6b9cbd1a3a5dbc7ce3a13d9cc6bb2ae) Thanks [@​gajus](https://togithub.com/gajus)! - add missing type exports - Updated dependencies \[[`146a301`](https://togithub.com/gajus/slonik/commit/146a3011b6b9cbd1a3a5dbc7ce3a13d9cc6bb2ae)]: - [@​slonik/errors](https://togithub.com/slonik/errors)[@​43](https://togithub.com/43).0.1 - [@​slonik/sql-tag](https://togithub.com/slonik/sql-tag)[@​43](https://togithub.com/43).0.1 ### [`v43.0.0`](https://togithub.com/gajus/slonik/releases/tag/slonik%4043.0.0) [Compare Source](https://togithub.com/gajus/slonik/compare/slonik@42.0.0...slonik@43.0.0) ##### Minor Changes - [`8c58884`](https://togithub.com/gajus/slonik/commit/8c588849338dbc626d661a04af9f162a791f3e31) Thanks [@​gajus](https://togithub.com/gajus)! - force version bump ##### Patch Changes - [`cb257c5`](https://togithub.com/gajus/slonik/commit/cb257c55a72ce82364ce1e3bf787e4cc2a517989) Thanks [@​gajus](https://togithub.com/gajus)! - correct createSqlTokenSqlFragment export - Updated dependencies \[[`cb257c5`](https://togithub.com/gajus/slonik/commit/cb257c55a72ce82364ce1e3bf787e4cc2a517989), [`8c58884`](https://togithub.com/gajus/slonik/commit/8c588849338dbc626d661a04af9f162a791f3e31)]: - [@​slonik/errors](https://togithub.com/slonik/errors)[@​43](https://togithub.com/43).0.0 - [@​slonik/sql-tag](https://togithub.com/slonik/sql-tag)[@​43](https://togithub.com/43).0.0 ### [`v42.0.0`](https://togithub.com/gajus/slonik/releases/tag/slonik%4042.0.0) [Compare Source](https://togithub.com/gajus/slonik/compare/v41.2.1...slonik@42.0.0) ##### Minor Changes - [`fb83bd9`](https://togithub.com/gajus/slonik/commit/fb83bd900b85b5e672db49694a8171b9296c252c) Thanks [@​gajus](https://togithub.com/gajus)! - force update version ##### Patch Changes - Updated dependencies \[[`fb83bd9`](https://togithub.com/gajus/slonik/commit/fb83bd900b85b5e672db49694a8171b9296c252c)]: - [@​slonik/sql-tag](https://togithub.com/slonik/sql-tag)[@​41](https://togithub.com/41).3.0 - [@​slonik/errors](https://togithub.com/slonik/errors)[@​41](https://togithub.com/41).3.0 ### [`v41.2.1`](https://togithub.com/gajus/slonik/compare/v41.2.0...v41.2.1) [Compare Source](https://togithub.com/gajus/slonik/compare/v41.2.0...v41.2.1) ### [`v41.2.0`](https://togithub.com/gajus/slonik/compare/v41.1.0...v41.2.0) [Compare Source](https://togithub.com/gajus/slonik/compare/v41.1.0...v41.2.0) ### [`v41.1.0`](https://togithub.com/gajus/slonik/compare/v41.0.1...v41.1.0) [Compare Source](https://togithub.com/gajus/slonik/compare/v41.0.1...v41.1.0) ### [`v41.0.1`](https://togithub.com/gajus/slonik/releases/tag/v41.0.1) [Compare Source](https://togithub.com/gajus/slonik/compare/v41.0.0...v41.0.1) The fix is in this commit: https://github.com/gajus/slonik/commit/0e83bc14817936eb409bd36d099a4615d69914fb It shows how simultaneously releasing and ending the pool could have resulted in termination sequence proceeding without waiting for release sequence to complete. The symptom of this would have been an error that complains about an attempt to use a terminated backend. Shoutout to [@​mikeroelens](https://togithub.com/mikeroelens) for going above and beyond to chase down the root of the issue and suggest a fix and context that led to replicating the mysterious behavior. 🥳 ### [`v41.0.0`](https://togithub.com/gajus/slonik/releases/tag/v41.0.0) [Compare Source](https://togithub.com/gajus/slonik/compare/v40.2.6...v41.0.0) New Slonik behavior means that you can no longer accidentally run a non-transaction query inside of a transaction. If you receive an error `UnexpectedForeignConnectionError`, then you are trying to execute a query using a connection that is not associated with the transaction. This error is thrown to prevent accidental unsafe transaction handling, e.g. connection.transaction(async (transactionConnection) => { await connection.query(sql.typeAlias('void')`INSERT INTO foo (bar) VALUES ('baz')`); }); In this example, the query is executed using the `connection` that is not associated with the transaction. This is unsafe because the query is not part of the transaction and will not be rolled back if the transaction is aborted. This behavior is achieved using AsyncLocalContext. ### [`v40.2.6`](https://togithub.com/gajus/slonik/compare/v40.2.5...v40.2.6) [Compare Source](https://togithub.com/gajus/slonik/compare/v40.2.5...v40.2.6) ### [`v40.2.5`](https://togithub.com/gajus/slonik/compare/v40.2.4...v40.2.5) [Compare Source](https://togithub.com/gajus/slonik/compare/v40.2.4...v40.2.5) ### [`v40.2.4`](https://togithub.com/gajus/slonik/compare/v40.2.3...v40.2.4) [Compare Source](https://togithub.com/gajus/slonik/compare/v40.2.3...v40.2.4) ### [`v40.2.3`](https://togithub.com/gajus/slonik/compare/v40.2.2...v40.2.3) [Compare Source](https://togithub.com/gajus/slonik/compare/v40.2.2...v40.2.3) ### [`v40.2.2`](https://togithub.com/gajus/slonik/compare/v40.2.1...v40.2.2) [Compare Source](https://togithub.com/gajus/slonik/compare/v40.2.1...v40.2.2)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.