Releases: ghasemdev/affogato
Releases · ghasemdev/affogato
🐛 v1.7.1 fix logcat package name
Merge branch 'master' into release-jdk11
🎉 1.7.0 New Logcat Functions
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
Update gradle.properties
🎉 1.6.0 HiltBinding, SingletonBinding
- 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
fix gradle issue
🐛 v1.5.1 Fix min SDK issue and some improvements
fix min sdk issue and some improvements
🎉 1.5.0 Structure, Logger, OkHttp
🚀 Features
- Add
okhttp-androidmodule- okhttp builder extension
okhttp {},Response.new {}andOkHttpClient.new {}. - download and upload progress listener
DownloadStreamResponseBody,UploadStreamRequestBody.
- okhttp builder extension
- Add
logger-androidmoduleLogLevelenum.logcatextension.- Singleton
Logger.
💥 Breaking Changes
- Rename checker class from structure module.
🎉 1.4.0 Structure, Metrica
🚀 Features
- Add New Structure Class.
- lazy singleton object
- object pool pattern
- validator class
EmailChecker,PasswordChecker,PhoneCheckerandIRPhoneChecker
- Add
MetricaModule.- 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)
- metrica builder
💥 Breaking Changes
- Remove additional classes from affogato-coroutines-android
💭 Other
- rename
block->runBlock - rename
isNotNullOrEmpty->isNotNullNotEmpty,isNotNullOrBlank->isNotNullNotBlank
🎉 1.3.0 Structure
🚀 Features
- Add local const val to
TimeAgoclass 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
🚀 Features
- add
DispatchersProvider. - add suspended try-catch.