Skip to content

Commit

Permalink
Merge pull request #123 in OP/openkit-java from feature/ONE-41810-pre…
Browse files Browse the repository at this point in the history
…pare-release-2.0.0 to release/2.0

* commit 'bb37c1433ea211d4f8ee802ca61ea7cfe3a13a3b':
  Prepare OpenKit Java release 2.0.0

GitOrigin-RevId: 1feb60caf5d549b19342dd26740d329370bb1834
  • Loading branch information
stefaneberl authored and openkitdt committed Jun 24, 2020
1 parent 4474965 commit 009f237
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 4 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# OpenKit Java Changelog

## [Unreleased](https://github.com/Dynatrace/openkit-java/compare/v1.4.0...HEAD)
## [Unreleased](https://github.com/Dynatrace/openkit-java/compare/v2.0.0...HEAD)

## 2.0.0 [Release date: 2020-06-24]
[GitHub Releases](https://github.com/Dynatrace/openkit-java/releases/tag/v2.0.0)

### Added
- Technology type support for error and crashes
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ This repository contains the reference implementation in pure Java. Other implem
* [Detailed example][example]
* [Contributing to OpenKit Java][contributing]
* [Supported versions][supported_versions]
* [Upgrade guide][upgrade_guide]

## Advanced topics
* [Building OpenKit Java][building]
Expand All @@ -67,4 +68,5 @@ This repository contains the reference implementation in pure Java. Other implem
[contributing]: ./CONTRIBUTING.md
[supported_versions]: ./docs/supported_versions.md
[building]: ./docs/building.md
[internals]: ./docs/internals.md
[internals]: ./docs/internals.md
[upgrade_guide]: ./docs/upgrade_guide.md
1 change: 1 addition & 0 deletions docs/supported_versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Example: Version `1.4.3` supersedes `1.4.2` and therefore only `1.4.3` will be m
## Active maintenance
| Version | Bug fixes | Security fixes | Remarks |
|---------|:------------------:|:------------------:|------------------|
| 2.0.X | :heavy_check_mark: | :heavy_check_mark: | |
| 1.4.X | :heavy_check_mark: | :heavy_check_mark: | |
| 1.3.X | :x: | :x: | Upgrade to 1.4.X |
| 1.2.X | :x: | :x: | Upgrade to 1.4.X |
Expand Down
23 changes: 23 additions & 0 deletions docs/upgrade_guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Upgrade guide for OpenKit Java

## OpenKit Java 1.4 to 2.0
There are no breaking API changes and upgrading is straightforward, by [updating][update] the library
to the latest 2.0 release.

### Deprecated API
* `WebRequestTracer#setResponseCode(int responseCode)` and `WebRequestTracer#stop()`
Use `WebRequestTracer#stop(int responseCode)` instead as replacement.
* `DynatraceOpenKitBuilder#withApplicationName(String applicationName)`
The application name is configured in Dynatrace Web UI.

## OpenKit Java 1.3 and below to 1.4
There are no breaking API changes and upgrading is straightforward, by [updating][update] the library
to the latest 1.4 release.

### Deprecated API
* `DynatraceOpenKitBuilder(String endpointURL, String applicationID, String deviceID)`
Use `DynatraceOpenKitBuilder(String endpointURL, String applicationID, long deviceID)` instead.
* `AppMonOpenKitBuilder(String endpointURL, String applicationName, String deviceID)`
Use `AppMonOpenKitBuilder(String endpointURL, String applicationName, long deviceID)` instead.

[update]: ./installing.md#Updating-OpenKit-Java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
public class ProtocolConstants {

// version constants
public static final String OPENKIT_VERSION = "8.197.20000";
public static final String OPENKIT_VERSION = "8.198.20000";
public static final int PROTOCOL_VERSION = 3;
public static final int PLATFORM_TYPE_OPENKIT = 1;
public static final String AGENT_TECHNOLOGY_TYPE = "okjava";
Expand Down
2 changes: 1 addition & 1 deletion version.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=2.0.0-SNAPSHOT
version=2.0.0

0 comments on commit 009f237

Please sign in to comment.