Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "daily"
interval: "monthly"
42 changes: 42 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
name: build

on:
push:
branches: [main]
pull_request:
types: [opened, synchronize]
merge_group:
types: [checks_requested]

permissions:
contents: write

jobs:
tests-ubuntu:
uses: ./.github/workflows/test.yml
Expand Down Expand Up @@ -51,3 +56,40 @@ jobs:
run: |
echo "Code formatting issues detected. Run 'mvn spotless:apply' to fix."
exit 1

update-coverage-badge:
needs: [tests-ubuntu]
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
runs-on:
group: databricks-protected-runner-group
labels: linux-ubuntu-latest
steps:
- name: Checkout badges branch
uses: actions/checkout@v4
with:
ref: badges
fetch-depth: 0

- name: Create badges branch if it doesn't exist
run: |
if ! git rev-parse --verify badges >/dev/null 2>&1; then
git checkout --orphan badges
git rm -rf . || true
mkdir -p .github/badges
git commit --allow-empty -m "Initialize badges branch"
git push origin badges
fi

- name: Download badge artifact
uses: actions/download-artifact@v4
with:
name: coverage-badge
path: .github/badges

- name: Commit and push badge
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git add .github/badges/jacoco.svg
git diff --staged --quiet || git commit -m "Update coverage badge"
git push origin badges
20 changes: 18 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,24 @@ jobs:
- name: Build with Maven
run: mvn clean compile

- name: Run tests
run: mvn test
- name: Run tests with coverage
run: mvn test jacoco:report

- name: Generate JaCoCo badge
id: jacoco
uses: cicirello/jacoco-badge-generator@v2
with:
jacoco-csv-file: target/site/jacoco/jacoco.csv
badges-directory: .github/badges
generate-summary: true

- name: Upload badge artifact
if: inputs.javaVersion == '17' && inputs.os == 'linux-ubuntu-latest'
uses: actions/upload-artifact@v4
with:
name: coverage-badge
path: .github/badges/jacoco.svg
retention-days: 1

- name: Upload test results
if: always()
Expand Down
9 changes: 3 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,17 @@ pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
.mvn/wrapper/maven-wrapper.jar

# IDE
.idea/
*.iml
*.iws
*.ipr
.vscode/
.metals/
.bloop/
.bazelbsp/
.settings/
.project
.classpath

# OS
.DS_Store
Thumbs.db
280 changes: 280 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

24 changes: 1 addition & 23 deletions NEXT_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,16 @@
# NEXT CHANGELOG

## Release v0.2.0
## Release v0.3.0

### New Features and Improvements

- Updated Protocol Buffers from 3.24.0 to 4.33.0 for improved performance and latest features
- Updated gRPC dependencies from 1.58.0 to 1.76.0 for enhanced stability and security
- Updated SLF4J logging framework from 1.7.36 to 2.0.17 for modern logging capabilities

### Bug Fixes

### Documentation

- Updated README.md with new dependency versions
- Updated protoc compiler version recommendations
- Updated Logback version compatibility for SLF4J 2.0

### Internal Changes

- Updated maven-compiler-plugin from 3.11.0 to 3.14.1
- All gRPC artifacts now consistently use version 1.76.0

### API Changes

**Breaking Changes**

- **Protocol Buffers 4.x Migration**: If you use the regular JAR (not the fat JAR), you must upgrade to protobuf-java 4.33.0 and regenerate any custom `.proto` files using protoc 4.x
- Download protoc 4.33.0 from: https://github.com/protocolbuffers/protobuf/releases/tag/v33.0
- Regenerate proto files: `protoc --java_out=src/main/java src/main/proto/record.proto`
- Protobuf 4.x is binary-compatible over the wire with 3.x, but generated Java code may differ

- **SLF4J 2.0 Migration**: If you use a logging implementation, you may need to update it:
- `slf4j-simple`: Use version 2.0.17 or later
- `logback-classic`: Use version 1.4.14 or later (for SLF4J 2.0 compatibility)
- `log4j-slf4j-impl`: Use version 2.20.0 or later

**Note**: If you use the fat JAR (`jar-with-dependencies`), all dependencies are bundled and no action is required.
28 changes: 26 additions & 2 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,34 @@ Copyright 2014 The Netty Project
https://github.com/netty/netty
License: https://github.com/netty/netty/blob/4.1/LICENSE.txt

### Guava
Copyright Google LLC
https://github.com/google/guava
License: https://github.com/google/guava/blob/master/LICENSE

### Perfmark
Copyright 2019 Google LLC
https://github.com/perfmark/perfmark
License: https://github.com/perfmark/perfmark/blob/master/LICENSE

### Error Prone Annotations
Copyright Google LLC
https://github.com/google/error-prone
License: https://github.com/google/error-prone/blob/master/LICENSE

## MIT License

### SLF4J
Copyright (c) 2004-2017 QOS.ch
Copyright (c) 2004-2023 QOS.ch
https://github.com/qos-ch/slf4j
License: https://github.com/qos-ch/slf4j/blob/master/LICENSE.txt
License: https://www.slf4j.org/license.html

## BSD 3-Clause License

### JSR-305 Annotations
Copyright JSR-305 Expert Group
https://github.com/findbugsproject/findbugs
License: https://opensource.org/licenses/BSD-3-Clause

## CDDL + GPLv2 with classpath exception

Expand Down
Loading