From ce8129b500f0cd71cb22a857dc210c068332ccbc Mon Sep 17 00:00:00 2001 From: Jonathan Jauhari <40555491+jonjau@users.noreply.github.com> Date: Sat, 6 Sep 2025 22:58:40 +0000 Subject: [PATCH 1/3] Add missing endpoints in Example Payloads section of README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index df1b321..add0eed 100644 --- a/README.md +++ b/README.md @@ -119,9 +119,9 @@ So to track database changes and log them to Pythia for a test suite: ### Example payloads -To set the `user_token` cookie on the client, `POST` to `/sessions/resume` with a `user_token` form field set to an existing `user_token`. +To set the `user_token` cookie on the client, POST to `/sessions/resume` with a `user_token` form field set to an existing `user_token`. -Then, to add a record type: +Then, to add a record type, POST to `/api/record-types`: ```json { @@ -138,7 +138,7 @@ Then, to add a record type: } ``` -and to add facts for that record type: +and to add facts for that record type, POST to `/api/order/facts`: ```json { From db57e7255d1c42e8ca3746ee92245d9a61c55340 Mon Sep 17 00:00:00 2001 From: Jonathan Jauhari <40555491+jonjau@users.noreply.github.com> Date: Sat, 6 Sep 2025 23:32:21 +0000 Subject: [PATCH 2/3] Release version v0.2.0 --- CHANGELOG.md | 12 ++++++++++++ Cargo.lock | 2 +- Cargo.toml | 4 +--- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2ecdaf..ca72c44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.0] - 2025-09-07 + +### Added + +- Web interface style overhaul +- Add 'how to use' page +- Enable adding/deleting record types via web interface +- Enable anonymous cookie-based user sessions +- Add 'copy to clipboard' features for facts table for convenience +- Metadata fields now constrained to just 'Context' and 'SeqNum' +- Facts added by API are now persisted in a prerequisite locally-running DynamoDB instance + ## [0.1.0-dev.3] - 2025-07-11 ### Added diff --git a/Cargo.lock b/Cargo.lock index a6afbc0..071de2f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2887,7 +2887,7 @@ dependencies = [ [[package]] name = "pythia" -version = "0.1.0-dev.3" +version = "0.2.0" dependencies = [ "askama", "askama_axum", diff --git a/Cargo.toml b/Cargo.toml index c402db3..8ffef74 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,9 @@ [package] name = "pythia" -version = "0.1.0-dev.3" +version = "0.2.0" edition = "2021" license = "MIT OR Apache-2.0" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [build-dependencies] serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" From 76f92cb1f32cb36ce61be5e6bd1596c696874ee7 Mon Sep 17 00:00:00 2001 From: Jonathan Jauhari <40555491+jonjau@users.noreply.github.com> Date: Sat, 6 Sep 2025 23:42:46 +0000 Subject: [PATCH 3/3] Update rust build matrix GH action workflow --- .github/workflows/rust.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b88a098..36cfd9c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -39,22 +39,6 @@ jobs: - x86_64-pc-windows-gnu - x86_64-pc-windows-msvc fail-fast: false - steps: - - uses: actions/checkout@v5 - - uses: dtolnay/rust-toolchain@master - with: - toolchain: stable - - name: cache - uses: Swatinem/rust-cache@v2 - - name: test - run: cargo test - mac: - runs-on: macos-latest - strategy: - matrix: - target: - - x86_64-apple-darwin - fail-fast: false steps: - uses: actions/checkout@v5 - uses: dtolnay/rust-toolchain@master