Skip to content

Releases: cuesoftinc/open-source-project-generator

Release v1.4.0

26 Sep 16:19
ad05d24

Choose a tag to compare

What's New

Added

  • Enhanced Interactive UI System: Complete overhaul of the user interface with advanced navigation and help systems
    • Navigation system with breadcrumbs and step counter
    • Context-sensitive help system with comprehensive documentation
    • Enhanced project structure preview with interactive navigation
    • Template preview system with detailed component information
    • Scrollable menu system for better user experience
    • Completion system for intelligent input suggestions
  • Advanced Audit Engine: Comprehensive project auditing and quality analysis
    • Security pattern detection and validation
    • Code quality analysis with customizable rules
    • Compliance checking for generated projects
    • Automated security vulnerability scanning
    • Performance metrics and optimization recommendations
  • Intelligent Cache Management: Advanced caching system for improved performance
    • Offline mode support with intelligent cache management
    • Version-aware caching with automatic invalidation
    • Cache compression and optimization
    • Metrics collection and performance monitoring
    • Automatic cleanup and maintenance
  • Enhanced Validation Engine: Advanced validation system with auto-fix capabilities
    • Template structure validation with detailed error reporting
    • Configuration validation with intelligent suggestions
    • Auto-fix capabilities for common issues
    • Integration testing with comprehensive coverage
    • Performance benchmarking and optimization
  • Security & Safety Features: Comprehensive security improvements
    • Input sanitization and validation
    • Secure file operations with path validation
    • Backup management with version control
    • Dry-run mode for safe testing
    • Concurrent operation safety
  • Advanced Template Management: Enhanced template processing and management
    • Template import detection with enhanced algorithms
    • Template security pattern validation
    • Comprehensive template testing suite
    • Template fix automation for common issues
    • Enhanced template scanning and processing
  • Version & Update Management: Intelligent version management system
    • GitHub integration for version checking
    • Automatic update notifications
    • Version compatibility validation
    • Dependency version management
    • Release note generation and management
  • Enhanced Error Handling: Comprehensive error management system
    • Categorized error handling with detailed context
    • Error recovery mechanisms
    • Security-focused error handling
    • Logging integration with structured output
    • User-friendly error messages and suggestions

Changed

  • CLI Interface: Complete redesign of command-line interface
    • Enhanced automation capabilities with intelligent workflows
    • Improved interactive flow management
    • Better mode detection and switching
    • Enhanced configuration commands
    • Streamlined user experience with better error handling
  • Template Processing: Advanced template processing engine
    • Enhanced embedded template system
    • Improved template function processing
    • Better template security validation
    • Optimized template scanning and loading
  • Configuration Management: Enhanced configuration system
    • Improved configuration persistence
    • Better configuration validation
    • Enhanced configuration testing
    • Streamlined configuration management
  • Filesystem Operations: Advanced filesystem management
    • Enhanced project generation with standardized structure
    • Improved filesystem security
    • Better project structure validation
    • Optimized file operations

Fixed

  • Template Generation: Fixed multiple template generation issues
    • Android Kotlin template structure improvements
    • iOS Swift template enhancements
    • Backend Go template optimizations
    • Frontend Next.js template improvements
    • Infrastructure template fixes
  • Security Vulnerabilities: Resolved all security issues
    • Path traversal protection
    • Input validation improvements
    • Secure file permission handling
    • Enhanced error handling security
  • Performance Issues: Optimized performance across all components
    • Cache performance improvements
    • Template processing optimization
    • Memory usage optimization
    • Concurrent operation improvements

Security

  • Zero Security Issues: Maintained complete gosec compliance
    • Enhanced security patterns in all templates
    • Improved input validation and sanitization
    • Secure file operations with proper permissions
    • Enhanced error handling security
  • Security Best Practices: All generated projects follow enhanced security practices
    • Secure default configurations
    • Input validation and sanitization
    • Path traversal protection
    • Secure file permissions

Testing

  • Comprehensive Testing Suite: Enhanced testing coverage and quality
    • Integration testing for all major components
    • Performance benchmarking and optimization
    • Security testing and validation
    • Cross-platform compatibility testing
    • User experience testing
  • Quality Assurance: Improved code quality and reliability
    • Enhanced error handling testing
    • Template validation testing
    • Configuration testing
    • Performance testing

