Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency postgrex to == 0.20.0 #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 19, 2023

This PR contains the following updates:

Package Type Update Change
postgrex (source) prod minor == 0.16.5 -> == 0.20.0

Release Notes

elixir-ecto/postgrex (postgrex)

v0.20.0

Compare Source

  • Deprecations

    • Deprecate :search_path and use :parameters option instead
  • Bug fixes

    • Ensure Duration type returns same units as Postgrex.Interval
    • Call disconnect on protocol when reconnecting in Postgrex.ReplicationConnection
    • Call disconnect only if there is protocol in Postgrex.SimpleConnection

v0.19.3

Compare Source

  • Enhancements

    • Default params to in query APIs to []
    • Allow :comment as options to query APIs
  • Bug fixes

    • Call disconnect on protocol when reconnecting in Postgrex.SimpleConnection

v0.19.2

Compare Source

  • Bug fixes
    • Protect against message length overflow vulnerability

v0.19.1

Compare Source

  • Enhancements

    • Allow encoding/decoding of LSN
  • Bug fixes

    • Fix Dialyzer warnings on interval extension
    • Log error message if Postgrex.ReplicationConnection is reconnecting

v0.19.0

Compare Source

  • Enhancements

    • Respect precision for interval, time, timestamp, and timestamptz
    • Remove restriction on year 9999 on datetime columns
    • Support decoding and encoding Elixir's v1.17 Duration as interval
    • Allow starting one stream after the other in replication
  • Bug fixes

    • Return {:stop, state} from gen_statem connection callback

v0.18.0

Compare Source

  • Deprecations

    • :ssl_opts is deprecated in favor of ssl: options
    • ssl: true now emits a warning, as it does not execute server certificate verification
  • Enhancements

    • Allow ReplicationConnection callbacks to trigger disconnect
    • Add :commit_comment option on transactions for prepending a SQL comment to commit statements
    • Return database messages from handle_prepare_execute
  • Backwards incompatible changes

    • Postgrex now sets the SNI headers for SSL authentication by default. If this causes connection issues, you may set server_name_indication: :disable in your :ssl_opts

v0.17.5

Compare Source

  • Enhancements
    • Do not log if request cannot be cancelled on disconnect

v0.17.4

Compare Source

  • Enhancements
    • Trap exits from connect callback
    • Add configuration to skip querying of comp_oids
    • Handle duplicate column names in Table.Reader implementation

v0.17.3

Compare Source

  • Enhancements

    • Automatically start :ssl application
  • Bug fix

    • Fix SSL configuration docs for failover case

v0.17.2

Compare Source

  • Bug fix
    • Suppress improper list warnings

v0.17.1

Compare Source

  • Bug fix
    • Fix timeout handling on SimpleConnection

v0.17.0

Compare Source

  • Enhancements
    • Add SCRAM server signature verification
    • Support Multirange extension
    • Support lquery and ltree extensions

v0.16.5

Compare Source

  • Enhancements
    • Allow the :search_path to be set for new connections

v0.16.4

Compare Source

  • Enhancements
    • Support Unix sockets in hostname and PGHOST
    • Support infinity value on numerics/decimals (PG14+)
    • Add count to Table.Reader metadata
    • Fix warnings on Elixir v1.15

v0.16.3

Compare Source

  • Enhancements
    • Implement the Table.Reader protocol for query result

v0.16.2

Compare Source

  • Enhancements

    • Add :ping_timeout start option
  • Bug fixes

    • Replication streaming can be resumed after reconnect

v0.16.1

Compare Source

  • Bug fixes
    • Fix inconsistent return type for multiple queries in Postgrex.SimpleConnection and Postgrex.ReplicationConnection. Instead always wrap Postgrex.Result in a list.

v0.16.0

Compare Source

Require Elixir v1.11+.

  • Enhancements
    • Support negative years for date, timestamp and timestampz types
    • Add Postgrex.SimpleConnection and Postgrex.ReplicationConnection
  • Bug fixes
    • Cancel any pending requests before closing the socket
    • Fix possible crash on getting default opts when PGPORT is invalid but a port is given

