Skip to content

Latest commit

 

History

History
478 lines (255 loc) · 25.1 KB

CHANGELOG.md

File metadata and controls

478 lines (255 loc) · 25.1 KB

Changelog for RESTPresenter

1.1.2 (2024-08-11)

Bug Fixes

1.1.1 (2024-08-11)

Bug Fixes

  • Remove sushi dependency to avoid pdo requirement include as trait (82df1b0)
  • Sanctum rate limit max attempts cast to int (cbad2b9)
  • Set Content-Type to application/json when generating collections (d60563b)

Style Changes

1.1.0 (2024-06-15)

Features

  • Additional panel configuration & branding + enable spa (02f4eb9)
  • Export and download collection direct from panel (43e155d)
  • User menu link added to all panels + update README (0c743a0)

Bug Fixes

  • Replace stats with real values from Endpoint model (cfef4a4)

1.0.0 (2024-06-07)

Features

  • Apply auth middleware when isAuthenticated is true (731988d)
  • Generate collection auto commit (0338a79)
  • Improvements to endpoint resource & token generation (d28e74c)
  • Manage users & generate tokens (5582afa)
  • New filament command + auto commits (ed71d28)
  • No need to publish config everything now configurable from env (0189819)
  • Setup command now has the option to auto commit (82f268d)

Bug Fixes

  • Generate separate auth stub for sanctum overrides (8c857d8)
  • Hide duplicated logo for filament plugin (ef891b9)
  • Move type generation to rest-presenter directory (0b57273)
  • phpstan ignore multiselect options prompt (69ded40)
  • Remove view action for endpoints not needed right now (f0ec0bf)
  • Skip failing test fix later once we enable test coverage (030ccf2)
  • User resource authenticated by default (4207592)

Documentation

  • Condense introduction (fdf68f9)
  • Improve and extend README (2ee5a27)
  • Improve Filament Plugin Integration (854dd38)
  • Improve Introduction (ec4a947)
  • Improve RESTPresenter Package (d9813f5)
  • Update README & improve CONTRIBUTING guide (1f86b79)
  • Update README to include Filament Plugin (f684ecf)
  • Update to use correct version + test failure advice (dd12bb6)

Code Refactoring

  • Resource generation now based from selected model (f521265)

Style Changes

1.0.0-rc.2 (2024-05-13)

Bug Fixes

  • Include API key with test generation (79de5b1)

1.0.0-rc.1 (2024-05-13)

Bug Fixes

  • No need to remove the API directory via XtendRouter (c40a819)

Documentation

  • Add info about tests + warning to update phpunit.xml (bab9042)

1.0.0-rc.0 (2024-05-13)

Features

  • Extra Security API Key (Enabled by Default) (b7baa38)
  • Improve tests + remove service provider (151bb8b)

Bug Fixes

  • Skip RESTPresenterSetupCommand test issue with expectsChoice (1a7ee6b)

Documentation

0.11.0 (2024-05-11)

Features

  • auth middleware isAuthenticated property for all resources (8125c0b)
  • Default resource presenters + profile example for user (03fa2e1)

0.10.1 (2024-05-11)

Bug Fixes

0.10.0 (2024-05-10)

Features

  • Make resource test called directly after generating each resource (53c95fb)
  • New test command + stubs to support both pest & phpunit (59e598b)

Bug Fixes

  • phpstan ignore rules (f2d6689)
  • Remove ServiceProvider no longer needed + register new test command (8e5d039)
  • Satisfy phpstan (a5b3379)
  • starter-kit type string (ea1dfad)
  • Test helpers namespace functions (b665de4)
  • test workflow composer dump-autoload (1c424a3)

0.9.3 (2024-05-07)

Bug Fixes

  • DefaultResponse only check carbon date type if value is not null (48d7d87)

0.9.2 (2024-05-07)

Bug Fixes

  • Filament some projects use scope for tenant so ignore GlobalScopes (a7e0068)

0.9.1 (2024-05-07)

Bug Fixes

  • Install Filament kit without prompts (b49441c)

Documentation

0.9.0 (2024-05-06)

Features

  • Filament is now the focus removed lunarphp until it's stable (99d4630)

0.8.0 (2024-05-06)

Features

  • Generate API Collections (71bf22c)

Bug Fixes

  • Satisfy phpstan at max level + ignore certain array iterable types (c56ed57)

0.7.5 (2024-05-06)

