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 Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "parseable"
version = "2.4.1"
version = "2.4.2"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Version bump to 2.4.2: looks good; please verify repo hygiene (tag/changelog) and metadata cohesion.

  • Ensure the git tag v2.4.2, CHANGELOG entry, and release notes are ready and consistent with this bump.
  • Sanity-check that the version segment in parseable_ui assets (see Lines 161-162) matches this crate version to avoid drift.

Run this quick consistency check from the repo root:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# 1) Extract crate version
CRATE_VERSION="$(rg -nP '^\s*version\s*=\s*"(\d+\.\d+\.\d+)"' -or '$1' Cargo.toml | head -n1)"
echo "Crate version: $CRATE_VERSION"

# 2) Ensure assets-url version segment matches crate version (if metadata exists)
if rg -n '^\s*\[package\.metadata\.parseable_ui\]' Cargo.toml >/dev/null; then
  URL_VER="$(rg -nP '^\s*assets-url\s*=\s*".*?/v(\d+\.\d+\.\d+)/' -or '$1' Cargo.toml | head -n1 || true)"
  echo "Assets URL version: ${URL_VER:-<not found>}"
  if [[ -n "${URL_VER:-}" && "$URL_VER" != "$CRATE_VERSION" ]]; then
    echo "ERROR: assets-url version ($URL_VER) != crate version ($CRATE_VERSION)" >&2
    exit 1
  fi
fi

# 3) Optional: verify CHANGELOG has the version header if a changelog exists
CHANGELOG="$(fd -a -t f -i 'CHANGELOG*' || true)"
if [[ -n "$CHANGELOG" ]]; then
  if ! rg -n "^\s*##?\s*\[?$CRATE_VERSION\]?" $CHANGELOG >/dev/null; then
    echo "WARN: No CHANGELOG entry detected for $CRATE_VERSION in: $CHANGELOG" >&2
  else
    echo "CHANGELOG contains entry for $CRATE_VERSION"
  fi
else
  echo "Note: No CHANGELOG file found; skipping."
fi

echo "OK: Version bump checks passed (basic)."

Length of output: 621


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

# 1) Extract crate version without line numbers
CRATE_VERSION=$(rg -Po '^\s*version\s*=\s*"\K[0-9]+\.[0-9]+\.[0-9]+' Cargo.toml | head -n1)
echo "Crate version: $CRATE_VERSION"

# 2) If parseable_ui metadata exists, validate assets-url version
if rg -q '^\s*\[package\.metadata\.parseable_ui\]' Cargo.toml; then
  URL_VER=$(rg -Po '^\s*assets-url\s*=\s*".*?/v\K[0-9]+\.[0-9]+\.[0-9]+' Cargo.toml | head -n1 || true)
  echo "Assets URL version: ${URL_VER:-<not found>}"
  if [[ -n "$URL_VER" ]] && [[ "$URL_VER" != "$CRATE_VERSION" ]]; then
    echo "ERROR: assets-url version ($URL_VER) != crate version ($CRATE_VERSION)" >&2
    exit 1
  fi
fi

# 3) Verify CHANGELOG entry if present
CHANGELOG=$(fd -a -t f -i 'CHANGELOG*' || true)
if [[ -n "$CHANGELOG" ]]; then
  if rg -q "^\s*##?\s*\[?$CRATE_VERSION\]?" $CHANGELOG; then
    echo "CHANGELOG contains entry for $CRATE_VERSION"
  else
    echo "WARN: No CHANGELOG entry detected for $CRATE_VERSION in: $CHANGELOG" >&2
  fi
else
  echo "Note: No CHANGELOG file found; skipping."
fi

echo "OK: Version bump checks passed (basic)."

Length of output: 678


Version bump verified, but CHANGELOG entry & release artifacts needed

The assets-url version (2.4.2) now matches the crate version (2.4.2), so metadata cohesion is good. However, there’s no CHANGELOG file detected—please add or update one—and ensure the Git tag and release notes are in place.

• Confirm a CHANGELOG (e.g. CHANGELOG.md) exists and includes a heading or entry for version 2.4.2
• Create and push the Git tag v2.4.2
• Draft or link release notes matching the changelog entry

🤖 Prompt for AI Agents
In Cargo.toml around line 3, the version was bumped to 2.4.2 but there is no
CHANGELOG entry or release artifacts; add or update a CHANGELOG (e.g.,
CHANGELOG.md) with a heading/entry for version 2.4.2 summarizing the changes,
commit that file, create and push the Git tag v2.4.2 (git tag v2.4.2 && git push
origin v2.4.2), and publish release notes on the repository (use the changelog
entry as the release description or link to it) so the tag, changelog, and
release notes are all present and consistent.

authors = ["Parseable Team <hi@parseable.com>"]
edition = "2024"
rust-version = "1.88.0"
Expand Down Expand Up @@ -158,8 +158,8 @@ arrow = "54.0.0"
temp-dir = "0.1.14"

[package.metadata.parseable_ui]
assets-url = "https://parseable-prism-build.s3.us-east-2.amazonaws.com/v2.4.1/build.zip"
assets-sha1 = "19eec4d38b978270eca1026325350e38c235ac31"
assets-url = "https://parseable-prism-build.s3.us-east-2.amazonaws.com/v2.4.2/build.zip"
assets-sha1 = "218c43d9bb75e8f9a15df544763a874e65fa0f40"

[features]
debug = []
Expand Down
Loading