Skip to content

Releases: ghasemdev/affogato

🐛 v1.7.1 fix logcat package name

11 Jul 13:34
Compare
Choose a tag to compare
Merge branch 'master' into release-jdk11

🎉 1.7.0 New Logcat Functions

11 Jul 12:21
Compare
Choose a tag to compare
logcat("Hello, Affogato")
loga("Hello, Affogato")
logv("Hello, Affogato")
logd("Hello, Affogato")
logi("Hello, Affogato")
logw("Hello, Affogato")
loge(error("test"), tag = "your tag")

function().logcat()
...

🐛 v1.6.1 Support Compile JDK11

11 Jun 03:37
694990a
Compare
Choose a tag to compare
Update gradle.properties

🎉 1.6.0 HiltBinding, SingletonBinding

06 Jun 13:24
Compare
Choose a tag to compare
  • Add HiltBinding and SingletonBinding to generate hilt module for binding
@SingletonBinding
class FooImpl : Foo
interface Foo

generated code

@Module
@InstallIn(SingletonComponent::class)
@OriginatingElement(
   topLevelClass = FooImpl::class
 )
 interface FooImplModule {
   @Binds
   @Singleton
   fun bindFoo(
     fooImpl: FooImpl
   ): Foo
 }
  • update dependencies version

🐛 v1.5.2 Fix Gradle Issue

24 Aug 17:38
Compare
Choose a tag to compare
fix gradle issue

🐛 v1.5.1 Fix min SDK issue and some improvements

23 Aug 12:58
Compare
Choose a tag to compare
fix min sdk issue and some improvements

🎉 1.5.0 Structure, Logger, OkHttp

22 Aug 08:44
Compare
Choose a tag to compare

🚀 Features

  • Add okhttp-android module
    • okhttp builder extension okhttp {} , Response.new {} and OkHttpClient.new {}.
    • download and upload progress listener DownloadStreamResponseBody, UploadStreamRequestBody.
  • Add logger-android module
    • LogLevel enum.
    • logcat extension.
    • Singleton Logger.

💥 Breaking Changes

  • Rename checker class from structure module.

🎉 1.4.0 Structure, Metrica

21 Aug 22:05
Compare
Choose a tag to compare

🚀 Features

  • Add New Structure Class.
    • lazy singleton object
    • object pool pattern
    • validator class EmailChecker, PasswordChecker, PhoneChecker and IRPhoneChecker
  • Add Metrica Module.
    • metrica builder yandexMetrica("api-key") {}, yandexMetricaConfig("api-key") {}
      , withLogs(isDebugMode), withSessionTimeout(duration)
    • metrica reporter for serialized class YandexMetricaX.reportEvent("key", data-class)
    • metrica profile builder metricaProfile {}, withValue(Int)

💥 Breaking Changes

  • Remove additional classes from affogato-coroutines-android

💭 Other

  • rename block -> runBlock
  • rename isNotNullOrEmpty -> isNotNullNotEmpty, isNotNullOrBlank -> isNotNullNotBlank

🎉 1.3.0 Structure

18 Aug 09:37
Compare
Choose a tag to compare

🚀 Features

  • Add local const val to TimeAgo class instead of used invalid locale strings.
  • New structure module with below features:
    • EntityMapper - Convert entity to domain model and vice versa.
    • DataState - Contains three different state -> Loading, Error and Success.

🎉 1.2.0 Coroutines

16 Aug 19:30
Compare
Choose a tag to compare

🚀 Features

  • add DispatchersProvider.
  • add suspended try-catch.