Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [3.2.6] - 2026-05-24

### Fixed
- Clearing an item tag's description on edit was silently ignored — the Retrofit JSON config keeps `encodeDefaults = false`, so `ItemTagBodyDetail.description = ""` (equal to its declared default) was dropped from the request body and the server's partial update left the old description in place. Removed the default so the empty string is always sent

## [3.2.5] - 2026-05-08

### Changed
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ android {
applicationId = "com.nativeapptemplate.nativeapptemplatefree"
targetSdk = 36
minSdk = 26
versionCode = 10
versionName = "3.2.5"
versionCode = 11
versionName = "3.2.6"

vectorDrawables {
useSupportLibrary = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class DemoItemTagRepositoryTest {
ItemTagBody(
itemTagBodyDetail = ItemTagBodyDetail(
name = itemTagData.getName(),
description = "",
),
),
).first(),
Expand All @@ -86,6 +87,7 @@ class DemoItemTagRepositoryTest {
itemTagBody = ItemTagBody(
itemTagBodyDetail = ItemTagBodyDetail(
name = itemTagData.getName(),
description = "",
),
),
).first(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,9 @@ import kotlinx.serialization.Serializable
@Parcelize
data class ItemTagBodyDetail(
val name: String,
val description: String = "",
// No default: with the Json config's encodeDefaults = false, a value equal to
// its default ("") is dropped from the payload, so clearing a description on
// edit would be silently ignored by the server's partial update. Both call
// sites supply description explicitly.
val description: String,
) : Parcelable
Loading