v1.0.0 Beta 2
Pre-release
Pre-release
·
528 commits
to master
since this release
This is the second public beta for v1.0.0.
Noteworthy Changes
- The vendor tree has been overhauled and will need updating in configuration files and/or
.env
files. The main change here is that the default standards tree used is now the unregistered tree (x
). - A new configuration key
standardsTree
(orAPI_STANDARDS_TREE
) now exists which lets you change betweenx
,prs
, andvnd
trees depending on your requirements. - The
vendor
configuration key is now calledsubtype
andAPI_SUBTYPE
for.env
files. - The
Accept
header you use will now vary depending on the standards tree you're using, e.g.,Accept: application/x.yourapp.v1+json
orAccept: application/prs.yourapp.v1+json
. - Configuration keys no longer accept closures. Basic auth has since been removed as a default and will need to be configured in a service provider or bootstrap file.
Upgrading
- If you update and receive configuration errors, make sure you grab the latest changes to the
config/api.php
file. - Make sure you update your
.env
file to reference the new variable names,API_STANDARDS_TREE
andAPI_SUBTYPE
. - Update any references to your
Accept
header as necessary.