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
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.16)
project(cortext VERSION 1.3.0 LANGUAGES C CXX)
project(cortext VERSION 1.3.1 LANGUAGES C CXX)

set(CORTEXT_TARGET_IOS OFF)
if(IOS OR CMAKE_SYSTEM_NAME STREQUAL "iOS" OR CMAKE_OSX_SYSROOT MATCHES "iphone")
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ env var — use the paths the runtime and bindings already read
(`CORTEXT_LIBRARY_PATH`, `CORTEXT_AIST_MODEL_PATH`):

```bash
ASSETS_VERSION=1.3.0 # or the release you want
ASSETS_VERSION=1.3.1 # or the release you want
ASSETS="$HOME/.cache/augmem/cortext/assets"
curl -fsSL -o cortext-assets.tgz \
"https://github.com/augmem/cortext.cpp/releases/download/v${ASSETS_VERSION}/cortext-assets-${ASSETS_VERSION}.tar.gz"
Expand Down
37 changes: 26 additions & 11 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# Cortext v1.3.0 Release Artifact
# Cortext v1.3.1 Release Artifact

This tracked artifact accompanies the `v1.3.0` tag.
This tracked artifact prepares the `v1.3.1` release metadata. It does not create
the tag or publish the release.

## Release State

- Version: `1.3.0`
- Version: `1.3.1`
- Merged feature baseline before release metadata:
`b6709817959b81e4fbbd4b0eb9be0a8102d80eb1` (PR #11).
- Release source: the integrated commit addressed by the annotated `v1.3.0`
`b26bc30ab76bd50731382a15a503c7891d12612a` (PR #13 — Node text-media
N-API bridge).
- Release source: the integrated commit addressed by the annotated `v1.3.1`
tag; the GitHub release and shared native assets are rebuilt from that exact
commit.
- Product surface: C++ facade, stable C ABI, optional N-API/`ffi/node` addon,
Expand All @@ -17,9 +19,12 @@ This tracked artifact accompanies the `v1.3.0` tag.

## Highlights

- Adds text-with-media processing to the C++ and C APIs, including JSON wrappers
and WASM exports. Text remains the canonical embedding/processing input while
non-empty caller media is copied and persisted with its MIME type.
- Adds the Node-API `processTextWithMediaJson` bridge for text processing with
optional binary media, MIME type, and process options. The bridge consumes
the merged C/C++ text-media API without adding a second native implementation.
- Retains text-with-media processing in the C++ and C APIs, including JSON
wrappers and WASM exports. Text remains the canonical embedding/processing
input while non-empty caller media is copied and persisted with its MIME type.
- Supports arbitrary binary text payloads: custom MIME payloads are treated as
opaque bytes and hydrate unchanged. `Media{}`, `NULL`, or zero-size media
omits the stored payload, while legacy calls retain canonical text storage.
Expand All @@ -40,19 +45,29 @@ This tracked artifact accompanies the `v1.3.0` tag.
and Zig CLI install/target jobs including Windows.
- PR #11 covered text-media persistence, opaque binary hydration, C error
handling, NULL/empty-media behavior, and legacy payload behavior.
- Pull request [#13](https://github.com/augmem/cortext.cpp/pull/13) is merged
at `b26bc30ab76bd50731382a15a503c7891d12612a`, with the Node text-media
N-API bridge at feature head `9686c5a10cca850f73406a7bbd9fa1a38859fb40`.
- The release branch is based directly on that merged `origin/main` commit;
release metadata is the only change after the merge.

## Packaging

- GitHub Release includes `cortext-assets-1.3.0.tar.gz` and its `.sha256`,
- GitHub Release includes `cortext-assets-1.3.1.tar.gz` and its `.sha256`,
built by `.github/workflows/release-assets.yml` from the tagged tree.
- Default native libraries embed the shipping AIST q8_0 shards; the release
asset tree also carries model shards for thin/embed-off consumers.
- Node prebuilds are built by the standalone `augmem/cortext.ts` release
pipeline from this exact `v1.3.1` tag. That pipeline configures CMake with
`CORTEXT_BUILD_NODE_BINDINGS=ON`, builds `cortext_node` on its host matrix,
and publishes the resulting `cortext.node` artifacts; this repository does
not publish Node prebuilds.
- Language package versions and registry publishing remain owned by the
standalone sibling repositories, not this engine repository.

## Version Surfaces

The engine release surfaces report `1.3.0`:
The engine release surfaces report `1.3.1`:

- `CMakeLists.txt` project version
- `build.zig` `cortext_version` and library package version
Expand All @@ -63,7 +78,7 @@ Language package versions are owned by their standalone sibling repositories.

## Publish Targets

- GitHub release tag: `v1.3.0` (engine + `cortext-assets-1.3.0.tar.gz`)
- GitHub release tag: `v1.3.1` (engine + `cortext-assets-1.3.1.tar.gz`)
- Language packages: see sibling `augmem/cortext.py`, `augmem/cortext.ts`,
`augmem/cortext.go`, `augmem/cortext.dart`, and `augmem/cortext.wasm`
repositories.
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const std = @import("std");

const cortext_version = "1.3.0";
const cortext_version = "1.3.1";

const sqlite_header_template = @embedFile("third_party/sqlite/src/sqlite.h.in");

Expand Down Expand Up @@ -320,7 +320,7 @@ pub fn build(b: *std.Build) void {
.name = "cortext",
.linkage = if (shared) .dynamic else .static,
.root_module = mod,
.version = .{ .major = 1, .minor = 3, .patch = 0 },
.version = .{ .major = 1, .minor = 3, .patch = 1 },
});

// Keep Zig consumers on the same pinned hnswlib safety contract as the
Expand Down
2 changes: 1 addition & 1 deletion build.zig.zon
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.{
.name = .cortext,
.version = "1.3.0",
.version = "1.3.1",
.fingerprint = 0x474dfffd9e64ddfb, // Changing this has security and trust implications.
.minimum_zig_version = "0.15.2",
.dependencies = .{
Expand Down
2 changes: 1 addition & 1 deletion models/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"schema": "augmem.cortext.models.v1",
"cortext_version": "1.3.0",
"cortext_version": "1.3.1",
"note": "AIST model is Git-chunked under 100 MiB so it can live in ordinary Git without LFS. Language bindings reassemble and checksum on first use; do not re-shard in binding repos \u2014 copy this tree from cortext.",
"assets": [
{
Expand Down
Loading