Releases: mauromascarenhas/Biblioteca_UFABC
Releases · mauromascarenhas/Biblioteca_UFABC
UFABC Library v2.1.27
- Improved synchronization functionality:
- Improved SyncWorker: now it checks whether the synchronization was successful or not;
- "Self-killing" trigger (5 min) has been moved to SyncService's start moment;
- Fixed bug where it could request "Security Exception" for custom ROMs more than once (at first launch);
- Updated project dependencies to their latest version;
- Minor improvements and fixes.
UFABC Library v2.0b
What's new:
Added:
- New book image placeholders (for renewal and reservation screen).
- Synchronization "safety lock" so as to avoid infinite loops due to concurrence issues (race condition).
- Alert message for custom rom devices so as to avoid synchronization issues (caused by severe safety and energy management options).
- DarkTheme support (moved to DayNight Theme).
- New iconset compatible with dark themes.
Improved:
- UI improvements.
- Main screen.
- Added new login/logoff icon.
- Removed navigation drawer.
- Navigation menu has been moved to the bottom of the main screen.
- Additional options available in navigation drawer have been moved to the title bar options menu.
- Book renewal, book reservation and recent acquisitions share the same screen (you can navigate using the bottom menu).
- Most messages are no longer displayed in a box or through toasts - their presentation methods have been migrated to customized snack messages.
- Book search box no longer exists. New searchs must be made through the title bar.
- "Reserved book" card "Delete" option changed to "Cancel".
- Added "Last updated" (last synchronization) information in Book Renewal view.
- Book details screen.
- Adjusted "Loading" message box margins.
- "Available copies" have their colours set according to the amount of books available for reservation.
- Book search screen.
- Most messages are no longer displayed in a box or through toasts - their presentation methods have been migrated to customized snack messages.
- Search filters screen.
- Adjusted margins of some elements.
- Main screen.
Fixed:
- Synchronization issues when opening the app or running it for the very first time.
UNDER THE HOOD
Added:
- Implemented MVVM pattern using Androidx's own architecture components.
- "MessageFragment" : Allows it to set a customized message, icon and an action button.
- Custom Snackbar implementation.
Improved:
- Since the whole application have been rewritten from scratch in Kotlin, the source code has become smaller and easier to understand.
- Most activities have been migrated to Fragments due to their nature, making it easier to debug and maintain their data streams, since they have access to the same ViewModel data.
- Single database to store every data related to book renewal and home cache.
- Synchronization is no longer directly delegated to AlarmManager, but to WorkManager instead (which made it possible to define execution constraints, guaranteeing the task execution).
- Utility methods no longer request "Context" as argument since the Application's context is publicly available, except in extraordinary situations.
- "configureWebView" method also sets custom WebViewClient.
- Implemented LiveData in custom WebViewClients and ViewAdapters when necessary.
- Renewal sync data is always done asynchronously.
- Upgraded Glide and Android Room version.
- Book renewal date is no longer stored as String.
- Update Android SDK to version 30 (Q).
- Replaced deprecated AsyncTask calls by Kotlin Coroutines.
- Updated source code to Kotlin 1.4.10 style.
- Replaced "activity!!" by requireActivity() where possible (same for context!!).
- Set mainLooper for every Handler instance.
- Update UFABC library's web url so as to handle HTTPS calls.
- (Security) The application no longer supports clear text trafic.
- SearchActivity no longer triggers the EditBox on internet connection issues (when "try again" button is clicked).
- Some search filters no loger causes the search to crash when search options are outdated.
- Fixed filter order in search_options_types.xml.
Removed:
- Old sync-wise Broadcast Receivers.
- Data-acquisition functions from "RenewalWebClient" class.
- Unnecessary activities.
- "Variables" class.
- Unnecessary definitions in dimens.xml.
UFABC Library v1.8
What's new:
- Hotfix: Scheduled book synchronization (so as to make it compatible to the login system).
UFABC Library v1.7
What's new:
- Fixed login issue.
- Login action is no longer fired if the user has requested logout.
UFABC Library v1.6
This is a stable release which wraps new features and improvements from v1.5 (which was only available for beta testers) and some additional improvements and bug fixes.
What's new:
- New synchronization scheduler (under the hood).
- Synchronization is no longer stuck on "infinite loop", since a three minute deadline has been given to the synchronization service execution.
- Next sync task is performed after fifteen exact minutes if it fails (under the hood).
- Sync reminder interval defined for each five days (which will be displayed if only it hasn't been synched yet).
- JavaScript execution call is slightly faster.
- Books which the devolution is scheduled for the same day are grouped in the same notification.
- Synchronization settings are updated on preferences change.
- Synchronization permissions are checked every time the app/service starts so as to check whether the user has revoked them through the device settings or not.
From v1.5:
- Added activity to visualize lended books when offline (this feature depends on the synchronization service being enabled).
- Fixed login issues (infinite loop in login screen).
- Uploaded signed APK (using v1 and v2 signature scheme).
UFABC Library v1.5
This release has focused on bringing bug fixes and a new offline interaction feature.
What's new:
- Added activity to visualize lended books when offline (this feature depends on the synchronization service being enabled).
- Fixed login issues (infinite loop in login screen).
- Uploaded signed APK (using v1 and v2 signature scheme).
UFABC Library v1.4
- [ CRITICAL ] Fixed reserved books exibition.
UFABC Library v1.3
Since the release v1.2 was made available only in beta channel, this one also incorporates its new features:
- New sync feature: This app is able to sync with your credentials automatically (according to the user's settings).
- Added an option to set the synchronization interval (in days).
- The user may opt to log in automatically when the application is started from launcher.
- WARNING: In order to this new feature work properly, you will have to allow the application to draw over other apps (Your user experience will not be affected).
UFABC Library v1.2 [BETA only]
- New sync feature: This app is able to sync with your credentials automatically (according to the user's settings).
- Added an option to set the synchronization interval (in days).
- WARNING: In order to this new feature work properly, you will have to allow the application to draw over other apps (Your user experience will not be affected).
UFABC Library v1.1
This is a security fix release:
- This app no longer makes use of JavaScript interfaces, avoiding code injection according to Android guidelines.
- Unfortunately, this app is no longer compatible to versions prior to 4.4 (SDK v19).