Skip to content
Merged
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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/).

## [Unreleased]

## [0.7.8] - 2025-11-05

Fixed:
- Fix path resolution in `fga model test` to no longer resolve paths using the files base path
Comment on lines +10 to +13
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

Add PR and issue references for traceability.

The v0.7.8 changelog entry lacks PR and issue references, which is inconsistent with other entries in the changelog. For example, the v0.7.7 entry (line 30) includes ([#516](https://github.com/openfga/cli/pull/516)) - fixes #349 for similar path resolution fixes.

Can you provide the PR number and related issue number for this fix so we can add them to the changelog entry? The format should match existing entries:

-Fix path resolution in `fga model test` to no longer resolve paths using the files base path
+Fix path resolution in `fga model test` to no longer resolve paths using the files base path ([#XXX](https://github.com/openfga/cli/pull/XXX)) - fixes #YYY

Additionally, clarify whether this fix corrects a regression from v0.7.7's path resolution changes or is a separate improvement.


🏁 Script executed:

#!/bin/bash
# Search for v0.7.8 related commits and tags
echo "=== Git tags for v0.7.8 ==="
git tag | grep -i "v0.7.8" || echo "No exact tag found"

echo -e "\n=== Recent git log entries mentioning 0.7.8 or path resolution ==="
git log --oneline --all -50 | grep -i "0.7.8\|path\|fga model test" || echo "No matches in recent history"

echo -e "\n=== Search git log for path resolution fixes ==="
git log --oneline --all -100 --grep="path\|fga model test" || echo "No matches found"

echo -e "\n=== Check for PR references in CHANGELOG commits ==="
git log -p --all -- CHANGELOG.md | grep -A5 -B5 "0.7.8" | head -40

Length of output: 1023


🏁 Script executed:

#!/bin/bash
# Search the codebase for references to PR numbers or issue numbers near v0.7.8
echo "=== Search CHANGELOG for nearby PR/issue patterns ==="
rg -n -A3 -B3 "0.7.8|path resolution" CHANGELOG.md

echo -e "\n=== Look for issue or PR references in git branch/commit names ==="
git branch -a | grep -i "v0.7.8\|path\|fix" | head -10

echo -e "\n=== Check recent tags for release dates ==="
git tag -l "v0.7.*" --format='%(refname:short) %(creatordate:short)' 2>/dev/null | tail -10

Length of output: 1097


🏁 Script executed:

#!/bin/bash
# Get the full commit message for the v0.7.8 fix
echo "=== Full commit message for db7dfeb ==="
git log -1 --format=%B db7dfeb

echo -e "\n=== Search commit history for PR #603 or issue references ==="
git log --oneline --all --grep="#603\|PR 603" | head -10

echo -e "\n=== Get commits between v0.7.7 release and v0.7.8 release ==="
git log --oneline 7266fff...48173ef | head -20

Length of output: 372


🌐 Web query:

Does GitHub PR #603 in openfga/cli repository contain issue references?

💡 Result:

Yes — the PR's References section includes a reference to openfga/action-openfga-test#32. [1]


Add PR #603 reference to changelog entry.

Verification confirms that the v0.7.8 entry should reference PR #603 which contains the fix commit. Additionally, PR #603 references openfga/action-openfga-test#32, though this is a cross-repository issue reference.

Update the v0.7.8 changelog entry to:

-Fix path resolution in `fga model test` to no longer resolve paths using the files base path
+Fix path resolution in `fga model test` to no longer resolve paths using the files base path ([#603](https://github.com/openfga/cli/pull/603))

If the cross-repository issue should be included, adjust the format accordingly since it references a different repository.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
## [0.7.8] - 2025-11-05
Fixed:
- Fix path resolution in `fga model test` to no longer resolve paths using the files base path
## [0.7.8] - 2025-11-05
Fixed:
- Fix path resolution in `fga model test` to no longer resolve paths using the files base path ([#603](https://github.com/openfga/cli/pull/603))
🤖 Prompt for AI Agents
In CHANGELOG.md around lines 10 to 13, the v0.7.8 entry is missing the PR
reference; update the line "Fix path resolution in `fga model test` to no longer
resolve paths using the files base path" to append " (PR #603)" and, if
including the cross-repository issue, add " — fixes
openfga/action-openfga-test#32" using that cross-repo issue format so the
changelog references PR #603 and optionally the external issue.


## [0.7.7] - 2025-11-04

> [!NOTE]
Expand Down Expand Up @@ -351,6 +356,7 @@ Initial OpenFGA CLI release
* Use Expand to understand why access was granted

[Unreleased]: https://github.com/openfga/cli/compare/v0.7.7...HEAD
[0.7.8]: https://github.com/openfga/cli/compare/v0.7.7...v0.7.8
[0.7.7]: https://github.com/openfga/cli/compare/v0.7.5...v0.7.7
[0.7.5]: https://github.com/openfga/cli/compare/v0.7.4...v0.7.5
[0.7.4]: https://github.com/openfga/cli/compare/v0.7.3...v0.7.4
Expand Down
Loading