Skip to content

Commit

Permalink
Release v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rokob committed May 17, 2018
1 parent 8e434b9 commit 3673d30
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 11 deletions.
22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Change Log

## 1.2.0
- Added configuration options for `rollbar-web` and `rollbar-android` to specify how IP addresses
are captured. For `rollbar-web` this is configured via the `capture_ip` filter init parameter.
This accepts the values: `"full"`, `"anonymize"`, and `"none"`. `"full"` is the default and means
we capture the full IP address from a request. `"anonymize"` implies that we take the full IP
address and mask out the least significant bits. `"none"` means we do not capture the IP address
at all.
For `rollbar-android` one of the three string values: `"full"`, `"anonymize"`, or `"none"` can be
passed to the `Rollbar` initializer. Here this refers to how the backend attempts to capture the
IP address of the client when an item is submitted. `"full"` again is the default and the current
behaviour where the full IP address of the client is gathered. `"anonymize"` takes the same IP
address and masks out the least significant bits. `"none"` implies that the client IP is not
captured.

See [#144](https://github.com/rollbar/rollbar-java/pull/144)

- Better support for configuring the `rollbar-logback` integration as well as the ability to easily
set the endpoint for submitting items directly on the Configuration object.
See [#143](https://github.com/rollbar/rollbar-java/pull/143)

## 1.1.0
- Android integration compatible with api level 16 [#123](https://github.com/rollbar/rollbar-java/pull/123)
- Add logback integration [#122](https://github.com/rollbar/rollbar-java/pull/122)
Expand All @@ -18,4 +38,4 @@
## 1.0.0
- Breaking change from the previous versions of the notifier
- New notifier package naming and modules structure
- Change build process to gradle
- Change build process to gradle
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ To report problems or ask a question please [create an issue](https://github.com
For the most basic Java applications use:

```groovy
compile('com.rollbar:rollbar-java:1.1.0')
compile('com.rollbar:rollbar-java:1.2.0')
```

If you require direct access to the underlying API objects include `rollbar-api` as a dependency.
For Android include `rollbar-android:1.1.0@aar`. For web projects include `rollbar-web`.
For Android include `rollbar-android:1.2.0@aar`. For web projects include `rollbar-web`.

## Upgrading from 0.5.4 or earlier to 1.0.0+

Expand Down Expand Up @@ -165,15 +165,15 @@ dependency to your pom file:
<dependency>
<groupId>com.rollbar</groupId>
<artifactId>rollbar-java</artifactId>
<version>1.1.0</version>
<version>1.2.0</version>
</dependency>
</dependencies>
```

### Gradle

```groovy
compile('com.rollbar:rollbar-java:1.1.0')
compile('com.rollbar:rollbar-java:1.2.0')
```

### Android
Expand All @@ -183,9 +183,9 @@ There is an Android specific part of the library. Therefore for Android you shou
interface which requires you to add this dependency to your build process. For example,

```groovy
compile('com.rollbar:rollbar-api:1.1.0')
compile('com.rollbar:rollbar-java:1.1.0')
compile('com.rollbar:rollbar-android:1.1.0@aar')
compile('com.rollbar:rollbar-api:1.2.0')
compile('com.rollbar:rollbar-java:1.2.0')
compile('com.rollbar:rollbar-android:1.2.0@aar')
```

## How payloads are sent
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=1.1.0
VERSION_NAME=1.2.0
GROUP=com.rollbar

POM_DESCRIPTION=For connecting your applications built on the JVM to Rollbar for Error Reporting
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import java.util.concurrent.TimeUnit;

public class Rollbar {
private static final String NOTIFIER_VERSION = "1.1.0";
private static final String NOTIFIER_VERSION = "1.2.0";
private static final String ITEM_DIR_NAME = "rollbar-items";
private static final String ANDROID = "android";
private static final String DEFAULT_ENVIRONMENT = "production";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

public class NotifierProviderTest {

static final String VERSION = "1.1.0";
static final String VERSION = "1.2.0";

@Rule
public MockitoRule rule = MockitoJUnit.rule();
Expand Down

0 comments on commit 3673d30

Please sign in to comment.