[PR #4169] [MERGED] [PM-13900] Update Bitwarden SDK to add canManage to Collection objects #4744

Closed
opened 2025-11-26 23:49:11 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/4169
Author: @SaintPatrck
Created: 10/25/2024
Status: Merged
Merged: 10/30/2024
Merged by: @SaintPatrck

Base: mainHead: PM-13900/update-bw-sdk


📝 Commits (1)

  • c97ea2d [PM-13900] Add the canManage property to the CollectionEntity and SyncResponseJson

📊 Changes

13 files changed (+279 additions, -4 deletions)

View changed files

app/schemas/com.x8bit.bitwarden.data.vault.datasource.disk.database.VaultDatabase/4.json (+256 -0)
📝 app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/disk/VaultDiskSourceImpl.kt (+3 -0)
📝 app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/disk/database/VaultDatabase.kt (+1 -1)
📝 app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/disk/entity/CollectionEntity.kt (+3 -0)
📝 app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/network/model/SyncResponseJson.kt (+3 -0)
📝 app/src/main/java/com/x8bit/bitwarden/data/vault/repository/util/VaultSdkCollectionExtensions.kt (+1 -0)
📝 app/src/test/java/com/x8bit/bitwarden/data/vault/datasource/disk/VaultDiskSourceTest.kt (+1 -0)
📝 app/src/test/java/com/x8bit/bitwarden/data/vault/datasource/network/model/SyncResponseCollectionUtil.kt (+1 -0)
📝 app/src/test/java/com/x8bit/bitwarden/data/vault/datasource/network/service/SyncServiceTest.kt (+2 -1)
📝 app/src/test/java/com/x8bit/bitwarden/data/vault/datasource/sdk/model/CollectionViewUtil.kt (+1 -0)
📝 app/src/test/java/com/x8bit/bitwarden/data/vault/datasource/sdk/model/VaultSdkCollectionUtil.kt (+1 -0)
📝 app/src/test/java/com/x8bit/bitwarden/data/vault/repository/util/VaultSdkCollectionExtensionsTest.kt (+4 -0)
📝 gradle/libs.versions.toml (+2 -2)

📄 Description

🎟️ Tracking

JIRA

https://bitwarden.atlassian.net/browse/PM-13900
https://bitwarden.atlassian.net/browse/PM-13933
https://bitwarden.atlassian.net/browse/PM-14062

GitHub

Closes #4171

📔 Objective

This commit updates the Bitwarden SDK to the latest version and references the temporary internal group name. The group name will be reverted back when internal SDK infrastructure changes are completed.

This commit also adds the canManage property to the CollectionEntity and SyncResponseJson classes to support the management of collections. It also includes necessary test updates and updates to the database schema to reflect these changes.

Depends on #4158

Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed
    issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bitwarden/android/pull/4169 **Author:** [@SaintPatrck](https://github.com/SaintPatrck) **Created:** 10/25/2024 **Status:** ✅ Merged **Merged:** 10/30/2024 **Merged by:** [@SaintPatrck](https://github.com/SaintPatrck) **Base:** `main` ← **Head:** `PM-13900/update-bw-sdk` --- ### 📝 Commits (1) - [`c97ea2d`](https://github.com/bitwarden/android/commit/c97ea2d00bd77c43d3f373a55d2505b19fc3ef30) [PM-13900] Add the canManage property to the CollectionEntity and SyncResponseJson ### 📊 Changes **13 files changed** (+279 additions, -4 deletions) <details> <summary>View changed files</summary> ➕ `app/schemas/com.x8bit.bitwarden.data.vault.datasource.disk.database.VaultDatabase/4.json` (+256 -0) 📝 `app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/disk/VaultDiskSourceImpl.kt` (+3 -0) 📝 `app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/disk/database/VaultDatabase.kt` (+1 -1) 📝 `app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/disk/entity/CollectionEntity.kt` (+3 -0) 📝 `app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/network/model/SyncResponseJson.kt` (+3 -0) 📝 `app/src/main/java/com/x8bit/bitwarden/data/vault/repository/util/VaultSdkCollectionExtensions.kt` (+1 -0) 📝 `app/src/test/java/com/x8bit/bitwarden/data/vault/datasource/disk/VaultDiskSourceTest.kt` (+1 -0) 📝 `app/src/test/java/com/x8bit/bitwarden/data/vault/datasource/network/model/SyncResponseCollectionUtil.kt` (+1 -0) 📝 `app/src/test/java/com/x8bit/bitwarden/data/vault/datasource/network/service/SyncServiceTest.kt` (+2 -1) 📝 `app/src/test/java/com/x8bit/bitwarden/data/vault/datasource/sdk/model/CollectionViewUtil.kt` (+1 -0) 📝 `app/src/test/java/com/x8bit/bitwarden/data/vault/datasource/sdk/model/VaultSdkCollectionUtil.kt` (+1 -0) 📝 `app/src/test/java/com/x8bit/bitwarden/data/vault/repository/util/VaultSdkCollectionExtensionsTest.kt` (+4 -0) 📝 `gradle/libs.versions.toml` (+2 -2) </details> ### 📄 Description ## 🎟️ Tracking ### JIRA https://bitwarden.atlassian.net/browse/PM-13900 https://bitwarden.atlassian.net/browse/PM-13933 https://bitwarden.atlassian.net/browse/PM-14062 ### GitHub Closes #4171 ## 📔 Objective This commit updates the Bitwarden SDK to the latest version and references the temporary internal group name. The group name will be reverted back when internal SDK infrastructure changes are completed. This commit also adds the `canManage` property to the `CollectionEntity` and `SyncResponseJson` classes to support the management of collections. It also includes necessary test updates and updates to the database schema to reflect these changes. Depends on #4158 ## ⏰ Reminders before review - Contributor guidelines followed - All formatters and local linters executed and passed - Written new unit and / or integration tests where applicable - Used internationalization (i18n) for all UI strings - CI builds passed - Communicated to DevOps any deployment requirements - Updated any necessary documentation or informed the documentation team ## 🦮 Reviewer guidelines <!-- Suggested interactions but feel free to use (or not) as you desire! --> - 👍 (`:+1:`) or similar for great changes - 📝 (`:memo:`) or ℹ️ (`:information_source:`) for notes or general info - ❓ (`:question:`) for questions - 🤔 (`:thinking:`) or 💭 (`:thought_balloon:`) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion - 🎨 (`:art:`) for suggestions / improvements - ❌ (`:x:`) or ⚠️ (`:warning:`) for more significant problems or concerns needing attention - 🌱 (`:seedling:`) or ♻️ (`:recycle:`) for future improvements or indications of technical debt - ⛏ (`:pick:`) for minor or nitpick changes --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-26 23:49:11 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#4744