Skip to content

Commit

Permalink
chore(release): v3.1.0
Browse files Browse the repository at this point in the history
chore(release): v3.1.0
  • Loading branch information
itsdebs authored Jan 31, 2024
2 parents e312f6f + f1b455a commit 6eb27ac
Show file tree
Hide file tree
Showing 31 changed files with 1,131 additions and 1,241 deletions.
134 changes: 0 additions & 134 deletions .circleci/config.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Version of the _Java_ SDK**
Please mention the version of the Rudder Java SDK you are using (e.g., Java SDK v1.0.0).
Please mention the version of the Rudderstack Java SDK you are using (e.g., Java SDK v1.0.0).

**SDK initialisation snippet**
Share the code snippet used for initializing the Java SDK.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-quality-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
with:
fetch-depth: 0

- name: Set up JDK 11
- name: Set up JDK 20
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '20'
distribution: 'temurin'

- name: Set up Maven
Expand Down
55 changes: 0 additions & 55 deletions .github/workflows/notion-pr-sync.yml

This file was deleted.

6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Version 3.1.0 (December 14, 2023)
- [New](https://github.com/rudderlabs/rudder-sdk-java/pull/86) Update Java to the latest version
- [New](https://github.com/rudderlabs/rudder-sdk-java/pull/83) Improve links in Rudderstack documentation

# Version 3.0.0 (January 9, 2023)
- [New](https://github.com/rudderlabs/rudder-sdk-java/pull/43) Add CI feature
- [New](https://github.com/rudderlabs/rudder-sdk-java/pull/41) Add support for channel object in individual payload
Expand Down Expand Up @@ -45,7 +49,7 @@

- [Fix](https://github.com/rudderlabs/rudder-sdk-java/pull/223) cli wasnt setting event fields
- [Fix](https://github.com/rudderlabs/rudder-sdk-java/pull/222) e2e fix - traits was defined twice in command line opts
- [Fix](https://github.com/rudderlabs/rudder-sdk-java/pull/221) Require either userId or anonymousId \(aligns with other Rudder SDK conventions\)
- [Fix](https://github.com/rudderlabs/rudder-sdk-java/pull/221) Require either userId or anonymousId \(aligns with other Rudderstack SDK conventions\)

- [Fix](https://github.com/rudderlabs/rudder-sdk-java/pull/117): This fix gracefully retries temporary HTTP errors such as 5xx server errors. Previously such HTTP errors were not being retried.

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2014 Rudder, Inc.
Copyright (c) 2014 Rudderstack, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
38 changes: 22 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,56 +2,62 @@

# What is RudderStack?

[RudderStack](https://rudderstack.com/) is a **customer data pipeline** tool for collecting, routing and processing data from your websites, apps, cloud tools, and data warehouse.
[RudderStack](https://rudderstack.com/) is a **customer data pipeline** tool for collecting, routing and processing data from
your websites, apps, cloud tools, and data warehouse.

## RudderStack's Java SDK

RudderStack’s Java SDK allows you to track your customer event data from your Java code. Once enabled, the event requests hit the RudderStack servers. RudderStack then routes the events to the specified destination platforms as configured by you.
RudderStack’s Java SDK allows you to track your customer event data from your Java code. Once enabled, the event requests hit
the RudderStack servers. RudderStack then routes the events to the specified destination platforms as configured by you.

For detailed documentation on the Java SDK, click [here](https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-java-sdk/).
For detailed documentation on the Java SDK,
click [here](https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-java-sdk/).

## Getting Started with the RudderStack Java SDK

*Add to `pom.xml`:*

```xml

<dependency>
<groupId>com.rudderstack.sdk.java.analytics</groupId>
<artifactId>analytics</artifactId>
<version>3.0.0</version>
<version>3.1.0</version>
</dependency>

```

*or if you're using Gradle:*

```bash
implementation 'com.rudderstack.sdk.java.analytics:analytics:3.0.0'
implementation 'com.rudderstack.sdk.java.analytics:analytics:3.1.0'
```

## Initializing ```RudderClient```

```java
RudderAnalytics analytics = RudderAnalytics
.builder("<WRITE_KEY>")
.setDataPlaneUrl("<DATA_PLANE_URL>")
.build();
RudderAnalytics analytics=RudderAnalytics
.builder("<WRITE_KEY>")
.setDataPlaneUrl("<DATA_PLANE_URL>")
.build();
```

## Sending events

```java
Map<String, Object> map = new HashMap<>();
map.put("name", "John Marshal");
map.put("email", "[email protected]");
analytics.enqueue(IdentifyMessage.builder()
Map<String, Object> map=new HashMap<>();
map.put("name","John Marshal");
map.put("email","[email protected]");
analytics.enqueue(IdentifyMessage.builder()
.userId("6754ds7d9")
.traits(map)
);
);
```

For more information on the different types of events supported by the Java SDK, refer to our [docs](https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-java-sdk/).
For more information on the different types of events supported by the Java SDK, refer to
our [docs](https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-java-sdk/).

## Contact Us

If you come across any issues while configuring or using this SDK, feel free to start a conversation on our [Slack](https://resources.rudderstack.com/join-rudderstack-slack) channel. We will be happy to help you.
If you come across any issues while configuring or using this SDK, feel free to start a conversation on
our [Slack](https://resources.rudderstack.com/join-rudderstack-slack) channel. We will be happy to help you.
12 changes: 10 additions & 2 deletions analytics-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>analytics-parent</artifactId>
<groupId>com.rudderstack.sdk.java.analytics</groupId>
<version>3.0.0</version>
<version>${revision}</version>
</parent>

<artifactId>analytics-cli</artifactId>
Expand Down Expand Up @@ -88,7 +88,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.8</version>
<version>0.8.11</version>
<executions>
<execution>
<id>generate-aggregate-report</id>
Expand All @@ -99,6 +99,14 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>19</source>
<target>19</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
19 changes: 15 additions & 4 deletions analytics-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.rudderstack.sdk.java.analytics</groupId>
<artifactId>analytics-parent</artifactId>
<version>3.0.0</version>
<version>${revision}</version>
</parent>

<artifactId>analytics-core</artifactId>
Expand All @@ -21,16 +21,15 @@
<dependency>
<groupId>com.squareup.okio</groupId>
<artifactId>okio</artifactId>
<version>2.9.0</version>
<version>3.4.0</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>findbugs</artifactId>
<scope>provided</scope>
<artifactId>jsr305</artifactId>
</dependency>
<dependency>
<groupId>com.google.auto.value</groupId>
Expand Down Expand Up @@ -73,4 +72,16 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>19</source>
<target>19</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
Loading

0 comments on commit 6eb27ac

Please sign in to comment.