Skip to content

Releases: spatie/laravel-typescript-transformer

2.1.6

18 Nov 15:57

Choose a tag to compare

  • composer bump for typescript-transformer
  • add test suite for php 8.2

2.1.5

22 Aug 15:21

Choose a tag to compare

  • do not fail when spatie/enum is not installed

2.1.4

22 Aug 15:05

Choose a tag to compare

  • use package service provider to fix publishing config

2.1.3

25 Jan 16:43
d14d6ff

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.1.2...2.1.3

2.1.2

19 Jan 21:21
2e49060

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.1.1...2.1.2

2.1.1

16 Dec 14:34

Choose a tag to compare

  • add support for transforming to native TypeScript enums

2.1.0

16 Dec 13:53

Choose a tag to compare

  • add support for PHP 8.1
  • drop support for Laravel 7
  • fix issue with union types and Laravel collection transformer

2.0.0

08 Apr 14:51
26a308b

Choose a tag to compare

  • 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

1.1.2

15 Jan 11:56
95b70a8

Choose a tag to compare

  • Add support for configuring the writers (#7)

1.1.1

26 Nov 13:58

Choose a tag to compare

  • Add support for PHP 8