- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Added a new config flag (
apiato.requests.force-valid-includes(defaulttrue)) to notify users about potential "invalid"?includequery parameters - Added ValueObjects class type to be extended by classes that do not requires to be stored in the DB or have ID.
- Added a
levelto the roles in order to indicate some kind of hierarchy (e.g.,adminis "better" thanmanager). - Added
/password-forgotand/password-resetendpoints. - Added Error Code Tables (
ApplicationErrorCodesTableandCustomErrorCodesTable) in order to define exception codes in one place.
- Changed the
Content-Languageheader field (for requesting resources in a specific language) toAccept-Languageinstead (cf. Specs). - Rename
GiveAllPermissionsToRoletoGiveAllPermissionsToRoleCommand. - The structure of the
supported_languagesinApp/Containers/Localization/Configswas changed in order to supportregions. - The route
/logoutnow usesDELETEinstead ofPOST(to be more RESTful) - Move
LocalizationandRegionfrom Model to ValueObjects folder in the localization container. - Move
OutputandRequestLoggerfrom Model to ValueObjects folder in the debugger container. - The route
/user/profile(the profile of the current user) now uses a dedicatedUserPrivateProfileTransformerin order to allow adding "private" information more easily (instead of using if-blocks in theUserTransformer)
- Fixed "bug", where an Exception is thrown if the user requested an invalid
?includeparameter. Now a "real" Apiato Exception is thrown.
- Nothing.
- Support ETags via a Middleware.
- Support Laravel Notifications.
- Add names for all the Route (
as). - Send Mail when user is registered.
- Send Notification using the default Database channel when user is registered.
- Add user registered Mail template
user-registered.blade.php. - Add User Registered Mail sample
UserRegisteredMail. - Add User Registered Notification sample
UserRegisteredNotification. - Add WePay payment gateway (in a new container).
- Add
force-accept-headerto the Apiato config file. - Add
notification.phpconfig file. - Add migration file for the notification.
- Refactored the entire
Paymentprocess. It is now a "generic" plug-and-play architecture to handle different payment gateways (e.g.,Stripe,PayPal, ...) see the corresponding docs for this feature. - Add profiling to the response, via
ProfilerMiddleware. - Add notifications generator.
- Add the container generator
- Add feature to read custom stub files form
app/Ship/Generators/CustomStubs - Add command to sync all system permission with a given role.
- Support Apiato new class calling style
controllerName@ClassActionOrTaskin the magic call, example:$role = $this->call('Authorization@FindRoleTask', [$request->role_id]);. - Add new Facade class
Apiatocontaining the old Butlers classes functions, in addition to thecallmagical method (Apiato::call()) in theCallableTrait. - Add container specific config file to each container.
- Add
readme.mdfile to each container. - Add support for Exceptions Formatters (with some default Formatters). To allows users customize
ExceptionsJSON responses. - Add project type to each container
composer.josnfile"type": "apiato-container",.
- Upgrade Mail to use Laravel 5.5 Mails. And add Ship directory for Mail in addition to user mail sample in the User container.
- Change default Mail driver from smtp to log.
- Rename Middleware from
ResponseHeadersMiddlewaretoValidateJsonContent. - Move Model traits from the Core Abstract class to the Ship Parent Class. To give user more control.
- Remove Exception when accept header is not provided by the request.
- Changed Generators to add various fields (e.g., the
asname forRoutes) - Refactor the Stripe container to work with the new payment gateway.
- Changed the "namespace" of all
generatorcommands (fromapiato:xtoapiato:generate:x) - When seeding data, the default Super Admin will be given the
adminRole, but theadminrole will not be given any permission. Can optionally usephp artisan apiato:permissions:toRole adminto give theadminrole all system permissions. - Renamed
FindUserActiontoFindUserByIdAction. And the controller functionfindUsertofindUserById, and update the endpoint calling it. - Renamed
FindMyProfileActiontoGetAuthenticatedUserAction. And rename the controller functionfindUserProfiletogetAuthenticatedUserAction, and update the endpoint calling it. Also rename it's request fromFindMyProfileRequesttoGetAuthenticatedUserRequest. - Renamed
GetAllAndSearchUsersActiontoGetAllUsersAction. - Used
Apiato::callin Seeder classes, instead ofApp::make('Task'). - Renamed
authentication.phpconfig file toauthentication-container.php. - Renamed
apidoc.phpconfig file todocumentation-container.php. - Renamed
localization.phpconfig file tolocalization-container.php. - Renamed
payment.phpconfig file topayment-container.php. - Renamed
wepay.phpconfig file towepay-container.php. - Rename
ListAlltoGetAllin every Actions/Tasks/controller functions/route files/requests - Rename
GettoFindin every Actions/Tasks/controller functions/route files/requests - Slight adaptations to the
Exceptionmessage format (due toExceptionFormatters) - Change Containers Installer repository.
- Moved
AccountFailedExceptionfrom User container to the Socialauth container. - Moved
App\Ship\Handlers\ExceptionsHandlertoApp\Ship\Exceptions\Handlers\ExceptionsHandler. - Change the directory of the Core Exceptions handler and rename it to become
Apiato\Core\Exceptions\Handlers\ExceptionsHandler.
- Fix Social Authentication errors.
- Removed the
App/Ship/Paymentcontainer as it now lives inApp/Containers/Payment - Removed the
ShipButlerandContainerButlerin favor of the new Apiato class. - Removed the
App/Containers/User/Exceptions/UserNotFoundException - Removed the
App/Containers/User/Exceptions/UserNotFoundExceptionand replace it withApp/Ship/Exceptions/NotFoundException. - Removed
MailsAbstract.phpandMailsInterface.phpfrom the Ship. To use the new Mail support in Apiato.