v0.15.13

Compare Source

v0.15.12

Compare Source

v0.15.11

Compare Source

  • Enhancements
    • Support xid8 type introduced in PostgreSQL 13

v0.15.10

Compare Source

  • Enhancements
    • Define child_spec for Postgrex.Notifications
    • Improve error handling when using multiple endpoints
  • Bug fixes
    • Fix dialyzer warnings
    • Fix invalid type error after failover

v0.15.9

Compare Source

  • Enhancements
    • Support the new :endpoints and :target_server_type to make it faster to rotate across multiple instances in cases of failovers
  • Bug fixes
    • Do not warn on undefined JSON library
    • Fix bug when a message which is not a row description, data row, command completion or error message occurs and there is buffer remaining to be processed

v0.15.8

Compare Source

  • Bug fixes
    • Make sure scram authentication method works on Erlang/OTP 24

v0.15.7

Compare Source

  • Enhancements
    • Add compare and to_string to Postgrex.Interval
  • Bug fixes
    • Allow deallocated queries to be re-prepared

v0.15.6

Compare Source

  • Enhancements
    • Support Decimal 2.0
  • Bug fixes
    • Do not keep credentials in state in Postgrex.Notifications

v0.15.5

Compare Source

  • Enhancements
    • Support optional decoding of infinite timestamps
  • Bug fixes
    • Remove cache statements that cannot be described from cache when on a savepoint transaction (such as when inside the SQL sandbox)

v0.15.4

Compare Source

  • Enhancements
    • Fix warnings on Elixir v1.11.0-dev

v0.15.3

Compare Source

  • Enhancements

    • Allow dynamic connection configuration with the :configure for notifications
    • Add :auto_reconnect option for notifications
    • Accept listen commands even if the notifications connection is down or yet to first connect
  • Bug fixes

    • Encode empty arrays in a mechanism compatible with CockroachDB
    • Cleanly terminate connection started with a socket

v0.15.2

Compare Source

  • Enhancements
    • Improve performance of the bootstrap query

v0.15.1

Compare Source

  • Enhancements
    • Support xid8 type introduced in PostgreSQL 13

v0.15.0

Compare Source

Postgrex v0.15+ requires Elixir v1.6+.

  • Enhancements

    • Filter bootstrap more efficiently by avoiding loading tables information on startup
    • Only bootstrap new oids during describe: this means reconnects don't run a bootstrap
      query and describe runs minimal query
    • Parse Postgrex 12beta new version format
    • Raise error when :ssl is required and not started in child_spec/1
  • Bug fixes

    • Don't encode DateTime, NaiveDateTime or Time unless Calendar.ISO

v0.14.3

Compare Source

  • Enhancements
    • Make bootstrap query compatible with CockroachDB 19.1
    • Improve error message when encoding bad tuple

v0.14.2

Compare Source

  • Bug fixes
    • Fix Elixir deprecation warnings
    • Do not crash when receiving notices during authentication
    • Do not crash when receiving an error (caused by a raise) during query execution

v0.14.1

Compare Source

  • Bug fixes
    • Bump decimal dependency to avoid runtime warnings

v0.14.0

Compare Source

  • Enhancements

    • Postgrex.INET will add a /32 netmask to an IPv4 address and a /128 netmask to an IPv6 address during encoding where netmask: nil. When decoding, a /32 netmask (for IPv4) or /128 netmask (for IPv6) will be removed, resulting in netmask: nil for the struct
    • Add :disconnect_on_error_codes which allows Postgrex to automatically disconnect and then reconnect on certain errors. This is useful when using Postgrex against systems that support failover, which would emit certain errors on failover. This change allow those errors to be recovered from transparently
    • Add :cache_statement to Postgrex.query/4 as a built-in statement cache
    • Support scram-sha-256 authentication from PostgreSQL 10
    • Add Postgrex.prepare_execute/4
    • Automatically re-prepare queries that failed to encode due to a database type change
  • Backwards incompatible changes

    • Invoke encode_to_iodata! instead of encode! in JSON encoder
    • Remove Postgrex.CIDR and use Postgrex.INET to encode both inet/cidr (as PostgreSQL may perform implicit/explicit casting at any time)
    • Postgrex.Time, Postgrex.Date and Postgrex.Timestamp were deprecated and now have been effectively removed
    • Postgrex.execute/4 now always returns the prepared query
    • :pool_timeout is removed in favor of :queue_target and :queue_interval. See DBConnection.start_link/2 for more information

Configuration

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Dec 19, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: mix.lock
Command failed: mix deps.update postgrex
    warning: found quoted keyword "test" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of ASCII letters, numbers, and underscores and not beginning with a number do not require quotes
    │
 52 │      "test": ["ecto.create --quiet", "ecto.migrate", "test"]]
    │       ~
    │
    └─ mix.exs:52:7

    warning: use Mix.Config is deprecated. Use the Config module instead
    │
  6 │ use Mix.Config
    │ ~~~~~~~~~~~~~~
    │
    └─ config/config.exs:6

    warning: Mix.Config.config/2 is deprecated. Use the Config module instead
    │
  9 │ config :eblog,
    │ ~~~~~~~~~~~~~~
    │
    └─ config/config.exs:9

    warning: Mix.Config.config/3 is deprecated. Use the Config module instead
    │
 13 │ config :eblog, Eblog.Endpoint,
    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    │
    └─ config/config.exs:13

    warning: Mix.Config.config/3 is deprecated. Use the Config module instead
    │
 21 │ config :logger, :console,
    │ ~~~~~~~~~~~~~~~~~~~~~~~~~
    │
    └─ config/config.exs:21

    warning: Mix.Config.import_config/1 is deprecated. Use the Config module instead
    │
 27 │ import_config "#{Mix.env}.exs"
    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    │
    └─ config/config.exs:27

    warning: use Mix.Config is deprecated. Use the Config module instead
    │
  1 │ use Mix.Config
    │ ~~~~~~~~~~~~~~
    │
    └─ config/dev.exs:1

    warning: Mix.Config.config/3 is deprecated. Use the Config module instead
    │
  9 │ config :eblog, Eblog.Endpoint,
    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    │
    └─ config/dev.exs:9

    warning: Mix.Config.config/3 is deprecated. Use the Config module instead
    │
 19 │ config :eblog, Eblog.Endpoint,
    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    │
    └─ config/dev.exs:19

    warning: Mix.Config.config/3 is deprecated. Use the Config module instead
    │
 30 │ config :logger, :console, format: "[$level] $message\n"
    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    │
    └─ config/dev.exs:30

    warning: Mix.Config.config/3 is deprecated. Use the Config module instead
    │
 34 │ config :phoenix, :stacktrace_depth, 20
    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    │
    └─ config/dev.exs:34

    warning: Mix.Config.config/3 is deprecated. Use the Config module instead
    │
 37 │ config :eblog, Eblog.Repo,
    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~
    │
    └─ config/dev.exs:37

** (Mix) Hex dependency resolution failed

@renovate renovate bot force-pushed the renovate/postgrex-0.x branch from 13b966c to 492d9a4 Compare March 1, 2024 10:12
@renovate renovate bot changed the title chore(deps): update dependency postgrex to == 0.17.4 chore(deps): update dependency postgrex to == 0.17.5 Mar 1, 2024
@renovate renovate bot force-pushed the renovate/postgrex-0.x branch from 492d9a4 to 522b6cb Compare May 18, 2024 09:35
@renovate renovate bot changed the title chore(deps): update dependency postgrex to == 0.17.5 chore(deps): update dependency postgrex to == 0.18.0 May 18, 2024
Copy link
Contributor Author

renovate bot commented May 18, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: mix.lock
Command failed: mix deps.update postgrex
    warning: found quoted keyword "test" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of ASCII letters, numbers, and underscores and not beginning with a number do not require quotes
    │
 52 │      "test": ["ecto.create --quiet", "ecto.migrate", "test"]]
    │      ~
    │
    └─ mix.exs:52:6

    warning: use Mix.Config is deprecated. Use the Config module instead
    │
  6 │ use Mix.Config
    │ ~~~~~~~~~~~~~~
    │
    └─ config/config.exs:6

    warning: Mix.Config.config/2 is deprecated. Use the Config module instead
    │
  9 │ config :eblog,
    │ ~~~~~~~~~~~~~~
    │
    └─ config/config.exs:9

    warning: Mix.Config.config/3 is deprecated. Use the Config module instead
    │
 13 │ config :eblog, Eblog.Endpoint,
    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    │
    └─ config/config.exs:13

    warning: Mix.Config.config/3 is deprecated. Use the Config module instead
    │
 21 │ config :logger, :console,
    │ ~~~~~~~~~~~~~~~~~~~~~~~~~
    │
    └─ config/config.exs:21

    warning: Mix.Config.import_config/1 is deprecated. Use the Config module instead
    │
 27 │ import_config "#{Mix.env}.exs"
    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    │
    └─ config/config.exs:27

    warning: use Mix.Config is deprecated. Use the Config module instead
    │
  1 │ use Mix.Config
    │ ~~~~~~~~~~~~~~
    │
    └─ config/dev.exs:1

    warning: Mix.Config.config/3 is deprecated. Use the Config module instead
    │
  9 │ config :eblog, Eblog.Endpoint,
    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    │
    └─ config/dev.exs:9

    warning: Mix.Config.config/3 is deprecated. Use the Config module instead
    │
 19 │ config :eblog, Eblog.Endpoint,
    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    │
    └─ config/dev.exs:19

    warning: Mix.Config.config/3 is deprecated. Use the Config module instead
    │
 30 │ config :logger, :console, format: "[$level] $message\n"
    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    │
    └─ config/dev.exs:30

    warning: Mix.Config.config/3 is deprecated. Use the Config module instead
    │
 34 │ config :phoenix, :stacktrace_depth, 20
    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    │
    └─ config/dev.exs:34

    warning: Mix.Config.config/3 is deprecated. Use the Config module instead
    │
 37 │ config :eblog, Eblog.Repo,
    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~
    │
    └─ config/dev.exs:37

** (Mix) Hex dependency resolution failed

@renovate renovate bot force-pushed the renovate/postgrex-0.x branch from 522b6cb to b4bfb73 Compare August 3, 2024 20:23
@renovate renovate bot changed the title chore(deps): update dependency postgrex to == 0.18.0 chore(deps): update dependency postgrex to == 0.19.0 Aug 3, 2024
@renovate renovate bot force-pushed the renovate/postgrex-0.x branch from b4bfb73 to fccf463 Compare August 13, 2024 07:26
@renovate renovate bot changed the title chore(deps): update dependency postgrex to == 0.19.0 chore(deps): update dependency postgrex to == 0.19.1 Aug 13, 2024
@renovate renovate bot force-pushed the renovate/postgrex-0.x branch from fccf463 to 2c5a481 Compare October 23, 2024 15:24
@renovate renovate bot changed the title chore(deps): update dependency postgrex to == 0.19.1 chore(deps): update dependency postgrex to == 0.19.2 Oct 23, 2024
@renovate renovate bot force-pushed the renovate/postgrex-0.x branch from 2c5a481 to b51282d Compare November 12, 2024 11:14
@renovate renovate bot changed the title chore(deps): update dependency postgrex to == 0.19.2 chore(deps): update dependency postgrex to == 0.19.3 Nov 12, 2024
@renovate renovate bot force-pushed the renovate/postgrex-0.x branch from b51282d to bcea2b8 Compare February 5, 2025 10:44
@renovate renovate bot changed the title chore(deps): update dependency postgrex to == 0.19.3 chore(deps): update dependency postgrex to == 0.20.0 Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants