Skip to content

Commit 415ec06

Browse files
committed
Merge branch 'release/4.6.1'
2 parents 905e7c0 + 1d94004 commit 415ec06

33 files changed

+232
-83
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Publish Dev Pre-release
2+
run-name: ${{ github.actor }} triggered pre-release on ${{ github.ref_name }}
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
ref:
8+
description: 'Tag to run workflow on'
9+
required: true
10+
push:
11+
branches:
12+
- develop
13+
14+
jobs:
15+
prerelease:
16+
name: Build and Publish Pre-release
17+
runs-on: ubuntu-latest
18+
permissions:
19+
contents: write
20+
21+
steps:
22+
- name: Checkout code
23+
uses: actions/checkout@v4
24+
25+
- name: Set up JDK 11
26+
uses: actions/setup-java@v4
27+
with:
28+
distribution: 'temurin'
29+
java-version: '11'
30+
cache: 'gradle'
31+
32+
- name: Cache Gradle
33+
uses: actions/cache@v4
34+
with:
35+
path: ~/.gradle/caches
36+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
37+
restore-keys: |
38+
${{ runner.os }}-gradle-
39+
40+
- name: Build project
41+
run: ./gradlew build
42+
43+
- name: Publish single pre-release
44+
uses: ncipollo/release-action@v1
45+
with:
46+
artifacts: "build/libs/*.jar"
47+
tag: dev-prerelease
48+
name: "Development Pre-release"
49+
body: |
50+
🚧 This is the latest build from the `develop` branch.
51+
Not intended for production use.
52+
prerelease: true
53+
allowUpdates: true
54+
replacesArtifacts: true

.github/workflows/release-github.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Publish GitHub Release
2+
run-name: ${{ github.actor }} triggered GitHub release on ${{ github.ref_name }}
23

34
on:
45
workflow_dispatch:

.github/workflows/release-maven-central.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Publish Maven Central
2+
run-name: ${{ github.actor }} triggered Maven Central release on ${{ github.ref_name }}
23

34
on:
45
push:

.github/workflows/sphinx-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: "Sphinx: Render production docs"
2-
run-name: ${{ github.actor }} triggered docs render
2+
run-name: ${{ github.actor }} triggered production documentation build on ${{ github.ref_name }}
33

44
on:
55
push:

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
<!-- markdownlint-disable MD024 -->
22
# Corese Changelog
33

4+
## Version 4.6.1 – 2025-06-17
5+
6+
### Added
7+
8+
- Improved Linux, MacOS and Windows installation scripts:
9+
- Pre-releases and drafts are now excluded from the available version list.
10+
- User input is now validated in interactive mode: if an invalid version number is entered, the prompt will repeat until a valid choice is made.
11+
- Updated java version to 21 in the installation scripts.
12+
13+
### Changed
14+
15+
- Updated to require Java 21.
16+
- Renamed `query-remote` command to `query-endpoint` for clarity and consistency with the `query` command.
17+
18+
### Fixed
19+
20+
- Fixed bug where one-line inline SPARQL queries containing URIs (e.g. `PREFIX ex: <http://example.org/> SELECT * WHERE { ex:Alice a ex:Person }`) were incorrectly detected as file paths due to slashes or dots in the query string.
21+
422
## Version 4.6.0 – 2025-04-11
523

624
### Added

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
## ✨ Features
1515

1616
- Convert RDF data formats (Turtle, RDF/XML, N-Triples, etc.)
17-
- Execute SPARQL queries on local files or remote endpoints
17+
- Execute SPARQL queries on local or remote files
18+
- Query SPARQL endpoints
1819
- Validate RDF graphs using SHACL
1920
- Canonicalize RDF data
2021

@@ -84,13 +85,13 @@ corese canonicalize -i data.ttl -of rdfc-1.0-sha256
8485
```
8586

8687
```shell
87-
# Query a remote SPARQL endpoint
88-
corese query-remote -q 'SELECT * WHERE {?s ?p ?o}' -e "https://dbpedia.org/sparql"
88+
# Query a SPARQL endpoint
89+
corese query-endpoint -q 'SELECT * WHERE {?s ?p ?o}' -e "https://dbpedia.org/sparql"
8990
```
9091

9192
## 📖 Documentation
9293

93-
- [Getting Started Guide](https://corese-stack.github.io/corese-command/v4.6.0/user_guide.html)
94+
- [Getting Started Guide](https://corese-stack.github.io/corese-command/v4.6.1/user_guide.html)
9495

9596
## 🤝 Contributing
9697

build.gradle.kts

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ object Meta {
2222
// Project coordinates
2323
const val groupId = "fr.inria.corese"
2424
const val artifactId = "corese-command"
25-
const val version = "4.6.0"
25+
const val version = "4.6.1"
2626

2727
// Project description
2828
const val desc = "A command-line tool for converting, querying, and validating RDF data with SPARQL and SHACL using the Corese engine."
@@ -45,7 +45,9 @@ object Meta {
4545
java {
4646
withJavadocJar() // Include Javadoc JAR in publications
4747
withSourcesJar() // Include sources JAR in publications
48-
sourceCompatibility = JavaVersion.VERSION_11 // Configure minimum Java version
48+
toolchain {
49+
languageVersion.set(JavaLanguageVersion.of(21))
50+
}
4951
}
5052

5153
application {
@@ -64,8 +66,12 @@ repositories {
6466

6567
// Define dependencies
6668
dependencies {
67-
implementation("fr.inria.corese:corese-core:4.6.3") // Core module of Corese
68-
implementation("info.picocli:picocli:4.7.6") // Library for building a Command-Line Interface (CLI)
69+
val coreseVersion = "4.6.3"
70+
val picocliVersion = "4.7.6"
71+
72+
implementation("fr.inria.corese:corese-core:$coreseVersion") // Core module of Corese
73+
implementation("info.picocli:picocli:$picocliVersion") // Library for building a Command-Line Interface (CLI)
74+
6975
implementation("org.apache.commons:commons-lang3:3.17.0") // Library for utility functions (e.g., StringUtils)
7076
implementation("com.github.jsonld-java:jsonld-java:0.13.6") // Library for JSON-LD support
7177
implementation("jakarta.ws.rs:jakarta.ws.rs-api:3.0.0") // Jakarta REST API specifications
@@ -198,6 +204,11 @@ nexusPublishing {
198204
// Set UTF-8 encoding for Java compilation tasks
199205
tasks.withType<JavaCompile>() {
200206
options.encoding = "UTF-8"
207+
options.compilerArgs.addAll(listOf(
208+
"-Xlint:deprecation",
209+
"-Xlint:unchecked",
210+
"-parameters"
211+
))
201212
}
202213

203214
// Configure Javadoc tasks with UTF-8 encoding and disable failure on error.
489 KB
Loading
316 KB
Loading
942 KB
Loading

0 commit comments

Comments
 (0)