Documentation

  • Enhanced Documentation: Comprehensive documentation updates
    • API reference documentation
    • Configuration guide improvements
    • Getting started guide enhancements
    • Template development documentation
    • Troubleshooting guide updates
  • User Experience: Improved user experience documentation
    • Interactive UI documentation
    • Configuration examples
    • Best practices guide
    • Migration guides

Recent Commits

  • Merge pull request #25 from hibeekaey/feature/v1.4.0

Installation

Quick Install (Linux/macOS)

curl -sSL https://raw.githubusercontent.com/cuesoftinc/open-source-project-generator/main/scripts/install.sh | bash

Manual Installation

  1. Download the appropriate archive for your platform
  2. Extract the archive
  3. Follow the installation instructions in the INSTALL.txt file

Package Managers

  • Debian/Ubuntu: Download the .deb package and install with dpkg -i
  • Red Hat/CentOS: Download the .rpm package and install with rpm -i
  • Homebrew: brew install generator (coming soon)

Usage

# Generate a new project interactively
generator generate

# Show help
generator --help

# Validate a generated project
generator validate ./my-project

# Show version and latest package versions
generator version --packages

Checksums

See checksums.txt for SHA256 hashes of all release assets.

Release v1.3.0

16 Sep 19:43
22e9a32

Choose a tag to compare

Release v1.3.0

What's New

Added

  • Comprehensive Configuration System: Complete set of configuration examples for all use cases
    • config-full-usage.yaml/json - Demonstrates all available features and components
    • config-minimal.yaml - Minimal configuration for simple projects
    • config-frontend-only.yaml - Frontend-focused applications
    • config-mobile-focused.yaml - Mobile applications with backend API
    • config-enterprise.yaml - Enterprise-grade full-stack platform
  • Configuration Documentation: Comprehensive CONFIG_USAGE_GUIDE.md with detailed usage instructions
    • Complete configuration schema documentation
    • Use case examples and best practices
    • Command-line usage examples and troubleshooting guide
  • Android Java Package Structure: Proper Java package hierarchy generation
    • Automatic creation of java/[organization]/[project-name]/mobile/ structure
    • Generated Application.kt file with proper package name and class name
    • Package directories: core, data, di, domain, presentation with documentation
  • Enhanced Version Configuration: Extended package version support
    • Frontend: React, Next.js, TypeScript, Tailwind CSS, ESLint, Prettier
    • Backend: Gin, JWT, Validator, GORM, Redis client
    • Mobile: Kotlin, Swift, Android Gradle Plugin
    • Infrastructure: Docker, Kubernetes, Terraform, Helm, Prometheus, Grafana

Fixed

  • CRITICAL: Android Generation: Fixed Android templates not being generated
    • Root cause: Go embed package cannot include directories with template variables ({{.Organization}})
    • Solution: Hybrid approach using embedded engine + manual Java package structure creation
    • Android projects now generate complete Kotlin application structure
  • Template Variable Processing: Fixed template variables in directory names not being resolved
    • {{.Organization}} and {{.Name | lower}} now properly processed in Android Java packages
    • Consistent package naming across all generated Android files
  • Configuration Validation: Enhanced configuration validation and error handling
    • Better error messages for invalid configurations
    • Automatic fallbacks for missing configuration values

Changed

  • Android Template Processing: Switched from DirectoryProcessor to hybrid embedded engine approach
    • Maintains compatibility with embedded templates while supporting template variables in paths
    • Improved reliability and consistency of Android project generation
  • Configuration Examples: All configuration files now include comprehensive version specifications
    • Latest stable versions for all supported technologies
    • Production-ready version combinations tested for compatibility

Testing

  • Android Generation Verification: Comprehensive testing of Android template generation
    • Verified Java package structure creation with multiple configurations
    • Tested template variable resolution in directory names
    • Confirmed Application.kt generation with proper package imports
  • Configuration System Testing: Validated all configuration examples
    • Full-usage configuration generates complete multi-platform project
    • Minimal configuration works with sensible defaults
    • Specialized configurations (frontend-only, mobile-focused, enterprise) generate appropriate structures

Documentation

  • Usage Guide: Complete configuration usage documentation
    • Step-by-step instructions for all configuration options
    • Command-line examples and best practices
    • Troubleshooting guide for common issues
  • Configuration Schema: Detailed documentation of all configuration fields
    • Required vs optional fields clearly marked
    • Supported values and validation rules
    • Examples for each configuration section

