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.
Random
for generating random strings inAssorted
directory
- Conformed HTTP middlewares from
http-interop/http-middleware
torougin/slytherin
's own middleware - Improve code quality and code formatting with
phpstan
,php-cs-fixer
Controllers
directory toRoutes
directoryMiddleware
directory toHandlers
directoryIlluminate
directory toPackages
directoryValidators
directory toValidate
directory
Controllers
directory (useRoutes
directory instead)Middleware
directory (useHandlers
directory instead)Illuminate
directory (usePackages
directory instead)Validators
directory (useValidate
directory instead)
- Unit tests in running
SessionIntegration
FileSessionHandler:gc
- Checking if file or directory for deletion
http-interop/http-middleware
as required dependency
0.6.4 - 2023-11-16
- Replaced
Scrutinizer CI
withCodecov
for code coverage - Replaced
Travis CI
withGithub Actions
for workflow
- Errors during unit tests in migrating to
Github Actions
0.6.3 - 2018-04-20
- Inconsistent result in
JsonController::save
0.6.2 - 2018-04-16
- Wrong default values in
CrossOriginHeaders::__construct
0.6.1 - 2018-04-13
- Incorrect logic in
CrossOriginHeaders
0.6.0 - 2018-04-13
NOTE: This release may break your application if upgrading from v0.5.0
release.
BaseController::request
methodCors::allowed
andCors::methods
methodsEmptyStringToNull
middlewareFormMethodSpoofing::key
methodJsonController
(deprecatesRestfulController
)Session
library (withFileSessionHandler
)TrimStrings
middleware
Cors
middleware toCrossOriginHeaders
FormMethodSpoofing
toSpoofFormMethod
Json
middleware toJsonHeaders
- Moved
Commands
,Http
, andTemplates
directory to root directory - Moved contents of
Integrations\Illuminate
directory toIlluminate
Http\Controllers
directoryHttp\Middleware
directory
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.
- Renamed
Skeleton
toApp
in the default namespace of the command generators - Renamed
Template
directory toRenderers
- Moved
Commands
andTemplates
directory toGenerator
directory
rougin/loream-authsum
package as requiredDatabaseIntegration::prepare
method
0.4.4 - 2017-09-19
- Version of
http-interop/http-middleware
tov0.4.1
due to BC break onv0.5.0
0.4.3 - 2017-07-24
- Typehinting of model in
RestfulController::save
0.4.2 - 2017-07-14
- Returning Eloquent model in
RestfulController::save
0.4.1 - 2017-07-13
- Not rounded
total_pages
inApiTransformer::paginator
0.4.0 - 2017-07-13
TransformerInterface
for handling classes that transforms resultsJsonTransformer
for transforming the results in JSON formatApiTransformer
for transforming the results based on Paypal's API Style GuideRestfulController::transformer
for defining the transformer to be used inRestfulController::index
- Exception when the specified item does not exists in
RestfulController::show
- Moved
BaseController::save
andBaseController::check
inRestfulController
- HTTP Code
201
for creating a new item inRestfulController::store
0.3.1 - 2017-07-10
- Checking of
illuminate/pagination
package inRestfulController::index
0.3.0 - 2017-07-10
Http\Middleware\FormMethodSpoofing
Integrations\Illuminate\PaginationIntegration
Integrations\Illuminate\ViewIntegration
- Version of
rougin/slytherin
tov0.9.0
0.2.1 - 2017-06-07
- Overriding
Content-Type
even if it exists inHttp\Middleware\Json
0.2.0 - 2017-05-25
$options
parameter inBaseController::json
BaseController::toJson
toBaseController::json
- DocBlocks documentation on
RestfulController
- Issue if the HTTP method is
OPTIONS
inHttp\Middleware\Cors
0.1.2 - 2017-05-09
- Set
Illuminate\Database\Capsule\Manager
to container inDatabaseIntegration
- Allow to access multiple database connections in
DatabaseIntegration
0.1.1 - 2017-05-03
- Missing
src
in default path for the generators
- Update command descriptions
Weasley
library