Skip to content

3.0: upgrade sqlx to 0.9 #85

Closed

Description

@CodingAnarchy

sqlx 0.9.0 is released, and sqlx is part of Hammerwork's public API: JobQueue<DB: sqlx::Database>, the pools passed to JobQueue::new, DatabaseQueue<Database = DB> and MigrationRunner. Users can't move their own code to sqlx 0.9 while Hammerwork pins 0.8, and a major release is the only place to change it.

  • Upgrade the workspace (library, CLI, dashboard, integrations) and re-check every query on PostgreSQL and MySQL (type mapping, raw_sql, the prepared vs text protocol for migrations, MySQL TIMESTAMP decoding).
  • Re-check MSRV and cargo metadata --locked.
  • Document the upgrade in the 3.0 notes.

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions