Skip to content

Commit 684d6d5

Browse files
authored
[New version] Release alpha04 (#964)
1 parent 71e35cb commit 684d6d5

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@
99
The easiest HTTP networking library for Kotlin backed by Kotlinx Coroutines.
1010

1111
## Migration
12+
1213
From 3.x onwards, we are using [main](https://github.com/kittinunf/fuel/tree/main) as our new base branch. If you are finding the old version [2.x](https://github.com/kittinunf/fuel/tree/2.x), please take a look at our old branch.
1314

1415
## Download
1516

1617
### For release version
18+
1719
```kotlin
18-
implementation("com.github.kittinunf.fuel:fuel:3.0.0-alpha03")
20+
implementation("com.github.kittinunf.fuel:fuel:3.0.0-alpha04")
1921
```
2022

2123
## Quick Start
@@ -42,13 +44,16 @@ runBlocking {
4244
```
4345

4446
## Custom Configuration
47+
4548
JVM uses [OkHttpClient](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-ok-http-client/) configurations
49+
4650
```kotlin
4751
val fuel = FuelBuilder().config(OKHttpClient()).build()
4852
val string = fuel.get(request = { url = "https://publicobject.com/helloworld.txt" }).body.string()
4953
```
5054

5155
Apple uses [NSURLSessionConfiguration](https://developer.apple.com/documentation/foundation/nsurlsessionconfiguration)
56+
5257
```kotlin
5358
val fuel = FuelBuilder().config(NSURLSessionConfiguration.defaultSessionConfiguration).build()
5459
val string = fuel.get(request = { url = "https://publicobject.com/helloworld.txt" }).body.string()
@@ -59,6 +64,7 @@ Please note it will throw Exceptions. Make sure you catch it on the production a
5964
Fuel requires Java 8 byte code.
6065

6166
## Requirements
67+
6268
- If you are using Android, It needs to be Android 5+.
6369
- Java 8+
6470

@@ -75,10 +81,11 @@ If you use the fuel-moshi modules, you may need to add rules for [Moshi](https:/
7581
## Other libraries
7682

7783
If you like Fuel, you might also like other libraries of mine;
78-
* [Result](https://github.com/kittinunf/Result) - The modelling for success/failure of operations in Kotlin
79-
* [Fuse](https://github.com/kittinunf/Fuse) - A simple generic LRU memory/disk cache for Android written in Kotlin
80-
* [Forge](https://github.com/kittinunf/Forge) - Functional style JSON parsing written in Kotlin
81-
* [ReactiveAndroid](https://github.com/kittinunf/ReactiveAndroid) - Reactive events and properties with RxJava for Android SDK
84+
85+
- [Result](https://github.com/kittinunf/Result) - The modelling for success/failure of operations in Kotlin
86+
- [Fuse](https://github.com/kittinunf/Fuse) - A simple generic LRU memory/disk cache for Android written in Kotlin
87+
- [Forge](https://github.com/kittinunf/Forge) - Functional style JSON parsing written in Kotlin
88+
- [ReactiveAndroid](https://github.com/kittinunf/ReactiveAndroid) - Reactive events and properties with RxJava for Android SDK
8289

8390
## Credits
8491

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ artifactUrl=https://github.com/kittinunf/fuel
1111
artifactScm=[email protected]:kittinunf/fuel.git
1212
artifactLicenseName=MIT License
1313
artifactLicenseUrl=http://www.opensource.org/licenses/mit-license.php
14-
artifactPublishVersion=3.0.0-alpha03
14+
artifactPublishVersion=3.0.0-alpha04
1515
artifactGroupId=com.github.kittinunf.fuel

0 commit comments

Comments
 (0)