diff --git a/.changes/unreleased/added-20251120-025450.yaml b/.changes/unreleased/added-20251120-025450.yaml index 67a6dec6b..9f457716d 100644 --- a/.changes/unreleased/added-20251120-025450.yaml +++ b/.changes/unreleased/added-20251120-025450.yaml @@ -1,3 +1,6 @@ kind: added body: Add --format option to export command to pick .ipynb or .py when exporting notebooks time: 2025-11-20T02:54:50.543931335Z +custom: + Author: jkafrouni + AuthorLink: https://github.com/jkafrouni diff --git a/.changes/unreleased/added-20251209-141353.yaml b/.changes/unreleased/added-20251209-141353.yaml index 08f63c2cd..1468c60b7 100644 --- a/.changes/unreleased/added-20251209-141353.yaml +++ b/.changes/unreleased/added-20251209-141353.yaml @@ -1,3 +1,6 @@ kind: added -body: Include API response data in the output. +body: Include API response data in the output time: 2025-12-09T14:13:53.030608891Z +custom: + Author: aviatco + AuthorLink: https://github.com/aviatco diff --git a/.changes/unreleased/added-20251211-183425.yaml b/.changes/unreleased/added-20251211-183425.yaml index f9e450fde..e9b103e52 100644 --- a/.changes/unreleased/added-20251211-183425.yaml +++ b/.changes/unreleased/added-20251211-183425.yaml @@ -1,3 +1,6 @@ kind: added body: Display a notification to users on login when a new fab cli version is available time: 2025-12-11T18:34:25.601088227+01:00 +custom: + Author: Guust-Franssens + AuthorLink: https://github.com/Guust-Franssens diff --git a/.changes/unreleased/fixed-20251203-155412.yaml b/.changes/unreleased/fixed-20251203-155412.yaml index 13c394ca9..85d63436c 100644 --- a/.changes/unreleased/fixed-20251203-155412.yaml +++ b/.changes/unreleased/fixed-20251203-155412.yaml @@ -1,3 +1,6 @@ kind: fixed -body: Avoid re‑authentication when switching from command‑line to interactive mode. +body: Avoid reauthentication when switching from command_line to interactive mode time: 2025-12-03T15:54:12.961104889Z +custom: + Author: aviatco + AuthorLink: https://github.com/aviatco diff --git a/.changes/unreleased/fixed-20251228-073108.yaml b/.changes/unreleased/fixed-20251228-073108.yaml index 0c08d5168..f30141faa 100644 --- a/.changes/unreleased/fixed-20251228-073108.yaml +++ b/.changes/unreleased/fixed-20251228-073108.yaml @@ -1,3 +1,6 @@ kind: fixed body: Fixed set shortcut so it correctly handles target query time: 2025-12-28T07:31:08.76557913Z +custom: + Author: may-hartov + AuthorLink: https://github.com/may-hartov diff --git a/.changes/unreleased/fixed-20260102-172853.yaml b/.changes/unreleased/fixed-20260102-172853.yaml index a5bded44c..7d741d09c 100644 --- a/.changes/unreleased/fixed-20260102-172853.yaml +++ b/.changes/unreleased/fixed-20260102-172853.yaml @@ -1,3 +1,6 @@ kind: fixed body: Fix a typo in connection roles time: 2026-01-02T17:28:53.418628486+01:00 +custom: + Author: Guust-Franssens + AuthorLink: https://github.com/Guust-Franssens diff --git a/.changes/unreleased/optimization-20251223-155633.yaml b/.changes/unreleased/optimization-20251223-155633.yaml index e94514476..5432e5f0f 100644 --- a/.changes/unreleased/optimization-20251223-155633.yaml +++ b/.changes/unreleased/optimization-20251223-155633.yaml @@ -1,3 +1,6 @@ kind: optimization body: Improve the error message to clearly indicate when the MPE creator does not have sufficient Azure permissions on the resource. time: 2025-12-23T15:56:33.427481409Z +custom: + Author: aviatco + AuthorLink: https://github.com/aviatco diff --git a/.changes/unreleased/optimization-20251225-091556.yaml b/.changes/unreleased/optimization-20251225-091556.yaml index e4ee48eec..9bcf0a869 100644 --- a/.changes/unreleased/optimization-20251225-091556.yaml +++ b/.changes/unreleased/optimization-20251225-091556.yaml @@ -1,3 +1,6 @@ kind: optimization body: Reduced unnecessary Fabric administrator warnings for ACL commands time: 2025-12-25T09:15:56.219714671Z +custom: + Author: ayeshurun + AuthorLink: https://github.com/ayeshurun diff --git a/.changie.yaml b/.changie.yaml index 6500b8a0f..c97869aca 100644 --- a/.changie.yaml +++ b/.changie.yaml @@ -6,25 +6,25 @@ headerPath: header.tpl.md versionExt: md changelogPath: docs/release-notes.md versionFormat: '## [{{.Version}}](https://pypi.org/project/ms-fabric-cli/{{.Version}}) - {{.Time.Format "January 02, 2006"}}' -kindFormat: '### {{.Kind}}' -changeFormat: '* {{.Body}}' +kindFormat: "### {{.Kind}}" +changeFormat: "* {{.Body}} by [{{.Custom.Author}}]({{.Custom.AuthorLink}})" kinds: - - label: '⚠️ Breaking Change' + - label: "⚠️ Breaking Change" key: breaking auto: minor - - label: '🆕 New Items Support' + - label: "🆕 New Items Support" key: new-items auto: minor - - label: '✨ New Functionality' + - label: "✨ New Functionality" key: added auto: minor - - label: '🔧 Bug Fix' + - label: "🔧 Bug Fix" key: fixed auto: patch - - label: '⚡ Additional Optimizations' + - label: "⚡ Additional Optimizations" key: optimization auto: patch - - label: '📝 Documentation Update' + - label: "📝 Documentation Update" key: docs auto: patch newlines: @@ -34,6 +34,14 @@ newlines: afterKind: 1 beforeKind: 1 envPrefix: CHANGIE_ +custom: + - key: Author + label: Author's GitHub Username + type: string + minLength: 3 +post: + - key: AuthorLink + value: "https://github.com/{{.Custom.Author}}" replacements: - path: pyproject.toml find: 'version=".*"' @@ -43,4 +51,4 @@ replacements: replace: '__version__ = "{{.VersionNoPrefix}}"' - path: src/fabric_cli/core/fab_constant.py find: 'FAB_VERSION = ".*"' - replace: 'FAB_VERSION = "{{.VersionNoPrefix}}"' \ No newline at end of file + replace: 'FAB_VERSION = "{{.VersionNoPrefix}}"' diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index fbaa15b3d..61dc03f4e 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -4,12 +4,12 @@ on: workflow_dispatch: inputs: version: - description: 'The version to release (e.g., v1.2.0)' + description: "The version to release (e.g., v1.2.0)" required: true commit_sha: - description: 'Optional: Commit SHA to create the tag on. If not provided, the tag will be created on the latest commit of the current branch (HEAD)' + description: "Optional: Commit SHA to create the tag on. If not provided, the tag will be created on the latest commit of the current branch (HEAD)" required: false - default: '' + default: "" jobs: create-release: @@ -20,7 +20,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 with: - fetch-depth: 0 # Required to access full commit history for validation + fetch-depth: 0 # Required to access full commit history for validation - name: Display workflow information run: | @@ -29,14 +29,14 @@ jobs: else TARGET_INFO="- **Target Commit:** Latest commit on current branch (HEAD)" fi - + cat >> $GITHUB_STEP_SUMMARY << EOF # 🚀 Create Release Workflow - + ## ℹ️ Workflow Information - **Version:** ${{ github.event.inputs.version }} $TARGET_INFO - + EOF - name: Validate commit SHA (if provided) @@ -46,14 +46,14 @@ jobs: if ! git rev-parse --verify "$COMMIT_SHA^{commit}" >/dev/null 2>&1; then cat >> $GITHUB_STEP_SUMMARY << EOF ## ❌ Error: Invalid Commit SHA - + The provided commit SHA \`$COMMIT_SHA\` is not valid or does not exist in this repository. - + ### 📝 Troubleshooting - Verify the commit SHA exists in the repository - Ensure you are using the full commit SHA (or at least 7 characters) - Check that the commit is in the current branch history - + EOF echo "Error: Invalid commit SHA: $COMMIT_SHA" exit 1 @@ -65,22 +65,22 @@ jobs: run: | VERSION="${{ github.event.inputs.version }}" COMMIT_SHA="${{ github.event.inputs.commit_sha }}" - + # Use provided commit SHA or default to HEAD if [ -n "$COMMIT_SHA" ]; then TARGET_COMMIT="$COMMIT_SHA" else TARGET_COMMIT="HEAD" fi - + echo "tag_name=$VERSION" >> $GITHUB_OUTPUT echo "changelog_file_path=.changes/${VERSION}.md" >> $GITHUB_OUTPUT echo "target_commit=$TARGET_COMMIT" >> $GITHUB_OUTPUT - + # Get the actual commit SHA for display ACTUAL_SHA=$(git rev-parse "$TARGET_COMMIT") echo "actual_sha=$ACTUAL_SHA" >> $GITHUB_OUTPUT - + echo "✅ Release variables set:" echo " - Tag name: $VERSION" echo " - Target commit: $ACTUAL_SHA" @@ -92,23 +92,23 @@ jobs: if [ ! -f "$CHANGELOG_FILE" ]; then cat >> $GITHUB_STEP_SUMMARY << EOF ## ❌ Error: Release Notes File Not Found - + The release notes file was not found at the expected location: - + \`\`\` $CHANGELOG_FILE \`\`\` - + ### 📝 What to do: 1. Ensure you have created the changelog file for version \`${{ steps.set_vars.outputs.tag_name }}\` 2. The file should be located at: \`.changes/${{ steps.set_vars.outputs.tag_name }}.md\` 3. You can use \`changie batch \` to generate the changelog file - + ### 📂 Available changelog files: \`\`\` $(ls -1 .changes/*.md 2>/dev/null || echo "No changelog files found") \`\`\` - + EOF echo "Error: Release notes file not found at $CHANGELOG_FILE" exit 1 @@ -121,14 +121,14 @@ jobs: run: | cat >> $GITHUB_STEP_SUMMARY << EOF ## 🏗️ Creating Release - + Creating release with the following details: - **Tag:** \`${{ steps.set_vars.outputs.tag_name }}\` - **Target Commit:** \`${{ steps.set_vars.outputs.actual_sha }}\` - **Notes File:** \`${{ steps.set_vars.outputs.changelog_file_path }}\` - + EOF - + # Create the release with the target commit if gh release create ${{ steps.set_vars.outputs.tag_name }} \ --title "${{ steps.set_vars.outputs.tag_name }}" \ @@ -137,32 +137,32 @@ jobs: cat >> $GITHUB_STEP_SUMMARY << EOF ## ✅ Release Created Successfully! - + 🎉 **Release \`${{ steps.set_vars.outputs.tag_name }}\` has been created!** - + ### 📋 Release Details: - **Tag:** \`${{ steps.set_vars.outputs.tag_name }}\` - **Commit:** \`${{ steps.set_vars.outputs.actual_sha }}\` - **Release URL:** [View Release](https://github.com/${{ github.repository }}/releases/tag/${{ steps.set_vars.outputs.tag_name }}) - + EOF else cat >> $GITHUB_STEP_SUMMARY << EOF ## ❌ Error: Failed to Create Release - + The GitHub CLI failed to create the release. This could be due to: - + ### 🔍 Common Issues: - A release with tag \`${{ steps.set_vars.outputs.tag_name }}\` already exists - Insufficient permissions to create releases - Network connectivity issues - Invalid release notes format - + ### 📝 Next Steps: 1. Check if the tag already exists: \`git tag -l '${{ steps.set_vars.outputs.tag_name }}'\` 2. Verify you have the necessary permissions to create releases 3. Review the workflow run logs for detailed error messages - + EOF echo "Error: Failed to create release" exit 1