Skip to content

Commit

Permalink
bump minor for new feature
Browse files Browse the repository at this point in the history
  • Loading branch information
ryber committed Dec 6, 2019
1 parent cb89e0d commit 3ed9b75
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
12 changes: 8 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.3.00
* Allow setting a custom HostNameVerifier for issue #322
* By default use DefaultHostNameVerifier rather than the noop one

## 3.2.00
* Allow users to inject a custom SSLContext into the Config for security
* Allow for a custom interceptor that is called when
Expand Down Expand Up @@ -226,7 +230,7 @@ Unirest.get("http://some.file.with.windows.encoding/file.txt")
### OpenUnirest:3.2.01
* add method to replace a header rather than append to it.

### OpenUnirest:3.2.00
### OpenUnirest:3.3.00
* Now you can stream the results into a file!
* It doesn't need to be a file either. It could be any result. Unirest will shove it in a file.
```java
Expand All @@ -235,14 +239,14 @@ File file = Unirest.get("https://someplace/file.tar.gz")
.getBody();
```

### OpenUnirest:3.2.00
### OpenUnirest:3.3.00
* When encountering a parsing error with asObject or asJson capture the body in a UnirestParsingException
* New BETA feature asFile method to stream the response into a file.

### OpenUnirest:3.1.01
* Detect if the async client has stopped for some reason and construct a new one. This one may be different from the one that was originally configured so we need to add a way to configure a supplier for clients rather than a direct client.

### OpenUnirest:3.2.00
### OpenUnirest:3.3.00
* Deprecate methods that expose Apache. In the 4 line we will start supporting other clients. Primarily the java one supplied in Java9 (apache will still exist for 8-)
* Add several functional methods for dealing with the raw response before the connection is closed. This is nice for large responses.

Expand All @@ -259,7 +263,7 @@ File file = Unirest.get("https://someplace/file.tar.gz")
### OpenUnirest:3.0.01
* Support for authenticated proxies with ```Unirest.config().proxy("proxy.server.host", 80, "username","password")```

### OpenUnirest:3.2.00
### OpenUnirest:3.3.00
* This is a **major** release with several **breaking changes** which (other than the namespace change) should ONLY impact you if you are using some of Unirests more advanced features or custom configurations.
* The maven artifact has changed to ```open-unirest-java```
* The namespace has been shortened to just **unirest** (inspired by Java Spark)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-java</artifactId>
<version>3.2.00</version>
<version>3.3.00</version>
</dependency>

<!-- OR as a snazzy new standalone jar with shaded dependencies -->
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-java</artifactId>
<version>3.2.00</version>
<version>3.3.00</version>
<classifier>standalone</classifier>
</dependency>

Expand Down
9 changes: 5 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ rightmenu: true
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-java</artifactId>
<version>3.2.00</version>
<version>3.3.00</version>
</dependency>

<!-- OR as a snazzy new standalone jar with shaded dependencies -->
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-java</artifactId>
<version>3.2.00</version>
<version>3.3.00</version>
<classifier>standalone</classifier>
</dependency>

Expand Down Expand Up @@ -495,6 +495,7 @@ Changing Unirest's config should ideally be done once, or rarely. There are seve
| ```connectionTTL(long,TimeUnit)``` | Total time to live (TTL) defines maximum life span of persistent connections regardless of their expiration setting. No persistent connection will be re-used past its TTL value.| -1 |
| ```errorHandler(Consumer<HttpResponse<?>> consumer)``` | Set a global error handler that will be invoked for any status > 400 or a parsing error | |
| ```interceptor(Interceptor value)``` | Set a global Interceptor handler that will be invoked before and after each request | |
| ```hostNameVerifier(HostNameVerifier value)``` | Set a custom HostNameVerifier for the security configuration | DefaultHostNameVerifier |

## Global Interceptor
You can set a global interceptor for your configuration. This is invoked before and after each request.
Expand Down Expand Up @@ -548,15 +549,15 @@ Unirest offers a few different Object Mapper's based on popular JSON libraries (
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-objectmapper-jackson</artifactId>
<version>3.2.00</version>
<version>3.3.00</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.konghq/unirest-object-mappers-gson -->
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-object-mappers-gson</artifactId>
<version>3.2.00</version>
<version>3.3.00</version>
</dependency>
```
Expand Down

0 comments on commit 3ed9b75

Please sign in to comment.