Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
cancel-in-progress: true

env:
# The engine ref ktor-guard pins (lockstep 4.3.3; settings.gradle.kts builds it from
# The engine ref ktor-guard pins (lockstep 4.4.0; settings.gradle.kts builds it from
# source). Bump this and the settings comment together with a facade upgrade.
GUARD_CORE_JVM_REF: 77116062fc7d88dcb610b1f588e2bc78e63848ad

Expand All @@ -30,7 +30,7 @@ jobs:
with:
persist-credentials: false

# The engine dependency (com.guard-core:guard-core:4.3.3) is built from source through
# The engine dependency (com.guard-core:guard-core:4.4.0) is built from source through
# the composite build wired in settings.gradle.kts; CI checks it out as a sibling.
- name: Checkout guard-core-jvm engine (pinned)
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
All notable changes to this project are documented in this file. The format follows
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## Unreleased
## [1.1.1] - 2026-10-17

### Fixed

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ ___

## Status

`1.1.0`, released on Maven Central as `com.guard-core:ktor-guard:1.1.0`. ktor-guard is a true port of
`1.1.1`, released on Maven Central as `com.guard-core:ktor-guard:1.1.1`. ktor-guard is a true port of
the guard adapter pattern (fastapi-guard's `SecurityMiddleware`, JVM-idiomized for Ktor 3.x):
it wraps Ktor `ApplicationCall` into the guard-core-jvm facade protocols and drives the engine's
security pipeline per request through suspend-native Ktor server plugin hooks. It contains no
security logic of its own; every decision is the engine's.

- Engine: `com.guard-core:guard-core:4.3.3` (built from source through a composite build, see
- Engine: `com.guard-core:guard-core:4.4.0` (built from source through a composite build, see
[Engine dependency](#engine-dependency)).
- Ktor 3.x (built and tested against 3.6.0), Kotlin 2.4.21, JDK 17, suspend-native: the facade's
suspend APIs are called directly (no runBlocking bridges on this adapter).
Expand All @@ -46,11 +46,11 @@ Published on Maven Central:

```kotlin
dependencies {
implementation("com.guard-core:ktor-guard:1.1.0")
implementation("com.guard-core:ktor-guard:1.1.1")
}
```

It brings in the engine facade `com.guard-core:guard-core:4.3.3`. To build from source, see [Engine dependency](#engine-dependency) and [Development](#development).
It brings in the engine facade `com.guard-core:guard-core:4.4.0`. To build from source, see [Engine dependency](#engine-dependency) and [Development](#development).

## Usage

Expand Down Expand Up @@ -168,7 +168,7 @@ ktor-guard contains no security logic; the engine lives in
[Guard-Core/guard-core-jvm](https://github.com/Guard-Core/guard-core-jvm) and is built from
source through a composite build (`includeBuild` + dependency substitution in
`settings.gradle.kts`, the Gradle analog of the Rust path+version pattern). Declared coordinates
stay `com.guard-core:guard-core:4.3.3` (lockstep with the guard-core 4.3.3 release); substitution
stay `com.guard-core:guard-core:4.4.0` (lockstep with the guard-core 4.4.0 release); substitution
redirects them to the included build until the artifacts publish to Maven Central.

CI checks the engine out at the pinned ref as a sibling (`path: guard-core-jvm`); locally use
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ plugins {
// standard practice for hyphenated domains.
group = "com.guard-core"

version = "1.1.0"
version = "1.1.1"

// Section 14.3 lockfile analog: every configuration resolves against the
// committed gradle.lockfile. A dependency change without
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ engine's security pipeline per request through suspend-native Ktor server
plugin hooks. It contains no security logic of its own; every decision is the
engine's.

- **Status**: 1.0.0, released (the first synchronized release)
- **Engine**: `com.guard-core:guard-core:4.3.3` (built from source through a
- **Status**: 1.1.1, released
- **Engine**: `com.guard-core:guard-core:4.4.0` (built from source through a
composite build, see [Installation](installation.md))
- **Stack**: Ktor 3.x (built and tested against 3.6.0), Kotlin 2.4.21, JDK 17,
suspend-native (the facade's suspend APIs are called directly)
Expand Down
4 changes: 2 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Published on Maven Central:

```kotlin
dependencies {
implementation("com.guard-core:ktor-guard:1.1.0")
implementation("com.guard-core:ktor-guard:1.1.1")
}
```

Expand All @@ -27,7 +27,7 @@ Consumers resolve the engine artifact `com.guard-core:guard-core` from Maven Cen
local builds check out `Guard-Core/guard-core-jvm` at the pinned ref `7711606`
as the sibling directory `./guard-core-jvm`, and `settings.gradle.kts`
substitutes the declared coordinates with the included build's projects. The
declared dependency coordinates stay `com.guard-core:guard-core:4.3.3`
declared dependency coordinates stay `com.guard-core:guard-core:4.4.0`
(lockstep version per the family versioning law).

```bash
Expand Down
8 changes: 4 additions & 4 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pluginManagement {
}

// ---------------------------------------------------------------------------
// Engine dependency (com.guard-core:guard-core:4.3.3) via composite build.
// Engine dependency (com.guard-core:guard-core:4.4.0) via composite build.
//
// GUARD_CORE_USE_COMPOSITE (environment variable):
// unset / "1" / "true" -> composite ON (default, dev + CI-with-pin).
Expand All @@ -18,10 +18,10 @@ pluginManagement {
// ktor-guard contains no security logic: the engine lives in
// Guard-Core/guard-core-jvm and is built from source here through includeBuild
// + dependency substitution (the Gradle analog of the Rust path+version
// pattern). Declared coordinates stay com.guard-core:guard-core:4.3.3 and
// com.guard-core:guard-core-engine:4.3.3 (groupId com.guard-core is the
// pattern). Declared coordinates stay com.guard-core:guard-core:4.4.0 and
// com.guard-core:guard-core-engine:4.4.0 (groupId com.guard-core is the
// Central Portal namespace; Kotlin packages stay com.guardcore.*; lockstep
// with the guard-core 4.3.3 release); substitution redirects them to the
// with the guard-core 4.4.0 release); substitution redirects them to the
// included build until the artifacts publish to Maven Central.
//
// Layout: the engine checkout sits as a sibling of this repo. CI checks it out
Expand Down
Loading