You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/library-changes.md
+43-32Lines changed: 43 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ This page outlines the various changes made to the TagStudio library save file f
12
12
13
13
---
14
14
15
-
## JSON
15
+
## JSON <small>v1.0.0 - v9.4.2</small>
16
16
17
17
Legacy (JSON) library save format versions were tied to the release version of the program itself. This number was stored in a `version` key inside the JSON file.
18
18
@@ -28,21 +28,30 @@ Replaced by the new SQLite format introduced in TagStudio [v9.5.0 Pre-Release 1]
28
28
29
29
---
30
30
31
-
## SQLite
31
+
## SQLite <small>v9.5.0+</small>
32
32
33
33
Starting with TagStudio [v9.5.0-pr1](https://github.com/TagStudioDev/TagStudio/releases/tag/v9.5.0-pr1), the library save format has been moved to a [SQLite](https://sqlite.org) format. Legacy JSON libraries are migrated (with the user's consent) to the new format when opening in current versions of the program. The save format versioning is now separate from the program's versioning number.
34
34
35
+
### Versioning
36
+
35
37
Versions **1-100** stored the database version in a table called `preferences` in a row with the `key` column of `"DB_VERSION"` inside the corresponding `value` column.
36
38
37
39
Versions **>101** store the database version in a table called `versions` in a row with the `key` column of `'CURRENT'` inside the corresponding `value` column. The `versions` table also stores the initial database version in which the file was created with under the `'INITIAL'` key. Databases created before this key was introduced will always have `'INITIAL'` value of `100`.
|`'INITIAL'`| <Version DB was created with, minimum `100`\>|
46
+
|`'CURRENT'`| <Current version of DB\>|
47
+
48
+
#### Major and Minor Versioning
49
+
50
+
Version **100** came along with a major/minor versioning system built into to the single version number. The version number divided by 100 denotes the major version, while remaining digits denote the minor version. TagStudio will allow reading from "future" databases so long as the major version does not increase past the last one it understands.
51
+
52
+
For example, a database with version 204 would still be readable in an older version of TagStudio that understands version 200. A database with version 300, on the other hand, would no longer be readable in that same older version and an error message would display.
53
+
54
+
---
46
55
47
56
### Versions 1 - 5
48
57
@@ -95,13 +104,13 @@ Migration from the legacy JSON format is provided via a walkthrough when opening
- The version number divided by 100 (and floored) constitutes the **major** version. Major version indicate breaking changes that prevent libraries from being opened in TagStudio versions older than the ones they were created in.
@@ -110,11 +119,11 @@ Migration from the legacy JSON format is provided via a walkthrough when opening
Copy file name to clipboardExpand all lines: docs/preview-support.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,6 +124,8 @@ Archive thumbnails will display the first image from the archive within the Prev
124
124
!!! failure "3D Model Support"
125
125
TagStudio does not currently support previews for 3D model files *(outside of Blender project embedded thumbnails)*. This is on our [roadmap](roadmap.md#uiux) for a future release.
126
126
127
+
See the [GitHub discussion](https://github.com/TagStudioDev/TagStudio/discussions/1231) relating to status of this feature.
128
+
127
129
### :material-format-font: Fonts
128
130
129
131
Font thumbnails will use a "Aa" example preview of the font, with a full alphanumeric of the font available in the Preview Panel.
@@ -155,7 +157,7 @@ Text files render the first 256 bytes of text information to an image preview fo
155
157
156
158
<!-- prettier-ignore-start -->
157
159
[^1]:
158
-
The `.jpg_large` extension is unofficial and instead the byproduct of how [Google Chrome used to download images from Twitter](https://fileinfo.com/extension/jpg_large). Since this mangled extension is still in circulation, TagStudio supports it.
160
+
The `.jpg_large` extension is unofficial and is instead the byproduct of how [Google Chrome used to download images from Twitter](https://fileinfo.com/extension/jpg_large). Since this mangled extension is still in circulation, TagStudio supports it.
159
161
160
162
[^2]:
161
163
Apple Lossless traditionally uses `.m4a` and `.caf` containers, but may unofficially use the `.alac` extension. The `.m4a` container is also used for separate compressed audio codecs.
0 commit comments