Releases: SecDev-Lab/sprout
Releases · SecDev-Lab/sprout
v0.7.0
What's Changed
Added
- Support for default values in
.env.exampletemplates using{{ VARIABLE | default_value }}syntax- Works with environment variables:
{{ API_KEY | dev-key }}- uses default when variable is not set - Works with function placeholders:
{{ branch() | main }}- uses default when branch name is not provided - Supports empty string as default:
{{ VAR | }}- uses empty string when variable is not set - Whitespace around default values is automatically trimmed
- Environment variables always override default values when set
- Works with environment variables:
Changed
Deprecated
Removed
Fixed
Security
Full Changelog: v0.1.0...v0.7.0
v0.6.0
What's Changed
Added
- Support for
{{ branch() }}placeholder in.env.exampletemplates - replaced with the current branch/subtree name
Changed
Deprecated
Removed
Fixed
Security
Full Changelog: v0.1.0...v0.6.0
v0.5.0
What's Changed
Added
- Support for repositories without
.env.examplefiles -sprout createnow works in any git repository
Changed
sprout createbehavior when no.env.examplefiles exist: shows warning instead of error and continues creating worktree
Deprecated
Removed
Fixed
Security
Full Changelog: v0.1.0...v0.5.0
v0.4.0
What's Changed
Added
- Support for multiple
.env.examplefiles throughout the repository, enabling monorepo workflows - Recursive scanning of
.envfiles for port allocation to ensure global uniqueness across all services
Changed
- Port allocation now ensures uniqueness across all services in all worktrees, preventing Docker host port conflicts
sprout createnow processes all.env.examplefiles found in the repository while maintaining directory structure- Only git-tracked
.env.examplefiles are now processed, preventing unwanted processing of files in.sprout/worktrees
Deprecated
Removed
Fixed
Security
Full Changelog: v0.1.0...v0.4.0
v0.3.0
What's Changed
Added
--pathflag forsprout createcommand to output only the worktree path, enabling one-liner usage likecd $(sprout create feature --path)
Changed
- Enhanced
sprout pathandsprout rmcommands to accept index numbers fromsprout lsoutput, enabling faster navigation without typing full branch names (e.g.,cd $(sprout path 2)instead ofcd $(sprout path feature-long-branch-name))
Deprecated
Removed
Fixed
Security
Full Changelog: v0.1.0...v0.3.0
v0.2.0
What's Changed
Added
- Initial implementation of sprout CLI tool
createcommand to create new git worktrees with Docker Compose supportlscommand to list all sprout worktreesrmcommand to remove sprout worktreespathcommand to get the path of a sprout worktree- Rich terminal output with progress indicators
- Comprehensive test suite with pytest
- Type checking with mypy
- Linting and formatting with ruff
- CI/CD pipeline with GitHub Actions
- Support for Python 3.11, 3.12, and 3.13
[Unreleased]: v0.1.0...HEAD
Full Changelog: v0.1.0...v0.2.0