Skip to content

Bundle 5 dependabot dependency updates#272

Merged
jarlah merged 2 commits into
mainfrom
deps/bundle-dependabot-updates
Jul 23, 2026
Merged

Bundle 5 dependabot dependency updates#272
jarlah merged 2 commits into
mainfrom
deps/bundle-dependabot-updates

Conversation

@jarlah

@jarlah jarlah commented Jul 23, 2026

Copy link
Copy Markdown
Member

Summary

Bundles the 5 open dependabot PRs into one, with kafka_ex's breaking API changes fixed:

  • postgrex 0.22.2 -> 0.22.3
  • credo 1.7.18 -> 1.7.19
  • tesla 1.17.0 -> 1.20.0
  • mongodb_driver 1.6.2 -> 1.6.3
  • kafka_ex 0.15.0 -> 1.1.0 (dependabot's Bump kafka_ex from 0.15.0 to 1.0.1 #270 targeted 1.0.1; bumping to 1.1.0 instead since it fixes a stream auto-commit data-loss bug present in 1.0.1)

kafka_ex 1.0 was a full API rewrite — legacy modules (KafkaEx.Protocol.CreateTopics.TopicRequest) and top-level functions (KafkaEx.produce/4, KafkaEx.stream/3, KafkaEx.metadata/1) were removed in favor of KafkaEx.API.*. This broke test/container/kafka_container_test.exs at compile time on #270 (visible in its failing CI checks). Migrated the test to KafkaEx.API.create_topic/3, produce_one/5, and fetch/4. lib/container/kafka_container.ex itself doesn't depend on kafka_ex at all (it shells out to kafka-topics.sh), so no library code changed.

The other 4 bumps needed no code changes — their existing mix.exs version constraints already permitted the new versions; only mix.lock moved. kafka_ex's constraint (~> 0.13) needed updating to ~> 1.0 to allow the major bump.

Closes #267
Closes #268
Closes #269
Closes #270
Closes #271

Test plan

  • mix test (full suite, no exclusions) — 246 tests, 0 failures, including the migrated real-Kafka-container tests against Docker
  • mix credo --strict — no issues
  • mix format --check-formatted — clean

jarlah added 2 commits July 23, 2026 18:06
Bumps postgrex 0.22.2 -> 0.22.3, credo 1.7.18 -> 1.7.19,
tesla 1.17.0 -> 1.20.0, mongodb_driver 1.6.2 -> 1.6.3, and
kafka_ex 0.15.0 -> 1.1.0.

kafka_ex 1.0 was a full API rewrite (legacy modules like
KafkaEx.Protocol.CreateTopics.TopicRequest and top-level functions
like KafkaEx.produce/4, KafkaEx.stream/3, KafkaEx.metadata/1 were
removed in favor of KafkaEx.API.*), which broke
test/container/kafka_container_test.exs at compile time. Migrated
the test to KafkaEx.API.create_topic/produce_one/fetch. The Kafka
container implementation itself doesn't depend on kafka_ex (it
shells out to kafka-topics.sh), so no lib/ changes were needed.

Targets kafka_ex 1.1.0 rather than the 1.0.1 the dependabot PR
proposed, since 1.1.0 (released today) fixes a stream auto-commit
data-loss bug present in 1.0.1.

Supersedes #267, #268, #269, #270, #271.
uniq 0.6.3 added lib/scoped_uuid.ex, which uses a binary pattern
construct that fails to compile on Elixir 1.15 (works fine on
1.16+). We only ever call Uniq.UUID.uuid4/0, never Uniq.ScopedUUID,
so pinning below the offending release has no functional impact.

Verified no security regression: no advisories for uniq in the OSV
or GitHub Security Advisories databases at any version, and the
only other change between 0.6.2 and 0.6.3 is a cosmetic refactor of
an internal compare/2 helper.

This was failing identically on main and on all 5 original
dependabot PRs before this change.
@jarlah
jarlah merged commit 4572d96 into main Jul 23, 2026
8 checks passed
@jarlah
jarlah deleted the deps/bundle-dependabot-updates branch July 23, 2026 16:39
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.

1 participant