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
execSQL("CREATE TABLE IF NOT EXISTS sessions (id TEXT NOT NULL, type TEXT NOT NULL, state TEXT NOT NULL, confirmation TEXT NOT NULL, notification_title BLOB NOT NULL, notification_text BLOB NOT NULL, notification_icon BLOB NOT NULL, require_user_action INTEGER NOT NULL DEFAULT true, last_launch_timestamp INTEGER NOT NULL DEFAULT 0, last_commit_timestamp INTEGER NOT NULL DEFAULT 0, PRIMARY KEY(id))")
74
-
execSQL("CREATE INDEX IF NOT EXISTS index_sessions_type ON sessions (type)")
75
-
execSQL("CREATE INDEX IF NOT EXISTS index_sessions_state ON sessions (state)")
76
-
execSQL("CREATE INDEX IF NOT EXISTS index_sessions_last_launch_timestamp ON sessions (last_launch_timestamp)")
77
-
execSQL("CREATE INDEX IF NOT EXISTS index_sessions_last_commit_timestamp ON sessions (last_commit_timestamp)")
72
+
execSQL("DELETE FROM sessions WHERE EXISTS (SELECT 1 FROM sessions_plugins WHERE sessions_plugins.session_id = sessions.id)")
78
73
execSQL("DROP TABLE sessions_plugins")
79
74
execSQL("CREATE TABLE IF NOT EXISTS sessions_plugins (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, session_id TEXT NOT NULL, plugin_class_name TEXT NOT NULL, FOREIGN KEY(session_id) REFERENCES sessions(id) ON UPDATE CASCADE ON DELETE CASCADE )")
80
75
execSQL("CREATE INDEX IF NOT EXISTS index_sessions_plugins_session_id ON sessions_plugins (session_id)")
81
-
execSQL("DELETE FROM sessions_installer_types")
82
-
execSQL("DELETE FROM sessions_install_failures")
83
-
execSQL("DELETE FROM sessions_uninstall_failures")
84
-
execSQL("DELETE FROM sessions_install_uris")
85
-
execSQL("DELETE FROM sessions_package_names")
86
-
execSQL("DELETE FROM sessions_progress")
87
-
execSQL("DELETE FROM sessions_native_session_ids")
88
-
execSQL("DELETE FROM sessions_notification_ids")
89
-
execSQL("DELETE FROM sessions_names")
90
-
execSQL("DELETE FROM sessions_install_modes")
91
-
execSQL("DELETE FROM sessions_last_install_timestamps")
92
-
execSQL("DELETE FROM sessions_install_preapproval")
93
-
execSQL("DELETE FROM sessions_install_constraints")
94
-
execSQL("DELETE FROM sessions_update_ownership")
95
-
execSQL("DELETE FROM sessions_package_sources")
96
-
execSQL("DELETE FROM sessions_confirmation_launches")
Copy file name to clipboardExpand all lines: docs/changelog.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,14 @@
1
1
Change Log
2
2
==========
3
3
4
+
Version 0.16.1 (2025-10-07)
5
+
---------------------------
6
+
7
+
### Bug fixes and improvements
8
+
9
+
- Add Vietnamese language for default library messages and for sample apps. Thanks to @nqmgaming.
10
+
- Rewrite last Ackpine internal database migration introduced in 0.16.0. If you didn't update to 0.16.0, only sessions with plugins applied (such as `ShizukuPlugin`) will be cleared after update to 0.16.1.
0 commit comments