Skip to content

Latest commit

 

History

History
183 lines (125 loc) · 6.18 KB

CHANGELOG.md

File metadata and controls

183 lines (125 loc) · 6.18 KB

Changelog

All notable changes to Weasley will be documented in this file.

0.7.0 - 2024-04-08

NOTE: This release may break your application if upgrading from v0.7.0 release.

Added

  • Random for generating random strings in Assorted directory

Changed

  • Conformed HTTP middlewares from http-interop/http-middleware to rougin/slytherin's own middleware
  • Improve code quality and code formatting with phpstan, php-cs-fixer
  • Controllers directory to Routes directory
  • Middleware directory to Handlers directory
  • Illuminate directory to Packages directory
  • Validators directory to Validate directory

Deprecated

  • Controllers directory (use Routes directory instead)
  • Middleware directory (use Handlers directory instead)
  • Illuminate directory (use Packages directory instead)
  • Validators directory (use Validate directory instead)

Fixed

  • Unit tests in running SessionIntegration
  • FileSessionHandler:gc - Checking if file or directory for deletion

Removed

  • http-interop/http-middleware as required dependency

0.6.4 - 2023-11-16

Changed

  • Replaced Scrutinizer CI with Codecov for code coverage
  • Replaced Travis CI with Github Actions for workflow

Fixed

  • Errors during unit tests in migrating to Github Actions

0.6.3 - 2018-04-20

Fixed

  • Inconsistent result in JsonController::save

0.6.2 - 2018-04-16

Fixed

  • Wrong default values in CrossOriginHeaders::__construct

0.6.1 - 2018-04-13

Fixed

  • Incorrect logic in CrossOriginHeaders

0.6.0 - 2018-04-13

NOTE: This release may break your application if upgrading from v0.5.0 release.

Added

  • BaseController::request method
  • Cors::allowed and Cors::methods methods
  • EmptyStringToNull middleware
  • FormMethodSpoofing::key method
  • JsonController (deprecates RestfulController)
  • Session library (with FileSessionHandler)
  • TrimStrings middleware

Changed

  • Cors middleware to CrossOriginHeaders
  • FormMethodSpoofing to SpoofFormMethod
  • Json middleware to JsonHeaders
  • Moved Commands, Http, and Templates directory to root directory
  • Moved contents of Integrations\Illuminate directory to Illuminate

Deprecated

  • Http\Controllers directory
  • Http\Middleware directory

Removed

  • illuminate/database package as required

0.5.0 - 2017-10-06

NOTE: This release may break your application if upgrading from v0.4.0 release.

Changed

  • Renamed Skeleton to App in the default namespace of the command generators
  • Renamed Template directory to Renderers
  • Moved Commands and Templates directory to Generator directory

Removed

  • rougin/loream-authsum package as required
  • DatabaseIntegration::prepare method

0.4.4 - 2017-09-19

Fixed

  • Version of http-interop/http-middleware to v0.4.1 due to BC break on v0.5.0

0.4.3 - 2017-07-24

Removed

  • Typehinting of model in RestfulController::save

0.4.2 - 2017-07-14

Fixed

  • Returning Eloquent model in RestfulController::save

0.4.1 - 2017-07-13

Fixed

  • Not rounded total_pages in ApiTransformer::paginator

0.4.0 - 2017-07-13

Added

  • TransformerInterface for handling classes that transforms results
  • JsonTransformer for transforming the results in JSON format
  • ApiTransformer for transforming the results based on Paypal's API Style Guide
  • RestfulController::transformer for defining the transformer to be used in RestfulController::index
  • Exception when the specified item does not exists in RestfulController::show

Changed

  • Moved BaseController::save and BaseController::check in RestfulController

Fixed

  • HTTP Code 201 for creating a new item in RestfulController::store

0.3.1 - 2017-07-10

Fixed

  • Checking of illuminate/pagination package in RestfulController::index

0.3.0 - 2017-07-10

Added

  • Http\Middleware\FormMethodSpoofing
  • Integrations\Illuminate\PaginationIntegration
  • Integrations\Illuminate\ViewIntegration

Changed

  • Version of rougin/slytherin to v0.9.0

0.2.1 - 2017-06-07

Fixed

  • Overriding Content-Type even if it exists in Http\Middleware\Json

0.2.0 - 2017-05-25

Added

  • $options parameter in BaseController::json

Changed

  • BaseController::toJson to BaseController::json
  • DocBlocks documentation on RestfulController

Fixed

  • Issue if the HTTP method is OPTIONS in Http\Middleware\Cors

0.1.2 - 2017-05-09

Added

Changed

0.1.1 - 2017-05-03

Fixed

  • Missing src in default path for the generators

Changed

  • Update command descriptions

0.1.0 - 2017-05-02

Added

  • Weasley library