8000 sleek 0.5.0 by BrewTestBot · Pull Request #224704 · Homebrew/homebrew-core · GitHub
[go: up one dir, main page]

Skip to content

sleek 0.5.0 #224704

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 25, 2025
Merged

sleek 0.5.0 #224704

merged 2 commits into from
May 25, 2025

Conversation

BrewTestBot
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes
## [0.5.0] - 2025-01-25

Fixed

  • BREAKING: Fixed check mode bug where --check with multiple files would incorrectly succeed if the first file was formatted, even when subsequent files were unformatted
  • Check mode now properly validates ALL files before returning success
  • This may cause existing CI/CD scripts to fail if they were unknowingly relying on the buggy behavior

Added

  • Comprehensive integration test suite with 16 new tests covering:
    • Command line flag combinations and edge cases
    • Error handling for invalid inputs and file operations
    • Complex SQL formatting scenarios
    • Multiple file operations with glob patterns
    • Check mode validation with various file states
  • Test for check mode with multiple files (both mixed and all-formatted cases)
  • Tests for lines-between-queries flag with different values
  • Tests for short flag aliases (-i, -U, -l, -n)
  • Tests for combining all CLI flags together
  • Tests for SQL with comments preservation
  • Tests for files without .sql extension
  • Tests for read-only file error handling
  • Tests for empty and whitespace-only input handling

Infrastructure

  • Added regression protection: tests verified to fail with buggy code and pass with fix
  • Improved test coverage from 21 to 37 integration tests

View the full release notes at https://github.com/nrempel/sleek/releases/tag/v0.5.0.


@github-actions github-actions bot added rust Rust use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels May 25, 2025
Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label May 25, 2025
@BrewTestBot BrewTestBot enabled auto-merge May 25, 2025 17:37
@BrewTestBot BrewTestBot added this pull request to the merge queue May 25, 2025
Merged via the queue into master with commit eecd7e1 May 25, 2025
17 checks passed
@BrewTestBot BrewTestBot deleted the bump-sleek-0.5.0 branch May 25, 2025 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. rust Rust use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0