Releases: xtend-packages/rest-presenter
Releases · xtend-packages/rest-presenter
Release 0.7.1
0.7.1 (2024-04-18)
Bug Fixes
- Make sure lunar tests all pass (1ce9a47)
Release 0.7.0
0.7.0 (2024-04-17)
Features
- phpstan max level + type-guard (a779bec)
Bug Fixes
- If we have no filters return empty array (66db589)
- Install & configure rector for laravel + apply fixes (e305e0c)
- Resolve issues raised by phpstan (9f30742)
- Resolve TypeError when passing optional arguments (af19de1)
- Setup strict pint rules + apply fixes (a607023)
- Tests now run but some fail after refactor (1f4f75d)
Release 0.6.1
0.6.1 (2024-04-14)
Bug Fixes
- For those not using filament now checks if the resources exist (4a64afe)
Release 0.6.0
0.6.0 (2024-04-14)
Features
- Reset password and generate temp password to login (5022992)
- Update Sanctum Auth Kit + Register Route Actions (7b1d965)
Bug Fixes
- Allow actions to set auth middleware + translatable message (6352404)
- AutoDiscovery with middleware (312ef14)
- Temp remove verification email does not work with token auth flow (489b99d)
Release 0.5.3
0.5.3 (2024-04-07)
Bug Fixes
- All custom resources and presenters are now generated correctly (aea569a)
Release 0.5.2
0.5.2 (2024-04-07)
Bug Fixes
- Support multi-word resources (898f7ea)
Release 0.5.1
0.5.1 (2024-04-07)
Bug Fixes
- sqlite nullable check condition (ce12803)
- Temp disable TS formatting as it conflicts with .prettierrc.js (27cb548)
Documentation
- Example RESTPresenter insomnia collection (6dcd24d)
- Inform users about minimum stability requirement (ab327e6)
- Update docs explain about presenters + update starter kits links (a5dcc43)
Release 0.5.0
0.5.0 (2024-04-06)
Features
- Add TS support to generate data (62e84cb)
- TypeScript now generated for data with our own custom writer (597c17b)
Bug Fixes
- Move spatie typescript transformer can not be a dev dependency (ed67257)
- User resource needs to use package model (927e97f)
Release 0.4.0
0.4.0 (2024-04-05)
Features
- Auto generates presenter & DTO from column properties (84c06cf)
- Fields returned now in the correct table order + prepend id (64d774a)
- Filament auto-discover resources (227807a)
- Register filament route resources (35a7592)
Bug Fixes
- phpstan ignore (205757b)
- ResourceController to allow middleware + sanctum UserResource (89572ed)
- Routes need to registered after package config is registered (23fb789)
- Sqlite workaround to set json field type (14b01c1)
- Support for nullable types prepends question mark (a29b881)
Release 0.3.4
0.3.4 (2024-04-04)
Bug Fixes
- Allow to define middleware on controllers (cc4cf55)
- Default response to exclude hidden fields (8434f92)