Skip to content

🚀 v2.0.0: Sketch Advanced - Introducing Service Repository Pattern & Enhanced Schema Definitions

Latest

Choose a tag to compare

@dayCod dayCod released this 26 Jan 09:19

Sketch 2.0.0 represents a significant evolution in Laravel application scaffolding, introducing comprehensive service repository pattern integration and enhanced schema definitions. This major release transforms Sketch from a simple CRUD generator into a sophisticated application structure generator.

Major Enhancements

Service Repository Integration

  • Automatic generation of repository and service layers
  • Implementation of BaseRepository with common CRUD operations
  • Generation of empty interfaces for customizable implementation
  • Support for both UUID and ID-based operations

Enhanced Schema Definitions

  • Improved relationship handling with detailed configuration options
  • Advanced pivot table management for many-to-many relationships
  • Flexible foreign key configurations with explicit table references
  • Support for nullable and typed pivot columns

Form Request Improvements

  • Enhanced validation rule generation
  • Support for pivot table field validation
  • Improved relationship validation handling

Breaking Changes

This version introduces significant architectural changes and is not backward compatible with version 1.x. Users upgrading from previous versions will need to update their YAML schema definitions to match the new format.

Migration Note

For users upgrading from v1.x, please refer to the updated documentation for the new YAML schema structure and service repository implementation guidelines.