Bug Fixes

  • Check for casts if not array then property type need to be string (15d1493)
  • FilamentStarterKit change logic to scan for class definitions (bfb0483)
  • Not all resources required actions or xtend controllers (03f66bd)
  • replaceJsonColumnsSqliteWorkaround make sure value is an array (fc98fcc)

0.7.4 (2024-04-27)

Bug Fixes

  • Update provider stub replace breeze with sanctum kit (899fa3a)

0.7.3 (2024-04-27)

Code Refactoring

  • Filament scan for app class definitions + check if installed (a3e55cd)

0.7.2 (2024-04-26)

Bug Fixes

  • Include TypeGuard directly remove dep until package is released (42196d6)

0.7.1 (2024-04-18)

Bug Fixes

  • Make sure lunar tests all pass (1ce9a47)

0.7.0 (2024-04-17)

Features

  • phpstan max level + type-guard (a779bec)

Bug Fixes

  • If we have not 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)

0.6.1 (2024-04-14)

Bug Fixes

  • For those not using filament now checks if the resources exist (4a64afe)

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)

0.5.3 (2024-04-07)

Bug Fixes

  • All custom resources and presenters are now generated correctly (aea569a)

0.5.2 (2024-04-07)

Bug Fixes

  • Support multi-word resources (898f7ea)

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)

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)

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)

0.3.4 (2024-04-04)

Bug Fixes

  • Allow to define middleware on controllers (cc4cf55)
  • Default response to exclude hidden fields (8434f92)

0.3.3 (2024-04-03)

Bug Fixes

  • Extending kits pass extend type to get correct stub (60378e9)
  • We should not prompt for resource when extending kits (052a675)

0.3.2 (2024-04-02)

Bug Fixes

  • Correct namespace for DB not Lunar 👀 (c5857b1)

0.3.1 (2024-04-02)

Bug Fixes

  • Issues with installer after modifying types of stubs (b66e3a7)

0.3.0 (2024-03-31)

Features

  • Generate filters based on the type of relation (0db1e35)
  • Presenters with Data InteractsWithDbSchema (181a90e)

Bug Fixes

  • Allow nullable dates (09cb3cb)
  • Camel case DTO not currently supported with model attributes (3216ec3)
  • HasMany filter stub called wrong method (ee2ca55)
  • Need the correct presenterKey to apply presenter (4595d60)
  • phpstan errors (18375e3)
  • Remove Filters and Presenters namespace not needed here (66fa2a5)
  • Remove XtendRouter Custom path (5383447)
  • Support json to pass through as value (801692d)
  • Tests (6c03952)

Documentation

  • Update README for release (afa929b)
  • Update README.md to include Resource Generation (03990b4)

0.2.5 (2024-03-28)

Bug Fixes

  • Load breeze routes directly from XtendRouter (6d8b052)

0.2.4 (2024-03-28)

Bug Fixes

  • Route register with correct name and prefix (18eb1ec)
  • use getAttribute for the default model response (47e1d3e)
  • Users grouped by Auth middleware & register XtendRouter for Tests (06cfe19)

0.2.3 (2024-03-27)

Bug Fixes

  • lunarphp/core move to dev dependency (1c14c78)
  • Make sure custom resources directory is created with setup (724a347)

Code Refactoring

  • Remove api routes register via XtendRouter with AutoDiscover (19a0b40)

0.2.2 (2024-03-27)

Code Refactoring

  • XtendRoute more control over routes with better IDE support (f0843cc)

Changelog for REST Presenter

0.2.1 (26-03-2024)

Alpha release:

Fixes

  • Move Lunar to suggest dependency
  • file_exist instead of class_exist to prevent errors

0.2.0 (26-03-2024)

Alpha release:

Features

  • Lunar API Starter Kit
  • RESTPresenter Setup Command
  • Extend API Kits

0.1.0 (22-03-2024)

Initial pre-alpha release:

Features

  • Initial Setup Command
  • PEST Test Setup + Testbench env
  • Resource Base Controller
  • Traits + Tests for Resource Controller
  • Install Sanctum
  • API Route Setup
  • Install Laravel Data + Default Data Layers & Tests
  • Default Presenter + Tests
  • Setup Config + Middleware
  • Users Resource + Tests
  • Setup Test User Model + Factory
  • PEST Test Helper File
  • Auth Breeze Starter Kit

Continuous Integration Setup

  • Setup Code Stying Workflow (Github Action)
  • Setup Package Tests Workflow (Github Action)