Skip to content

Commit 5e7fd36

Browse files
Prepare release for version 3.3.0
1 parent d23497a commit 5e7fd36

File tree

4 files changed

+18
-8
lines changed

4 files changed

+18
-8
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [3.3.0] - 2021-10-26
11+
### Added
12+
- _IpInfo_ responses has a new `company` field.
13+
- The enum _ConnectionType_ includes a new value of `INACTIVE`.
14+
- The class _DefaultRequestHandler_ accepts a custom _ObjectMapper_.
15+
### Changed
16+
- A single _ObjectMapper_ instance is created and reused in _DefaultRequestHandler_.
17+
- The API key is no longer passed as a query parameter but as a header when a request is sent.
18+
1019
## [3.2.1] - 2021-07-26
1120
### Changed
1221
- Restore missing getters in _Region_ model class.
@@ -106,7 +115,8 @@ https://github.com/ipregistry/ipregistry-java#caching
106115

107116
- First public release.
108117

109-
[Unreleased]: https://github.com/ipregistry/ipregistry-java/compare/v3.2.1...HEAD
118+
[Unreleased]: https://github.com/ipregistry/ipregistry-java/compare/v3.3.0...HEAD
119+
[3.3.0]: https://github.com/ipregistry/ipregistry-java/compare/v3.2.1...v3.3.0
110120
[3.2.1]: https://github.com/ipregistry/ipregistry-java/compare/v3.2.0...v3.2.1
111121
[3.2.0]: https://github.com/ipregistry/ipregistry-java/compare/v3.1.2...v3.2.0
112122
[3.1.2]: https://github.com/ipregistry/ipregistry-java/compare/v3.1.1...v3.1.2

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ You'll need an Ipregistry API key, which you can get along with 100,000 free loo
2222
<dependency>
2323
<groupId>co.ipregistry</groupId>
2424
<artifactId>ipregistry-client</artifactId>
25-
<version>3.2.1</version>
25+
<version>3.3.0</version>
2626
</dependency>
2727
```
2828

2929
#### Gradle
3030

3131
```
32-
implementation 'co.ipregistry:ipregistry-client:3.2.1'
32+
implementation 'co.ipregistry:ipregistry-client:3.3.0'
3333
```
3434

3535
### Quick start

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins {
88
}
99

1010
group = 'co.ipregistry'
11-
version = '3.2.1'
11+
version = '3.3.0'
1212

1313
repositories {
1414
mavenCentral()

src/main/java/co/ipregistry/api/client/model/IpInfo.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ public class IpInfo {
4343
@JsonProperty("carrier")
4444
protected Carrier carrier = new Carrier();
4545

46-
@Builder.Default
47-
@JsonProperty("connection")
48-
protected Connection connection = new Connection();
49-
5046
@Builder.Default
5147
@JsonProperty("company")
5248
protected Company company = new Company();
5349

50+
@Builder.Default
51+
@JsonProperty("connection")
52+
protected Connection connection = new Connection();
53+
5454
@Builder.Default
5555
@JsonProperty("currency")
5656
protected Currency currency = new Currency();

0 commit comments

Comments
 (0)