Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nats-io/nats.java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.11.6
Choose a base ref
...
head repository: nats-io/nats.java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Aug 26, 2021

  1. queue deliver group (#536)

    scottf authored Aug 26, 2021
    Copy the full SHA
    b6c8fd7 View commit details

Commits on Sep 1, 2021

  1. Copy the full SHA
    9831414 View commit details
  2. test cleanup (#538)

    scottf authored Sep 1, 2021
    Copy the full SHA
    a8a17c9 View commit details

Commits on Sep 8, 2021

  1. Copy the full SHA
    fd54e70 View commit details

Commits on Sep 13, 2021

  1. Copy the full SHA
    5db7dc9 View commit details

Commits on Sep 16, 2021

  1. jcenter is deprecated (#543)

    scottf authored Sep 16, 2021
    Copy the full SHA
    b6155ba View commit details
  2. travis cleanup (#544)

    scottf authored Sep 16, 2021
    Copy the full SHA
    d82b103 View commit details

Commits on Sep 21, 2021

  1. Validate stream name in StreamConfiguration builder (#546)

    Unsigned commit approved by @scottf
    arjenvdhave authored Sep 21, 2021
    Copy the full SHA
    9a8aadd View commit details

Commits on Sep 26, 2021

  1. Copy the full SHA
    1e6062c View commit details

Commits on Oct 1, 2021

  1. jwt stamping (#541)

    Co-authored-by: Brian Maher <bmaher@onetrust.com>
    scottf and Brian Maher authored Oct 1, 2021
    Copy the full SHA
    7807ae8 View commit details

Commits on Oct 21, 2021

  1. Copy the full SHA
    83d401c View commit details

Commits on Oct 27, 2021

  1. Copy the full SHA
    7525652 View commit details

Commits on Oct 28, 2021

  1. 2.13.1 (#554)

    scottf authored Oct 28, 2021
    Copy the full SHA
    bb8595c View commit details
  2. mc bench changes (#553)

    scottf authored Oct 28, 2021
    Copy the full SHA
    fa93ff7 View commit details

Commits on Nov 2, 2021

  1. issue 502 (#556)

    scottf authored Nov 2, 2021
    Copy the full SHA
    04eab7f View commit details

Commits on Nov 7, 2021

  1. server now allows more changes to consumer (#559)

    server now allows more changes to consumer, Update JetStreamManagementTests.java
    scottf authored Nov 7, 2021
    Copy the full SHA
    c9f26a0 View commit details

Commits on Nov 13, 2021

  1. Copy the full SHA
    5698d20 View commit details

Commits on Dec 2, 2021

  1. Ordered consumer (#564)

    scottf authored Dec 2, 2021
    Copy the full SHA
    3c166db View commit details

Commits on Dec 21, 2021

  1. issue template (#578)

    scottf authored Dec 21, 2021
    Copy the full SHA
    2d82c14 View commit details
  2. Key Value (#567)

    scottf authored Dec 21, 2021
    Copy the full SHA
    54e7cc7 View commit details

Commits on Dec 22, 2021

  1. Copy the full SHA
    bd28246 View commit details

Commits on Jan 5, 2022

  1. Copy the full SHA
    a551760 View commit details

Commits on Jan 6, 2022

  1. Copy the full SHA
    55b5e0b View commit details

Commits on Jan 10, 2022

  1. next version (#584)

    scottf authored Jan 10, 2022
    Copy the full SHA
    2f1f1c9 View commit details

Commits on Feb 4, 2022

  1. Copy the full SHA
    40b68b3 View commit details

Commits on Feb 7, 2022

  1. Cure53-NAT-01-009 (#592)

    scottf authored Feb 7, 2022
    Copy the full SHA
    8a5ba16 View commit details

Commits on Feb 8, 2022

  1. addressing flapper (#593)

    scottf authored Feb 8, 2022
    Copy the full SHA
    d1234d3 View commit details

Commits on Feb 11, 2022

  1. Copy the full SHA
    1677399 View commit details

Commits on Feb 23, 2022

  1. Copy the full SHA
    cb2c585 View commit details

Commits on Feb 28, 2022

  1. Copy the full SHA
    0909f7a View commit details

Commits on Mar 1, 2022

  1. Copy the full SHA
    89a00d8 View commit details
  2. Copy the full SHA
    c9c58c0 View commit details

Commits on Mar 3, 2022

  1. kv get with revision (#597)

    scottf authored Mar 3, 2022
    Copy the full SHA
    c4b9ce3 View commit details

Commits on Mar 7, 2022

  1. Copy the full SHA
    3be9328 View commit details
  2. Js multi move (#608)

    scottf authored Mar 7, 2022
    Copy the full SHA
    897fe83 View commit details

Commits on Mar 8, 2022

  1. Copy the full SHA
    bf95780 View commit details
  2. remove beta tag (#610)

    scottf authored Mar 8, 2022
    Copy the full SHA
    490ad30 View commit details
  3. 2.14.0 (#611)

    scottf authored Mar 8, 2022
    Copy the full SHA
    8a35b87 View commit details

Commits on Mar 10, 2022

  1. 2.14.1 and misc (#612)

    scottf authored Mar 10, 2022
    Copy the full SHA
    5e56917 View commit details

Commits on Mar 18, 2022

  1. fix doc (#614)

    scottf authored Mar 18, 2022
    Copy the full SHA
    26ddb1b View commit details

Commits on Mar 21, 2022

  1. Pull queue (#609)

    scottf authored Mar 21, 2022
    Copy the full SHA
    dbd5461 View commit details

Commits on Mar 23, 2022

  1. Copy the full SHA
    dec664b View commit details

Commits on Mar 24, 2022

  1. Copy the full SHA
    2c1d74b View commit details

Commits on Mar 25, 2022

  1. Copy the full SHA
    6d12e70 View commit details

Commits on Mar 27, 2022

  1. Copy the full SHA
    4387466 View commit details

Commits on Mar 28, 2022

  1. Copy the full SHA
    14f9952 View commit details

Commits on Mar 29, 2022

  1. redoing push durable tests, b/c to ensure that each run has it's own …

    …subject to avoid previous subscriptions getting messages meant for new sub (#628)
    scottf authored Mar 29, 2022
    Copy the full SHA
    934dd61 View commit details
  2. Copy the full SHA
    14e895d View commit details

Commits on Mar 31, 2022

  1. Copy the full SHA
    f604613 View commit details

Commits on Apr 5, 2022

  1. Copy the full SHA
    b551637 View commit details
Showing 480 changed files with 60,271 additions and 12,226 deletions.
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Discussion
url: https://github.com/nats-io/nats.java/discussions
about: Ideal for ideas, feedback, or longer form questions.
- name: Chat
url: https://slack.nats.io
about: Ideal for short, one-off questions, general conversation, and meeting other NATS users!
47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE/defect.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
name: Defect
description: Report a defect, such as a bug or regression.
labels:
- defect
body:
- type: textarea
id: observed
attributes:
label: Observed behavior
description: Describe the unexpected behavior or performance regression you are observing.
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected behavior
description: Describe the expected behavior or performance characteristics.
validations:
required: true
- type: textarea
id: versions
attributes:
label: Server and client version
description: |-
Provide the versions you were using when the detect was observed.
For the server, use `nats-server --version`, check the startup log output, or the image tag pulled from Docker.
For the CLI client, use `nats --version`.
For language-specific clients, check the version downloaded by the language dependency manager.
validations:
required: true
- type: textarea
id: environment
attributes:
label: Host environment
description: |-
Specify any relevant details about the host environment the server and/or client was running in,
such as operating system, CPU architecture, container runtime, etc.
validations:
required: false
- type: textarea
id: steps
attributes:
label: Steps to reproduce
description: Provide as many concrete steps to reproduce the defect.
validations:
required: true
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/proposal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Proposal
description: Propose an enhancement or new feature.
labels:
- proposal
body:
- type: textarea
id: change
attributes:
label: Proposed change
description: This could be a behavior change, enhanced API, or a new feature.
validations:
required: true
- type: textarea
id: usecase
attributes:
label: Use case
description: What is the use case or general motivation for this proposal?
validations:
required: true
- type: textarea
id: contribute
attributes:
label: Contribution
description: |-
Are you intending or interested in contributing code for this proposal if accepted?
validations:
required: false
52 changes: 52 additions & 0 deletions .github/workflows/branch-snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Build a Branch Specific Snapshot

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
env:
BUILD_EVENT: ${{ github.event_name }}
BRANCH_REF_NAME: ${{ github.ref_name }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GODEBUG: x509sha1=1
steps:
- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
- name: Setup GO
uses: actions/setup-go@v5
with:
go-version: '1.21.4'
- name: Install Nats Server
run: |
cd $GITHUB_WORKSPACE
git clone https://github.com/nats-io/nats-server.git
cd nats-server
go get
go build main.go
mkdir -p ~/.local/bin
cp main ~/.local/bin/nats-server
cd ..
rm -rf nats-server
nats-server -v
- name: Check out code
uses: actions/checkout@v4
- name: Build and Test
run: chmod +x gradlew && ./gradlew clean test jacocoTestReport coveralls
- name: Verify Javadoc
if: ${{ success() }}
run: ./gradlew javadoc
- name: Publish Branch Snapshot
if: ${{ success() }}
run: ./gradlew -i publishToSonatype


35 changes: 12 additions & 23 deletions .github/workflows/build.yml → .github/workflows/build-main.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
name: GitHub Build Actions For JNats NATS.io Java Client
name: Build Main

on:
pull_request:
types: [opened, synchronize, edited, reopened]
push:
branches:
- main
release:
branches:
- main
types: [released]
workflow_dispatch:

jobs:
build:
@@ -22,40 +17,34 @@ jobs:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GODEBUG: x509sha1=1
steps:
- name: Setup JDK 8
uses: actions/setup-java@v2
- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'adopt'
distribution: 'temurin'
- name: Setup GO
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.16.3
go-version: '1.21.4'
- name: Install Nats Server
run: |
cd $GITHUB_WORKSPACE
git clone https://github.com/nats-io/nats-server.git
cd nats-server
export NS_LATEST_TAG=$(git describe --tags --abbrev=0)
git checkout tags/${NS_LATEST_TAG} -b nslatestbranch
go get
go build main.go
mkdir -p ~/.local/bin
cp main ~/.local/bin/nats-server
cd ..
rm -rf nats-server
nats-server -v
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Build and Test
run: chmod +x gradlew && ./gradlew clean test jacocoTestReport coveralls
- name: On Pull Request, Verify Javadoc
if: ${{ success() && github.event_name == 'pull_request' }}
- name: Verify Javadoc
run: ./gradlew javadoc
- name: On Merge to Main, Verify and Publish Snapshot
if: ${{ success() && github.event_name == 'push' }}
- name: Publish Snapshot
run: ./gradlew -i publishToSonatype
- name: On Tag Release Main, Verify, Sign and Publish Release
if: ${{ success() && github.event_name == 'release' }}
run: ./gradlew -i signArchives signMavenJavaPublication publishToSonatype closeAndReleaseSonatypeStagingRepository

46 changes: 46 additions & 0 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Build Pull Request

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
build:
runs-on: ubuntu-latest
env:
BUILD_EVENT: ${{ github.event_name }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GODEBUG: x509sha1=1
steps:
- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
- name: Setup GO
uses: actions/setup-go@v5
with:
go-version: '1.21.4'
- name: Install Nats Server
run: |
cd $GITHUB_WORKSPACE
git clone https://github.com/nats-io/nats-server.git
cd nats-server
go get
go build main.go
mkdir -p ~/.local/bin
cp main ~/.local/bin/nats-server
cd ..
rm -rf nats-server
nats-server -v
- name: Check out code
uses: actions/checkout@v4
- name: Build and Test
run: chmod +x gradlew && ./gradlew clean test jacocoTestReport coveralls
- name: Verify Javadoc
run: ./gradlew javadoc
48 changes: 48 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Build Release

on:
release:
branches:
- main
types: [released]

jobs:
build:
runs-on: ubuntu-latest
env:
BUILD_EVENT: ${{ github.event_name }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
GODEBUG: x509sha1=1
steps:
- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
- name: Setup GO
uses: actions/setup-go@v5
with:
go-version: '1.21.4'
- name: Install Nats Server
run: |
cd $GITHUB_WORKSPACE
git clone https://github.com/nats-io/nats-server.git
cd nats-server
go get
go build main.go
mkdir -p ~/.local/bin
cp main ~/.local/bin/nats-server
cd ..
rm -rf nats-server
nats-server -v
- name: Check out code
uses: actions/checkout@v4
- name: Build and Test
run: chmod +x gradlew && ./gradlew clean test
- name: Verify, Sign and Publish Release
run: ./gradlew -i signArchives signMavenJavaPublication publishToSonatype closeAndReleaseSonatypeStagingRepository

1 change: 1 addition & 0 deletions .sdkmanrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
java=8.0.412-tem
Binary file removed .travis/nats.travis.gpg.enc
Binary file not shown.
Loading