Skip to content

Commit bfac079

Browse files
committed
docs: add v0.2.0 documentations
1 parent 90f80f9 commit bfac079

File tree

6 files changed

+481
-70
lines changed

6 files changed

+481
-70
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Verify tag format
2323
run: |
2424
if [[ ! "${{ github.ref_name }}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
25-
echo "Error: Tag must follow semantic versioning (e.g., v0.1.3)"
25+
echo "Error: Tag must follow semantic versioning (e.g., v0.2.0)"
2626
exit 1
2727
fi
2828
@@ -124,10 +124,12 @@ jobs:
124124
if [[ "${{ runner.os }}" == "Windows" ]]; then
125125
./${{ matrix.asset_name }} --version
126126
./${{ matrix.asset_name }} init --help
127+
./${{ matrix.asset_name }} add-dependency --help
127128
else
128129
chmod +x ./${{ matrix.asset_name }}
129130
./${{ matrix.asset_name }} --version
130131
./${{ matrix.asset_name }} init --help
132+
./${{ matrix.asset_name }} add-dependency --help
131133
fi
132134
shell: bash
133135

@@ -207,7 +209,7 @@ jobs:
207209
cat > release_notes.md << 'EOF'
208210
## AR-Infra CLI ${{ github.ref_name }}
209211
210-
Production-ready Spring Boot project generator with GitHub integration.
212+
Production-ready Spring Boot project generator with MySQL support and enhanced dependency management.
211213
212214
### What's Changed
213215
@@ -263,21 +265,25 @@ jobs:
263265
```bash
264266
ar-infra init
265267
266-
ar-infra init --group=com.example --artifact=myapp --features=postgresql,rabbitmq
268+
ar-infra init --group=com.example --artifact=myapp --features=mysql,rabbitmq
269+
270+
ar-infra add-dependency "implementation 'io.jsonwebtoken:jjwt-api:0.13.0'"
267271
```
268272
269273
### What's New in This Release
270274
271-
- **GitHub App Integration**: Seamless repository setup with ar-infra-bot
272-
- **Working CI/CD**: CodeQL and Semgrep workflows configured automatically
273-
- **Enhanced UX**: Improved CLI messaging and user feedback
274-
- **Bug Fixes**: Formatting now works with zero features selected
275+
- **MySQL Database Support**: Choose between PostgreSQL and MySQL during initialization
276+
- **New `add-dependency` Command**: Add Gradle dependencies to existing projects
277+
- **Enhanced Feature Selection**: Separate database choice from infrastructure components
278+
- **Template Compatibility**: Tag-based cloning ensures version compatibility
279+
- **OpenAPI Documentation**: SwaggerHandler removes unused endpoints based on features
280+
- **`--no-feature` Flag**: Generate minimal Spring Boot projects without infrastructure
275281
276282
### Platform Compatibility
277283
278284
- **Linux**: Static binary compatible with glibc 2.17+ (Ubuntu 14.04+, Debian 8+, CentOS 7+, Fedora, Arch, etc.)
279285
- **macOS**: Compatible with macOS 10.13+ (Intel) and macOS 11+ (Apple Silicon)
280-
- **Windows**: Compatible with Windows 7 SP1+ and Windows Server 2008 R2+
286+
- **Windows**: Compatible with Windows 10/11 and Windows Server 2016+
281287
282288
### Security
283289

CHANGELOG.md

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,56 @@ All notable changes to AR-Infra CLI will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [0.1.3] - 2026-01-12
8+
## [0.2.0] - 2026-01-16
99

1010
### Added
1111

12+
- MySQL database support as an alternative to PostgreSQL
13+
- Separate database selection workflow with dedicated prompts
14+
- New `add-dependency` command for adding Gradle dependencies to existing projects
15+
- `--no-feature` flag to generate minimal Spring Boot projects without infrastructure features
16+
- SwaggerHandler for automatic OpenAPI specification cleanup based on selected features
17+
- Template repository tag-based cloning for version compatibility
18+
- Enhanced feature selection with distinct database and infrastructure component steps
19+
20+
### Changed
21+
22+
- Feature selection workflow now separates database choice from other infrastructure components
23+
- Template cloning now targets specific version tags to maintain backward and forward compatibility
24+
- OpenAPI documentation (doc/api.yml) now updates dynamically based on selected features
25+
- Improved project generation flow with clearer separation of concerns
26+
27+
### Fixed
28+
29+
- OpenAPI specification files now properly reflect selected infrastructure features
30+
- Template compatibility issues between CLI versions resolved through tag-based cloning
31+
- Unused OpenAPI endpoints are now removed when corresponding features are not selected
32+
33+
## [0.1.3] - 2026-01-12
34+
35+
### Added v0.1.3
36+
1237
- GitHub App integration (ar-infra-bot) for automated repository setup
1338
- Automatic GitHub authorization workflow during project generation
1439
- Pre-configured CI/CD workflows (CodeQL and Semgrep) that work out-of-the-box
1540
- New `--skip-github-app` flag to bypass GitHub App integration when needed
1641
- Enhanced CLI user interface with improved messaging and feedback
1742

18-
### Changed
43+
### Changed in v0.1.3
1944

2045
- Project generation now includes GitHub repository configuration step
2146
- Improved user experience with clearer status messages and prompts
2247
- Enhanced formatting workflow to handle projects with no features selected
2348

24-
### Fixed
49+
### Fixed in v0.1.3
2550

2651
- CodeQL and Semgrep CI workflows now function correctly with proper GitHub authorization
2752
- Project formatting no longer fails when no infrastructure features are selected
2853
- Resolved authorization issues that previously caused CI pipeline failures
2954

3055
## [0.1.2] - 2026-01-10
3156

32-
### Added in 0.1.2
57+
### Added in v0.1.2
3358

3459
- Comprehensive logging system throughout project generation workflow
3560
- Detailed progress tracking with step-by-step updates
@@ -38,14 +63,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3863
- Process visibility showing which step is executing during generation
3964
- Build-time secret injection for improved security
4065

41-
### Changed in 0.1.2
66+
### Changed in v0.1.2
4267

4368
- Improved project generation workflow with better user feedback
4469
- Enhanced Windows support with native batch script handling
4570
- Secrets are now injected at build time instead of being bundled in binaries
4671
- Updated security model to prevent secret extraction from distributed binaries
4772

48-
### Fixed in 0.1.2
73+
### Fixed in v0.1.2
4974

5075
- Missing banner in PyPI package installations
5176
- Resource file inclusion in Python package distribution
@@ -89,6 +114,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
89114
- Release notes structure for version tracking
90115
- API documentation via command-line help system
91116

117+
[0.2.0]: https://github.com/Abega1642/ar-infra-cli/compare/v0.1.3...v0.2.0
92118
[0.1.3]: https://github.com/Abega1642/ar-infra-cli/compare/v0.1.2...v0.1.3
93119
[0.1.2]: https://github.com/Abega1642/ar-infra-cli/compare/v0.1.1...v0.1.2
94120
[0.1.1]: https://github.com/Abega1642/ar-infra-cli/releases/tag/v0.1.1

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "ar-infra-cli"
7-
version = "0.1.3"
7+
version = "0.2.0"
88
description = "Production-ready Spring Boot project generator CLI"
99
authors = [
1010
{name = "Abegà Razafindratelo", email = "a.razafindratelo@gmail.com"}

0 commit comments

Comments
 (0)