Releases: spatie/laravel-typescript-transformer
Releases · spatie/laravel-typescript-transformer
3.0.3
What's Changed
- Fix method name in TypeScriptTransformerServiceProvider configuration by @dominosaurs in #71
- fix: laravel data MapName attribute output by @bensherred in #70
Full Changelog: 3.0.2...3.0.3
3.0.2
What's fixed
- Fixed incorrect namespace and non-existent class in
typescript:installcommand stub (#69)Spatie\TypeScriptTransformer\Laravel\TypeScriptTransformerApplicationServiceProvider→Spatie\LaravelTypeScriptTransformer\TypeScriptTransformerApplicationServiceProviderNamespaceWriter→GlobalNamespaceWriter
3.0.1
What's Changed
- Fix generic arity mismatch in paginator interface type aliases
- Inject Runner via handle() method for testability
- Add tests for TransformTypeScriptCommand
- Update publishable service provider stub path
3.0.0
This is a major release built on top of the completely rewritten spatie/typescript-transformer v3.
What's New
- Everything new in spatie/typescript-transformer v3
- Service provider configuration - Configure the package in a service provider instead of a config file
- Controller type generation - Automatically generate TypeScript types for your Laravel controller actions, including request parameters and response types
- Route type generation - Generate a typed route helper with full autocompletion for route names and parameters
- Watch mode - File watcher that automatically regenerates TypeScript types as you develop
Breaking Changes
- Requires PHP 8.2+ and Laravel 10+
- Configuration moved from config file to service provider
- Depends on
spatie/typescript-transformer ^3.0
Since it is a complete rewrite, we recommend reading through the new docs and updating your application accodingly.
2.6.0
- Added support for Laravel 13
- Dropped support for Laravel 8 and 9
3.0.0-beta.1
The first beta release of TypeScript Transformer v3, a complete rewrite from scratch!
I don't expect that many things will be changing between beta and release but be cautious.
2.5.2
What's Changed
- fix: don't create a compound type when the type is already a TypeScript type by @Bloemendaal in #53
Full Changelog: 2.5.1...2.5.2
2.5.1
Allow Laravel 12
Full Changelog: 2.5.0...2.5.1
2.5.0
What's Changed
- Use service container to resolve TypescriptTransformer by @rasmuscnielsen in #47
- feat: support
nullToOptionalby @innocenzi in #46
Full Changelog: 2.4.1...2.5.0