Skip to content

chore(server): bump REST API version - #3159

Open
imbajin wants to merge 2 commits into
apache:masterfrom
hugegraph:cx/bump-server-api-version
Open

chore(server): bump REST API version#3159
imbajin wants to merge 2 commits into
apache:masterfrom
hugegraph:cx/bump-server-api-version

Conversation

@imbajin

@imbajin imbajin commented Aug 16, 2026

Copy link
Copy Markdown
Member

Before → after

HugeGraph 1.7 and current master both reported REST API 0.71, even though
master added the default-role APIs used by Hubble permission presets.

Master now exposes a consistent 0.72 contract from source through the final
Docker image:

  • version.properties: ApiVersion=0.72
  • API JAR manifest: Implementation-Version: 0.72.0.0
  • ApiVersion change log: GraphSpace default-role management APIs
  • Server Docker builds install the current reactor artifacts before assembly
  • Maven build caches are locked and isolated by source revision
  • Docker CI compares the packaged API/common versions with their source values

Clients can distinguish released 1.7 from master through /versions, without
probing privileged endpoints or branching on the core version.

Verification

  • Java 11 reactor build passed.
  • Standalone Docker image returned /versions.api = 0.72.0.0.
  • Packaged API JAR manifest returned 0.72.0.0.
  • Packaged common JAR contained ApiVersion=0.72.
  • Both Server Dockerfiles passed BuildKit static checks.
  • actionlint and git diff --check passed.
  • Three independent correctness/design/security reviews found no remaining
    high or medium finding.

@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. api Changes of API labels Aug 16, 2026
- identify the default-role REST contract as API 0.72
- preserve 1.7 releases at API 0.71 for client compatibility
- document when the manifest version must change
- install reactor outputs before assembling Server images
- isolate and lock Maven caches by source revision
- verify packaged API versions against source in CI
- run Docker CI for every reactor source change
@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Aug 16, 2026
@codecov

codecov Bot commented Aug 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 1.53%. Comparing base (431f6e6) to head (88a762a).

❗ There is a different number of reports uploaded between BASE (431f6e6) and HEAD (88a762a). Click for more details.

HEAD has 4 uploads less than BASE
Flag BASE (431f6e6) HEAD (88a762a)
5 1
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #3159       +/-   ##
============================================
- Coverage     41.06%   1.53%   -39.53%     
+ Complexity      519      21      -498     
============================================
  Files           771     749       -22     
  Lines         65962   63447     -2515     
  Branches       8766    8318      -448     
============================================
- Hits          27088     975    -26113     
- Misses        36008   62388    +26380     
+ Partials       2866      84     -2782     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Changes of API size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant