diff --git a/docs/contributing.html b/docs/contributing.html index 6567b2c47e..9201c81aa8 100644 --- a/docs/contributing.html +++ b/docs/contributing.html @@ -911,7 +911,7 @@ window.addEventListener('scroll',changeHeaderBg); -
| Updated 31.01.2023 | Languages: EN, FR, CZ, PL |
+| Updated 25.07.2025 | Languages: EN, FR, CZ, PL |
Add cabal.project.local to project root with the location of OpenSSL headers and libraries and flag setting encryption mode:
This PR has all the differences.
+UI already can handle failed JSON conversions of chats and chat items, and it helps both debugging and downgrading.
+While we can increase versions for remote connections to make different versions incompatible, it degrades remote connection UX, as in many cases users can't upgrade mobile or desktop apps at the same time because of different release cycles.
+It is especially problematic for Android app users, as they can only downgrade via Export/Import - older version can't be installed on top of newer version.
+PR #6105 improved it by:
+To avoid "invalid" chats in the list we need to maintain forward compatibility on JSON encoding level of AChat type and subtypes:
+omittedField method to FromJSON instances of types of new fields to provide a default value, where appropriate,omittedField in JSON instance.To avoid fallback to invalid JSON in chat items we should do the same for ChatItem type and subtypes. It's especially important when adding fields to types used for all CIContent, as otherwise all items will be broken.