Skip to content

Comments

Bump chirpstack_api from 4.16.1 to 4.16.2#106

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/chirpstack_api-4.16.2
Open

Bump chirpstack_api from 4.16.1 to 4.16.2#106
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/chirpstack_api-4.16.2

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Feb 9, 2026

Bumps chirpstack_api from 4.16.1 to 4.16.2.

Release notes

Sourced from chirpstack_api's releases.

v4.16.2

Bugfixes

SQLite migration fix

This release fixes a critical issue in the SQLite migration, that causes deleting devices from the device table. (#825).

Context: SQLite has limited support for ALTER TABLE queries, therefore it is often needed to re-create the table with the updated schema, copy over the data and remove the old table. In this specific migration, the device_profile table is re-created to drop the NOT NULL constraint on the tenant_id column to make it possible to store both "global" and tenant-owned device profiles. To avoid that this triggers the deletion of data with a foreign-key constraint to this table, the re-create, copy, delete and rename process was between:

pragma foreign_keys = 0;
-- create, copy, delete, rename queries
pragma foreign_keys = 1;

This works fine when executed outside the context of an SQLite transaction (which was tested), but fails when executed within a transaction (when executed through diesel), as per SQLite documentation: This pragma is a no-op within a transaction.

This is fixed by disabling the foreign_keys PRAGMA before diesel starts the transaction for executing migrations.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [chirpstack_api](https://github.com/chirpstack/chirpstack) from 4.16.1 to 4.16.2.
- [Release notes](https://github.com/chirpstack/chirpstack/releases)
- [Commits](chirpstack/chirpstack@v4.16.1...v4.16.2)

---
updated-dependencies:
- dependency-name: chirpstack_api
  dependency-version: 4.16.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants