Skip to content

Update ecto_sql 3.8.3 → 3.12.1 (minor) #90

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

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

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Oct 8, 2024

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ ecto_sql (3.8.3 → 3.12.1) · Repo · Changelog

Release Notes

3.12.1 (from changelog)

Enhancements

  • [sql] Support :pool_count option

3.12.0 (from changelog)

Enhancements

  • [Ecto.Migration] Add Ecto.Migration.remove_if_exists/1
  • [Ecto.Migrator] Warn for migration files that end in .ex
  • [sql] Support for subqueries in order_bys and group_bys
  • [mysql] Add check constraints for MySQL
  • [postgres] Add native bitstring support to Postgres
  • [postgres] Add support for :duration type
  • [postgres] Add :plan explain option for Postgres
  • [tds] Allow passing %Tds.Parameter structs as params for named parameter usage in query

Bug fix

  • [mysql] Type cast of integers in MySQL should use signed integers

3.11.3 (from changelog)

Enhancements

  • [mysql] Relax myxql dependency

3.11.2 (from changelog)

Enhancements

  • [postgres] Relax postgrex dependency

3.11.1 (from changelog)

Enhancements

  • [Ecto.Migration] Add :generated option to columns
  • [Ecto.Migration] Add index storage parameters (via :options) for Postgres

Bug fixes

  • [Ecto.Migrations] Support :prefix on index rename
  • [Ecto.Migrator] Stop runner if migration fails

3.11.0 (from changelog)

Enhancements

  • [mix ecto.migrate] Add --log-level to ecto.migrate
  • [mix ecto.rollback] Add --log-level to ecto.rollback
  • [sql] Support fragment splicing
  • [sql] Support data-modifying CTEs
  • [sql] Add source to insert_ll, insert, update, and delete telemetry events
  • [tds] Include exec before stored procedure for TDS (for earlier SQLServer versions)

Bug fixes

  • [mix ecto.migrate] Read existing dynamic repo in migrations
  • [mix ecto.migrate] Don't add primary key on remove migration

3.10.2 (from changelog)

Enhancements

  • [migrations] Handle from: {reference, opts} in FK migrations
  • [mysql] Support MariaDB versioned tables

Bug fixes

  • [migrations] Don't add comment to removed columns
  • [migrations] Ensure module is loaded before checking for migration
  • [mysql] Fix for casting boolean values in MySQL

3.10.1 (from changelog)

Enhancements

  • [postgres] Allow Postgrex v0.17.x

3.10.0 (from changelog)

Enhancements

  • [Ecto.Migrator] Allow running the migrator in your supervision tree
  • [Ecto.Migrator] Allow renaming an index
  • [Ecto.Migrator] Add execute_file/1 and execute_file/2
  • [mix ecto.dump] Support dumping multiple prefixes on PostgreSQL and MySQL
  • [mysql] Improve constraint matching support on alternative implementations
  • [postgres] Allow CASCADE when dropping a constraint on postgres

Bug fixes

  • [mix ecto.load] Suppress query logs in mix ecto.load when quiet flag is given

3.9.2 (from changelog)

Enhancements

  • [migrator] Raise if target version in to/exclusive_to is not an integer
  • [mysql] Add support for cross lateral joins
  • [postgres] Add support for cross lateral joins
  • [postgres] Add support for materialized CTEs
  • [telemetry] Send cast_params metadata to telemetry events

3.9.1 (from changelog)

Enhancements

  • [mysql] Support :format option on explain
  • [postgres] Permit outer joins when using update_all
  • [sql] Add support for ONLY in index creation

Bug fixes

  • [mysql] Ensure locks are quoted
  • [mysql] Do not crash on mix ecto.drop when the database is unreachable
  • [postgres] Fix empty array compare in PostgreSQL
  • [sql] Allow function sources whose name begins with 'select'

3.9.0 (from changelog)

Enhancements

  • [migrations] Support primary_key configuration options in table
  • [migrations] Add :nulls_distinct option for unique indexes
  • [postgres] Support the use of advisory locks for migrations
  • [sql] Add dump_cmd to postgrex and myxql adapters
  • [sql] Log human-readable UUIDs by using pre-dumped query parameters
  • [sql] Support select aliases from selected_as/1 and selected_as/2
  • [telemetry] Emit schema_migration: true under telemetry_options

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

✳️ jason (1.3.0 → 1.4.4) · Repo · Changelog

Release Notes

1.4.1 (from changelog)

  • Add limit to decoded integer sizes of 1024 digits. This can be changed with the decoding_integer_digit_limit app env config.

1.4.0

Enhancements

  • Use the :erlang.float_to_binary(_, [:short]) function, instead of io_lib_format.fwrite_g/1
    where available (OTP 24.1+). This provides equivalent output with much less memory used
    and significantly improved performance.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 37 commits:

✳️ postgrex (0.16.3 → 0.19.1) · Repo · Changelog

Release Notes

0.19.1 (from changelog)

  • Enhancements

    • Allow encoding/decoding of LSN
  • Bug fixes

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

0.19.0 (from changelog)

  • 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

0.18.0 (from changelog)

  • 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

0.17.5 (from changelog)

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

0.17.4 (from changelog)

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

0.17.3 (from changelog)

  • Enhancements

    • Automatically start :ssl application
  • Bug fix

    • Fix SSL configuration docs for failover case

0.17.2 (from changelog)

  • Bug fix
    • Suppress improper list warnings

0.17.1 (from changelog)

  • Bug fix
    • Fix timeout handling on SimpleConnection

0.17.0 (from changelog)

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

0.16.5 (from changelog)

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

0.16.4 (from changelog)

  • 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

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ db_connection (indirect, 2.4.2 → 2.7.0) · Repo · Changelog

Release Notes

2.7.0 (from changelog)

  • Enhancements

    • Add API for retrieving pool metrics
    • Include a built-in listener that emits telemetry events
  • Bug fixes

    • Discard EXIT messages from trapped exits

2.6.0 (from changelog)

  • Enhancements
    • Call disconnect on terminate
    • Allow handle_begin callbacks to return query for logging purposes
    • Add :connection_listeners_tag
    • Add DBConnection.available_connection_options/0
    • Add DBConnection.available_start_options/0

2.5.0 (from changelog)

  • Internal changes
    • No longer depend on connection

2.4.3 (from changelog)

  • Bug fixes
    • Fix bug where disconnect_all/2 interval would be disabled above 4294ms
    • Add :idle_limit to limit the amount of disconnections on a ping

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 42 commits:

↗️ decimal (indirect, 2.0.0 → 2.1.1) · Repo · Changelog

Release Notes

2.1.1 (from changelog)

Decimal v2.1 requires Elixir v1.8+.

Bug fixes

  • Fix Decimal.compare/2 when comparing against 0

2.1.0 (from changelog)

Decimal v2.1 requires Elixir v1.8+.

Enhancements

  • Improve error message from Decimal.to_integer/1 during precision loss
  • Inspect protocol implementation returns strings in the Decimal.new(...) format
  • Add Decimal.scale/1
  • Optimize Decimal.compare/2 for numbers with large exponents

Bug fixes

  • Fix Decimal.integer?/1 spec
  • Fix Decimal.integer?/1 check on 0 with >1 significant digits

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 26 commits:

↗️ ecto (indirect, 3.8.4 → 3.12.4) · Repo · Changelog

Release Notes

Too many releases to show here. View the full release notes.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ telemetry (indirect, 1.1.0 → 1.3.0) · Repo · Changelog

Release Notes

1.3.0 (from changelog)

Added

  • Ability to return extra measurements from telemetry:span/3.

Changed

  • Rewrite docs from edoc to OTP 27 -moduledoc/-doc.

    Internal macros ?DOC and ?MODULEDOC are used. They are no-ops prior to OTP 27.

1.2.1 (from changelog)

Fixed

  • Fixed a local handler warning log when using telemetry_test. (#124)

1.2.0 (from changelog)

Added

  • Added telemetry_test module for testing telemetry events. (#118)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 17 commits:


👉 No CI detected

You don't seem to have any Continuous Integration service set up!

Without a service that will test the Depfu branches and pull requests, we can't inform you if incoming updates actually work with your app. We think that this degrades the service we're trying to provide down to a point where it is more or less meaningless.

This is fine if you just want to give Depfu a quick try. If you want to really let Depfu help you keep your app up-to-date, we recommend setting up a CI system:

* [Circle CI](https://circleci.com), [Semaphore ](https://semaphoreci.com) and [Github Actions](https://docs.github.com/actions) are all excellent options. * If you use something like Jenkins, make sure that you're using the Github integration correctly so that it reports status data back to Github. * If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with `depfu/`.

Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants