Skip to content

Releases

FeatGen v1.2.0 - The Firebase Update 🔥🛢️

Choose a tag to compare

@Hasalawa Hasalawa released this 29 May 15:58
0b77531

Welcome to FeatGen v1.2.0!

In this update, we are tackling one of the biggest pain points in modern app development: Database Boilerplates. You can now seamlessly switch between standard relational databases (JPA) and NoSQL Cloud databases (Firebase Firestore) with a single command!

🌟 What's New in v1.2.0:

  • 🛢️ Smart Database Flag (--db): Choose your target database architecture on the fly. Currently supports jpa (default) and firebase.
  • ☕ Spring Boot + Firebase: Using --db firebase bypasses standard JPA entities. Instead, it generates Firebase POJOs and custom Repository classes injected with Google Cloud Firestore instances.
  • 📱 Flutter + Firebase: Automatically generates cloud_firestore ready Service classes for your Flutter apps, complete with standard CRUD operations right out of the box.
  • 💡 Upgraded Help Menu: The feat_gen --help command is now smarter! It displays command-specific options dynamically and includes real-world practical examples to help you get started faster.

💻 How to Use the New Features:

For a Firebase-ready Spring Boot Feature:

feat_gen create product-catalog -p com.yourcompany.app --db firebase

For a Firebase-ready Flutter Feature:

feat_gen create cart-items -f flutter --db firebase

📦 Installation / Upgrade:

  1. Download the new feat_gen.exe from the Assets section below.
  2. Replace your old v1.1.0 executable file with this new one.
  3. Open a new terminal and type feat_gen --help to explore the new commands!

FeatGen v1.1.0 - The Flutter Update

Choose a tag to compare

@Hasalawa Hasalawa released this 28 May 15:33
b95991b

Welcome to FeatGen v1.1.0!

In this update, we are taking Feature-First Architecture beyond the backend. FeatGen now officially supports generating feature packages for Flutter (Dart) alongside Spring Boot!

🌟 What's New in v1.1.0:

  • 📱 Full Flutter Support: Instantly generate complete Feature-First structures for your Flutter apps. It automatically creates screens, controllers, models, services, and widgets directories.
  • 🎯 Flutter Boilerplate: Automatically writes standard UI templates, State Controllers (ChangeNotifier), Models with JSON serialization, and API Service classes.
  • ⚙️ New Framework Flag: Introduced the -f or --framework CLI flag. You can now easily switch between generating Spring Boot or Flutter features.
  • 🧹 Codebase Improvements: Completely translated internal comments and console logs to professional English, making it easier for global open-source contributors to understand and modify the core engine.

💻 How to Use the New Features:

To generate a new Flutter feature, simply use the -f flutter flag:

feat_gen create user-profile -f flutter

(This will instantly create a snake_case directory structure with perfectly formatted PascalCase classes inside!)

For Spring Boot, the existing commands work exactly the same:

feat_gen create payment-gateway -p com.yourcompany.app

📦 Installation:

  1. Download the new feat_gen.exe from the Assets below.
  2. Replace your old v1.0.0 .exe file with this new one.
  3. Open a new terminal and enjoy!

FeatGen v1.0.0 - Initial Release

Choose a tag to compare

@Hasalawa Hasalawa released this 25 May 18:56

Welcome to the first official release of FeatGen!

FeatGen is a blazingly fast CLI tool that helps you transition to a Feature-First Architecture by generating all necessary packages and boilerplate code in milliseconds.

What's included in v1.0.0:

  • Spring Boot Support: Instantly generate complete feature structures for Java Spring Boot (JDK 17+).
  • Auto-Generated Layers: Automatically creates controller, service, repository, dto, and entity directories.
  • Smart Boilerplate Injection: Writes valid Java code with proper standard annotations (@RestController, @Service, @Repository, @Entity) and constructor-based dependency injections.
  • Custom Base Packages: Dynamically set your project's base package using the -p or --package CLI flag.
  • Standalone Executable: Compiled as a native .exe file. No Dart or Java SDK required to run the CLI!

How to Install & Use (Windows):

  1. Download the feat_gen.exe file from the Assets section below.
  2. Place it in a dedicated folder on your computer (e.g., C:\Tools\FeatGen).
  3. Add that folder path to your Windows Environment Variables (PATH).
  4. Open a new terminal in your Spring Boot project and run:
   feat_gen create product-catalog -p com.yourcompany.app