Recent Commits

Installation

Quick Install (Linux/macOS)

curl -sSL https://raw.githubusercontent.com/cuesoftinc/open-source-project-generator/main/scripts/install.sh | bash

Manual Installation

  1. Download the appropriate archive for your platform
  2. Extract the archive
  3. Follow the installation instructions in the INSTALL.txt file

Package Managers

  • Debian/Ubuntu: Download the .deb package and install with dpkg -i
  • Red Hat/CentOS: Download the .rpm package and install with rpm -i
  • Homebrew: brew install generator (coming soon)

Usage

# Generate a new project interactively
generator generate

# Show help
generator --help

# Validate a generated project
generator validate ./my-project

# Show version and latest package versions
generator version --packages

Checksums

See checksums.txt for SHA256 hashes of all release assets.

Release v1.2.0

16 Sep 19:04
90f7104

Choose a tag to compare

Release v1.2.0

What's New

Added

  • Default Version Management: Added automatic fallback versions for all package dependencies
    • React: ^18.3.1, Next.js: 14.2.0, Go: 1.22.0, Node.js: 20.11.0
    • Kotlin: 2.0.0, Swift: 5.9.0 with automatic version resolution
  • Enhanced Security: Comprehensive security improvements across all templates
    • Secure file operations with path validation and traversal protection
    • Secure file permissions (0600 for files, 0750 for directories)
    • Added security utility functions with proper error handling
  • Template Variable Processing: Enhanced support for complex template expressions
    • Added support for {{.Name | lower}}, {{.Name | upper}} in directory names
    • Fixed iOS and Android project structure generation with proper naming
  • Disabled Template Filtering: Automatic exclusion of .tmpl.disabled files from generated projects

Changed

  • Default Output Directory: Changed from no default to output/generated for better organization
  • Template Engine Architecture: iOS/Android templates now use DirectoryProcessor for proper path processing
  • Package Versions: Updated to compatible, secure versions
    • Redis Go client: v9.14.0 (was v9.15.0 which didn't exist)
    • ESLint: ^8.57.0 (compatible with Next.js 14.2.0)
  • CLI Interface: Removed duplicate help command for cleaner interface

Fixed

  • Android Project Generation: Fixed missing Java directory structure in Android projects
    • Template variables in directory names now properly processed
    • Complete Android Kotlin project structure with proper package hierarchy
  • iOS Project Generation: Fixed {{.Name}} appearing literally in iOS directory names
    • Proper Xcode project structure with correct naming
  • Security Vulnerabilities: Fixed all gosec security issues
    • Path traversal vulnerabilities (G304): 25 issues resolved
    • Insecure file permissions (G301/G306): 20 issues resolved
    • Unhandled errors (G104): 2 issues resolved in generated code
  • Template Processing: Fixed nil pointer errors when version configurations are missing
    • All templates now use version functions with fallbacks
    • Minimal configurations work without specifying any versions
  • Package Dependencies: Fixed version compatibility issues
    • React/Next.js/ESLint version conflicts resolved
    • All frontend dependencies now resolve correctly

Security

  • Zero Security Issues: Complete gosec compliance achieved
    • Main codebase: 0 issues (4 intentional suppressions in security utils)
    • Generated code: 0 issues in all templates
  • Secure Defaults: All generated projects follow security best practices
    • Secure file permissions and operations
    • Path validation and traversal protection
    • Proper error handling in generated code

Testing

  • Comprehensive Testing: Full component integration testing completed
    • All components (Frontend, Backend, Mobile, Infrastructure) generate successfully
    • Package dependency resolution verified for all templates
    • Cross-platform compatibility maintained
    • Zero regressions in existing functionality

Migration Notes

  • Default Output Path: Projects now generate to output/generated/ by default instead of requiring manual specification
  • Version Requirements: Version specifications in config files are now optional - sensible defaults are provided
  • iOS/Android Projects: Existing projects with {{.Name}} in directory names should be regenerated for proper structure
  • Security: All generated projects now follow enhanced security practices automatically

Recent Commits

Installation

Quick Install (Linux/macOS)

curl -sSL https://raw.githubusercontent.com/cuesoftinc/open-source-project-generator/main/scripts/install.sh | bash

Manual Installation

  1. Download the appropriate archive for your platform
  2. Extract the archive
  3. Follow the installation instructions in the INSTALL.txt file

Package Managers

  • Debian/Ubuntu: Download the .deb package and install with dpkg -i
  • Red Hat/CentOS: Download the .rpm package and install with rpm -i
  • Homebrew: brew install generator (coming soon)

Usage

# Generate a new project interactively
generator generate

# Show help
generator --help

# Validate a generated project
generator validate ./my-project

# Show version and latest package versions
generator version --packages

Checksums

See checksums.txt for SHA256 hashes of all release assets.

Release v1.0.0

16 Sep 14:50
b926ff4

Choose a tag to compare

Release v1.0.0

What's New

Added

  • Dynamic release notes generation from CHANGELOG.md content
  • Automatic inclusion of recent commit messages in release notes
  • Enhanced GitHub Actions workflow with better error handling
  • Improved release asset organization and checksums
  • Interactive project generation with component selection
  • Support for frontend (Next.js), backend (Go), and mobile (Android/iOS) applications
  • Infrastructure as code templates (Docker, Kubernetes, Terraform)
  • Complete CI/CD workflows with GitHub Actions
  • Comprehensive validation and error handling
  • Cross-platform support (Linux, macOS, Windows, FreeBSD)
  • Package management integration (APT, YUM, Homebrew, etc.)

Changed

  • Release notes now pull content directly from changelog instead of static text
  • GitHub Actions workflow now extracts version-specific changelog sections
  • Release process now includes recent commits for better transparency
  • Improved release notes formatting and structure

Fixed

  • Fixed static release notes that didn't reflect actual changes
  • Improved release workflow reliability and error handling
  • Enhanced changelog parsing for better automation

Recent Commits

Installation

Quick Install (Linux/macOS)

curl -sSL https://raw.githubusercontent.com/cuesoftinc/open-source-project-generator/main/scripts/install.sh | bash

Manual Installation

  1. Download the appropriate archive for your platform
  2. Extract the archive
  3. Follow the installation instructions in the INSTALL.txt file

Package Managers

  • Debian/Ubuntu: Download the .deb package and install with dpkg -i
  • Red Hat/CentOS: Download the .rpm package and install with rpm -i
  • Homebrew: brew install generator (coming soon)

Usage

# Generate a new project interactively
generator generate

# Show help
generator --help

# Validate a generated project
generator validate ./my-project

# Show version and latest package versions
generator version --packages

Checksums

See checksums.txt for SHA256 hashes of all release assets.

Release v0.0.0

16 Sep 14:47
b926ff4

Choose a tag to compare

Release v0.0.0

What's New

Added

  • Dynamic release notes generation from CHANGELOG.md content
  • Automatic inclusion of recent commit messages in release notes
  • Enhanced GitHub Actions workflow with better error handling
  • Improved release asset organization and checksums
  • Interactive project generation with component selection
  • Support for frontend (Next.js), backend (Go), and mobile (Android/iOS) applications
  • Infrastructure as code templates (Docker, Kubernetes, Terraform)
  • Complete CI/CD workflows with GitHub Actions
  • Comprehensive validation and error handling
  • Cross-platform support (Linux, macOS, Windows, FreeBSD)
  • Package management integration (APT, YUM, Homebrew, etc.)

Changed

  • Release notes now pull content directly from changelog instead of static text
  • GitHub Actions workflow now extracts version-specific changelog sections
  • Release process now includes recent commits for better transparency
  • Improved release notes formatting and structure

Fixed

  • Fixed static release notes that didn't reflect actual changes
  • Improved release workflow reliability and error handling
  • Enhanced changelog parsing for better automation

Recent Commits

Installation

Quick Install (Linux/macOS)

curl -sSL https://raw.githubusercontent.com/cuesoftinc/open-source-project-generator/main/scripts/install.sh | bash

Manual Installation

  1. Download the appropriate archive for your platform
  2. Extract the archive
  3. Follow the installation instructions in the INSTALL.txt file

Package Managers

  • Debian/Ubuntu: Download the .deb package and install with dpkg -i
  • Red Hat/CentOS: Download the .rpm package and install with rpm -i
  • Homebrew: brew install generator (coming soon)

Usage

# Generate a new project interactively
generator generate

# Show help
generator --help

# Validate a generated project
generator validate ./my-project

# Show version and latest package versions
generator version --packages

Checksums

See checksums.txt for SHA256 hashes of all release assets.