Skip to content

Releases: wisemen-digital/AndroidCore

1.4.5

27 Jun 21:36
Compare
Choose a tag to compare

Dependencies

  • Updated a lot of dependencies
    • Material 1.8.0 -> 1.9.0
    • AGP 7.4.x -> 8.0.x
    • .....

Documentation

  • Added documentation for the new way we should do Networking calls.

Breaking

  • Realm has been removed from the dependencies
  • JavaVersion 17 is being used now, this might affect your project. If issues arise, please try to upgrade the project itself to use JavaVersion 17.
  • Android Gradle Plugin (AGP) has been updated to 8.0.x. This might break your project.

1.4.4

23 May 08:57
Compare
Choose a tag to compare

Breaking

Improvements

  • The generic function to get a service is limited to extensions of BaseService.
  • Deprecated everything regarding Bagel, instead Proxyman is the next successor.
  • Updated some dependencies!
  • Improved the inner workings of Proxyman so multiple connections won't make the adapter crash.

1.4.1.1

23 May 11:31
Compare
Choose a tag to compare

Always use the android content id for the snackbar.

1.4.3

05 May 16:04
Compare
Choose a tag to compare

Features

  • Added new functionality in the way of Validators, which can be used in Activities, Fragments and Compose. These can be used to validate certain forms of input fields, switches and many more.

1.4.2

10 Feb 09:54
Compare
Choose a tag to compare

Bug Fixes

  • Fixed thread bug for the coroutine exception

Improvements

  • Created a function to get a service in a more generic way for the networking client
  • A status code can now be found when an Api Error occurs.

1.4.1

11 Jan 12:34
Compare
Choose a tag to compare

Improvements

  • Removed the status code from the error messages during a network call.
  • Removed the deprecation warnings of the doCall function as this must still be backwards compatible.

1.4.0

12 Dec 21:57
Compare
Choose a tag to compare

New Features

  • Added DataRow (+ extras) to the project.
  • Added a new way to do our Network calls. Errors can now be handled on a 'per call' basis instead of just a flat-out exception. The old way is still available for older projects.

Bug Fixes

  • Fixed issue where the allPermissionsGranted was a false positive
  • Fixed some crashes for ProxyMan so the app won't crash when it's run on an emulator or a ProxyMan client cannot be found anymore.

Documentation

  • Added required dependencies when importing Room or Core

Breaking

Custom Views

  • Added DataRow (+ extras) to the project.

Improvements

  • Reworked the ViewModelExtensions a bit to add a general viewModelFactory function to the list. It accepts a ViewModel without any restrictions to the parameters. Also deprecated some functions.

1.3.0

24 Apr 19:28
Compare
Choose a tag to compare

New Features

  • Created Measurement API to easily convert between units and also format the description with the correct Locale.
  • Added some extension functions regarding the runtime permissions
  • Added base classes that will work with the paging3 library.

Bug Fixes

  • Added getConverterFactories() to the BaseRestClient so we can reorder ConverterFactories if needed.
  • Changed the default exception handler in the BaseViewModel so it will use a LiveData callback instead of a high order function.
    This makes sure that errors in a coroutine in the init{} block can be handled as well

Improvements

  • Changed the way we provide a function to create/show a default snackbar.

1.2.0

04 Dec 20:35
Compare
Choose a tag to compare

Breaking

  • The signature of the configureToolbar() methods has been changed.
  • Updated the visibility of some functions of the BaseRestClient.
  • Added GetGson() back to the BaseRestClient so it can easily be extended with a newBuilder.

Bug Fixes

  • Cleaned up resources, removed unneeded imports, ...
  • Changed immutable interceptor list mutable so the list can be easily added to.
  • Fixed issue with the logout() function as it was breaking on Android API 31
  • Fixed the issue where the sourceCode could not be inspected whilst using the modules as a dependency

Improvements

  • Fixed some styling issues with the ProfileActionButton
  • Fixed issue with the textColor overriding the textAppearance color of a ProfileActionButton
  • Added paging3 module to the build, it will provide some standard ways to add a paging source and will easily hook in to your current implementation with a repository interface and much more.

1.1.0

28 Aug 08:28
Compare
Choose a tag to compare

Breaking

  • Moved Core to a proper module, now a better abstraction can be achieved by adding more submodules to Core. Even a sample app can be created within this project as well. Details of the procedure can be found here.
  • Networking, Realm and Room have been moved to separate modules as well.

Bug Fixes

  • Removed 'JCenter' from the repositories list as that service has been discontinued.
  • Removed 'easyValidation' dependency as it was a deprecated library that was only available on JCenter.

Improvements

  • Added the possibility to override the choose if you want the Proxyman classes to show it's logs.
  • Limited the number of calls/packages Proxyman holds in memory when there is no client available.
  • Removed unneeded line that deleted Proxyman clients that weren't connected to your app anymore.
  • Added the possibility to override the BaseRestClient's getHttpLoggingInterceptor() to provide a project specific logging level.