Skip to content

Releases: flightphp/core

v3.16.0

28 Jun 23:09
d43f2e9
Compare
Choose a tag to compare

What's Changed

  • feat(request): Add servername property to Request class by @n0nag0n in #651
  • Added AI commands and instructions for the repo. by @n0nag0n in #652

Full Changelog: v3.15.3...v3.16.0

v3.15.3

17 Jun 13:55
5df2800
Compare
Choose a tag to compare

What's Changed

  • test: add missing return types in test by @pierresh in #645
  • test: re-run tests automatically with phpunit-watcher when a change is made by @pierresh in #644
  • Fixed issue with data in view class by @n0nag0n in #650

Full Changelog: v3.15.2...v3.15.3

v3.15.2

15 Mar 05:24
Compare
Choose a tag to compare

What's Changed

  • docs: add array{0: class-string, 1: method} to support phpstan level … by @fadrian06 in #636
  • fix: corrected windows line endings in view tests by @fadrian06 in #635
  • PHP 8 named arguments support by @fadrian06 in #548
  • Duplicated slash in groups support by @fadrian06 in #638
  • Added flight.cache.checked event by @n0nag0n

Full Changelog: v3.15.1...v3.15.2

v3.15.1

09 Mar 05:51
4508d88
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.15.0...v3.15.1

v3.15.0

05 Mar 05:39
9bd17d9
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.14.0...v3.15.0

v3.14.0

21 Feb 17:45
2762daf
Compare
Choose a tag to compare

What's Changed

  • Added PUT, PATCH, DELETE methods for data by @KnifeLemon in #620
  • Update README.md with correct version upgrading from v2 to v3 by @kgathuru in #625
  • Simplify Flight and faster performance by @joanhey in #623
  • Removed utf8 from json function, add default flags, and more unit tests by @n0nag0n in #627
  • Added ability to generate new requests/responses on duplicate start() by @n0nag0n in #622
  • Removed cache breaking behavior by @n0nag0n in #630

New Contributors

Full Changelog: v3.13.1...v3.14.0

v3.13.1

14 Jan 06:00
da6540b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.13.0...v3.13.1

v3.13.0

30 Oct 19:57
1307e8a
Compare
Choose a tag to compare

What's Changed

You can now easily add a new resource route to help standardize your API routes. For examples, defining a resource with Flight::resource('/posts', PostsController::class); will allow the following routes by default:

$defaultMapping = [
      'index' => 'GET ',
      'create' => 'GET /create',
      'store' => 'POST ',
      'show' => 'GET /@id',
      'edit' => 'GET /@id/edit',
      'update' => 'PUT /@id',
      'destroy' => 'DELETE /@id'
];

And the ensuing controller file will look like this:

class PostsController
{
    public function index(): void
    {
    }

    public function show(string $id): void
    {
    }

    public function create(): void
    {
    }

    public function store(): void
    {
    }

    public function edit(string $id): void
    {
    }

    public function update(string $id): void
    {
    }

    public function destroy(string $id): void
    {
    }
}

Full Changelog: v3.12.0...v3.13.0

v3.12.0

22 Aug 17:06
63fbf9b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.11.1...v3.12.0

v3.11.1

13 Jul 03:42
7cfaca8
Compare
Choose a tag to compare

What's Changed

  • Corrected the cache behavior in some areas by @n0nag0n in #599

Full Changelog: v3.11.0...v3.11.1