Skip to content

Releases: AxeForging/structlint

Release v0.4.1

08 Mar 16:47
6a5e3c1

Choose a tag to compare

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.1

Linux/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/structlint

Linux/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/structlint

Release v0.4.0

08 Mar 15:38
7405781

Choose a tag to compare

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 structlint version 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 lefthook pre-commit hook now automatically builds the structlint binary, improving developer experience.
  • Updated default structlint version: The default structlint version used in the action has been updated to v0.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 structlint version used by the action has been updated to v0.3.0.

Technical Details

  • 74057817: chore: remove reusable workflow and pass github-token to releases
  • ce8c663e: ci: consolidate PR workflows and integrate releaseforge for auto-versioning
  • 5ce50287: ci: auto-build structlint binary in lefthook pre-commit hook
  • f50264d1: feat: auto-resolve latest structlint version from GitHub releases
  • cf211851: 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.0

Linux/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/structlint

Linux/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/structlint

Release v0.3.0

07 Mar 21:07

Choose a tag to compare

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.0

Linux/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/structlint

Linux/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/structlint

Release v0.2.0

08 Feb 21:46

Choose a tag to compare

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.0

Linux/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/structlint

Linux/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/structlint

v0.1.1 - Documentation Improvements

28 Jan 20:00

Choose a tag to compare

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.1

Or download binaries below.

Documentation

v0.1.0 - Initial Release

28 Jan 19:43

Choose a tag to compare

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.0

From 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 validate

Documentation

Checksums

See the checksums.txt file for SHA256 checksums of all binaries.