Releases: AxeForging/structlint
Releases · AxeForging/structlint
Release v0.4.1
Summary
- This release focuses on improving the quality and professionalism of the Pull Request comments generated by the action, making them more informative for users.
Breaking Changes
- None
Features
- None
Improvements
- Enhanced the Pull Request comments generated by the action to be more professional and informative.
Fixes
- None
Security
- None
Documentation
- None
Updated (dependencies)
- None
Technical Details
- Refactor: improve PR comment to be more professional and informative (6a5e3c1)
Contributors
Testing
- None
Installation
Go Install
go install github.com/AxeForging/structlint/cmd/structlint@v0.4.1Linux/macOS (AMD64)
curl -L https://github.com/AxeForging/structlint/releases/download/v0.4.1/structlint-linux-amd64.tar.gz | tar xz
chmod +x structlint-linux-amd64
sudo mv structlint-linux-amd64 /usr/local/bin/structlintLinux/macOS (ARM64)
curl -L https://github.com/AxeForging/structlint/releases/download/v0.4.1/structlint-linux-arm64.tar.gz | tar xz
chmod +x structlint-linux-arm64
sudo mv structlint-linux-arm64 /usr/local/bin/structlintRelease v0.4.0
Summary
This release introduces a new feature to automatically resolve the latest structlint version from GitHub releases, enhancing the action's maintainability. It also includes several CI/CD improvements, such as consolidating PR workflows, integrating releaseforge for automated versioning, and streamlining the overall release process.
Breaking Changes
- No breaking changes were identified in this release.
Features
- Auto-resolve latest structlint version: The action can now automatically determine the latest
structlintversion directly from GitHub releases, reducing manual updates.
Improvements
- Consolidated PR workflows: Various pull request workflows have been consolidated for better organization and efficiency.
- Integrated ReleaseForge for auto-versioning: Automated versioning has been integrated using ReleaseForge, streamlining the release cycle.
- Streamlined release workflow: The release workflow has been optimized by removing a reusable workflow and directly passing the GitHub token, simplifying the setup.
- Automated structlint binary build: A
lefthookpre-commit hook now automatically builds thestructlintbinary, improving developer experience. - Updated default structlint version: The default
structlintversion used in the action has been updated tov0.3.0.
Fixes
- No bug fixes were identified in this release.
Security
- No security updates or fixes were identified in this release.
Documentation
- No specific documentation updates were identified in this release.
Updated (dependencies)
- The default
structlintversion used by the action has been updated tov0.3.0.
Technical Details
74057817: chore: remove reusable workflow and pass github-token to releasesce8c663e: ci: consolidate PR workflows and integrate releaseforge for auto-versioning5ce50287: ci: auto-build structlint binary in lefthook pre-commit hookf50264d1: feat: auto-resolve latest structlint version from GitHub releasescf211851: ci: update default structlint version to v0.3.0
Contributors
Testing
- All changes have been tested to ensure workflow integrity and feature functionality.
Installation
Go Install
go install github.com/AxeForging/structlint/cmd/structlint@v0.4.0Linux/macOS (AMD64)
curl -L https://github.com/AxeForging/structlint/releases/download/v0.4.0/structlint-linux-amd64.tar.gz | tar xz
chmod +x structlint-linux-amd64
sudo mv structlint-linux-amd64 /usr/local/bin/structlintLinux/macOS (ARM64)
curl -L https://github.com/AxeForging/structlint/releases/download/v0.4.0/structlint-linux-arm64.tar.gz | tar xz
chmod +x structlint-linux-arm64
sudo mv structlint-linux-arm64 /usr/local/bin/structlintRelease v0.3.0
Changelog
- 47ec03b ci: add self-review workflow using reviewforge (#2)
- 82d7606 ci: switch validate workflow to use AxeForging/structlint@main
Installation
Go Install
go install github.com/AxeForging/structlint/cmd/structlint@v0.3.0Linux/macOS (AMD64)
curl -L https://github.com/AxeForging/structlint/releases/download/v0.3.0/structlint-linux-amd64.tar.gz | tar xz
chmod +x structlint-linux-amd64
sudo mv structlint-linux-amd64 /usr/local/bin/structlintLinux/macOS (ARM64)
curl -L https://github.com/AxeForging/structlint/releases/download/v0.3.0/structlint-linux-arm64.tar.gz | tar xz
chmod +x structlint-linux-arm64
sudo mv structlint-linux-arm64 /usr/local/bin/structlintRelease v0.2.0
Changelog
- 7716246 feat: add init command, default validate, and release tooling (#1)
- 4d85c01 fix: add version 2 to goreleaser config
- e8ae0f9 fix: goreleaser v2 compatibility in format_overrides
- 5afa4f9 fix: remove LICENSE from goreleaser archive files (not present yet)
- 6527461 fix: update goreleaser config for v2 API compatibility
Installation
Go Install
go install github.com/AxeForging/structlint/cmd/structlint@v0.2.0Linux/macOS (AMD64)
curl -L https://github.com/AxeForging/structlint/releases/download/v0.2.0/structlint-linux-amd64.tar.gz | tar xz
chmod +x structlint-linux-amd64
sudo mv structlint-linux-amd64 /usr/local/bin/structlintLinux/macOS (ARM64)
curl -L https://github.com/AxeForging/structlint/releases/download/v0.2.0/structlint-linux-arm64.tar.gz | tar xz
chmod +x structlint-linux-arm64
sudo mv structlint-linux-arm64 /usr/local/bin/structlintv0.1.1 - Documentation Improvements
structlint v0.1.1
Documentation and usability improvements.
What's Changed
Documentation
- Added expandable sections using
<details>tags for cleaner reading - Comprehensive examples for different project types:
- Go projects
- Node.js / TypeScript projects
- Python projects
- Monorepos
- Improved glob pattern documentation with examples table
- Installation instructions for all platforms (Linux, macOS, Windows)
- Enhanced AI context documentation with common tasks
- CI/CD integration examples (GitHub Actions, GitLab CI)
No Breaking Changes
- Same CLI interface as v0.1.0
- Same configuration format
Installation
go install github.com/AxeForging/structlint@v0.1.1Or download binaries below.
Documentation
v0.1.0 - Initial Release
structlint v0.1.0
First public release of structlint - a CLI tool for validating directory structures and file naming patterns.
Features
- Directory structure validation with glob patterns
- File naming pattern validation (allowed, disallowed, required)
- Required paths and files checking
- YAML and JSON configuration support
- JSON report output for CI/CD integration
- Shell completions (bash, zsh, fish)
- Cross-platform binaries
Installation
Using Go
go install github.com/AxeForging/structlint@v0.1.0From Binary
Download the appropriate binary for your platform from the assets below.
Quick Start
# Create a config file
cat > .structlint.yaml << 'YAML'
dir_structure:
allowedPaths: [".", "cmd/**", "internal/**"]
disallowedPaths: ["vendor/**"]
file_naming_pattern:
allowed: ["*.go", "*.yaml", "*.md"]
disallowed: ["*.env*", "*.log"]
ignore: [".git", "vendor"]
YAML
# Run validation
structlint validateDocumentation
Checksums
See the checksums.txt file for SHA256 checksums of all binaries.