Skip to content

Releases: spatie/laravel-typescript-transformer

3.0.3

17 Mar 08:18
402e8b9

Choose a tag to compare

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

16 Mar 09:41
3.0.2
8082c5f

Choose a tag to compare

What's fixed

  • Fixed incorrect namespace and non-existent class in typescript:install command stub (#69)
    • Spatie\TypeScriptTransformer\Laravel\TypeScriptTransformerApplicationServiceProviderSpatie\LaravelTypeScriptTransformer\TypeScriptTransformerApplicationServiceProvider
    • NamespaceWriterGlobalNamespaceWriter

3.0.1

16 Mar 08:27
3.0.1
2e0f17a

Choose a tag to compare

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

13 Mar 15:30
bf546bf

Choose a tag to compare

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

25 Feb 16:23
d195499

Choose a tag to compare

  • Added support for Laravel 13
  • Dropped support for Laravel 8 and 9

3.0.0-beta.1

16 Jan 13:36
553b2b6

Choose a tag to compare

3.0.0-beta.1 Pre-release
Pre-release

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

25 Apr 14:16
a268a08

Choose a tag to compare

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

14 Feb 14:26
8b91230

Choose a tag to compare

Allow Laravel 12

Full Changelog: 2.5.0...2.5.1

2.5.0

04 Oct 13:28
cdf8249

Choose a tag to compare

What's Changed

Full Changelog: 2.4.1...2.5.0

2.4.1

03 May 08:00
4c85ea5

Choose a tag to compare

What's Changed

Full Changelog: 2.4.0...2.4.1