All notable changes to typescript-transformer
will be documented in this file
Allow Laravel 12
Full Changelog: https://github.com/spatie/laravel-typescript-transformer/compare/2.5.0...2.5.1
- Use service container to resolve TypescriptTransformer by @rasmuscnielsen in #47
- feat: support
nullToOptional
by @innocenzi in #46
Full Changelog: https://github.com/spatie/laravel-typescript-transformer/compare/2.4.1...2.5.0
- Let artisan handle the exceptions by @Tofandel in #41
Full Changelog: https://github.com/spatie/laravel-typescript-transformer/compare/2.4.0...2.4.1
- Laravel 11 support
Full Changelog: https://github.com/spatie/laravel-typescript-transformer/compare/2.3.2...2.4.0
- Use Laravel typescript transformer by default (#34)
- Replace CarbonInterface with a string (#33)
- Replace CarbonInterface with a string (#33)
- Drop support for PHP 8.0
- Enable collecting of enums by default
- Add a native enum transformer by default
Full Changelog: https://github.com/spatie/laravel-typescript-transformer/compare/2.1.6...2.1.7
- composer bump for typescript-transformer
- add test suite for php 8.2
- do not fail when spatie/enum is not installed
- use package service provider to fix publishing config
- Add force option to command by @erikgaal in #14
- @erikgaal made their first contribution in #14
Full Changelog: https://github.com/spatie/laravel-typescript-transformer/compare/2.1.2...2.1.3
- Laravel 9.x by @aidan-casey in #13
- @aidan-casey made their first contribution in #13
Full Changelog: https://github.com/spatie/laravel-typescript-transformer/compare/2.1.1...2.1.2
- add support for transforming to native TypeScript enums
- add support for PHP 8.1
- drop support for Laravel 7
- fix issue with union types and Laravel collection transformer
- The package is now PHP 8 only
- Added TypeReflectors to reflect method return types, method parameters & class properties within your transformers
- Added support for attributes
- Added support for manually adding TypeScript to a class or property
- Added formatters like Prettier which can format TypeScript code
- Added support for inlining types directly
- Updated the DtoTransformer to be a lot more flexible for your own projects
- Added support for PHP 8 union types
- Add support for configuring the writers (#7)
- Add support for PHP 8
- Moved
SpatieEnumTransformer
to thetypescript-transformer
package
- Add support for Laravel 8
- Initial release