Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7N4ZDbUtA3ofqAqRV
10 lines
656 B
Bash
Executable File
10 lines
656 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Public API and configuration-property differences between two Spring AI releases.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
old=${1:-2.0.3}; new=${2:-2.1.0}
|
|
scripts/fetch-jars.sh "$old"; scripts/fetch-jars.sh "$new"
|
|
java tools/ApiDiff.java "jars-cache/$old" "jars-cache/$new" | sed "1i # public API, Spring AI $old -> $new (tools/ApiDiff.java over every non-starter jar in the BOM)" > output/13-api-diff.txt
|
|
{ echo "# configuration metadata, Spring AI $old -> $new"; python3 -I scripts/config-diff.py "jars-cache/$old" "jars-cache/$new"; } > output/14-config-diff.txt
|
|
echo "wrote output/13-api-diff.txt and output/14-config-diff.txt"
|