All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Added
for new features.Changed
for changes in existing functionality.Deprecated
for soon-to-be removed features.Removed
for now removed features.Fixed
for any bug fixes.Security
in case of vulnerabilities
- Added ability to define the name of the database migrations table.
- Updated all dependencies.
- Updated documentation.
- Tested up to PHP v8.4.
- Updated all dependencies.
- Added support for route destinations to be defined as an array of class & method.
- Fixed bug where
router.parameters
filter was not defined. - Fixed bug in
ExceptionHandler
not returning previous trace.
- Added
Helpers
utility class.
- Added support for using a specific database connection name with
migrate:up
,migrate:down
andmigration:list
console commands.
- Updated
simple-pdo
dependency to v5.0.0.
- Fixed Simple PDO namespace bug.
- Updated
simple-pdo
dependency to v4.0.0.
- Updated all dependencies.
- Added the
createHash
,createPasswordHash
andisPasswordHashValid
methods to theApp
utility class.
- Changed all database migrations to use the
bones.migrations
filter. - Updated GitHub issue templates.
- Updated all dependencies.
- Updated
Bayfront\Bones\Interfaces\ExceptionHandlerInterface
to exclude thereport
method.
- Added the
Response
service to be passed as a parameter to thebones.end
event.
- Added
InvalidArgumentException
.
- Updated names of router and Veil resources when installing service via the command line.
- Updated
App::abort()
method.
- Added maintenance mode status in
php bones about:bones
console command.
- Fixed bug in
CacheSave
class when usingunlink
.
- Added
php bones down
andphp bones up
console commands for managing maintenance mode. - Added the
app.dispatch
event in theRouterDispatcher
class. - Added recursive lookup of all events, filters and commands.
- Added caching for console commands, config files, events and filters.
- Updated the
ExceptionHandler
to look for aBayfront\MultiLogger\Log
instead of aMonolog\Logger
instance. - Updated
EventService
andFilterService
locations, and added theEventSubscription
andFilterSubscription
classes to be used within subscribers. - Updated all dependencies.
- Removed commands, events and filters from being loaded via the app configuration array.
- Fixed bug where the
bones.end
event was not being executed afterbones.exception
.
- Added
$code
parameter to theApp::abort()
method. - Added
set
andhas
methods in theApp
utility class.
- Updated dependencies.
- Fixed bug where entire exception stack trace was being reported when debug mode was
false
.
- Fixed bug in initial database service configuration.
- Fixed documentation bug for console command
php bones migrate:up
. - Fixed other documentation errors.
- Added
about.bones
filter.
- Updated dependencies.
- Simplified
php bones migration:list
command.
- Updated documentation.
- Fixed bug in
php bones migration:list
command ifmigrations
table does not yet exist.
- Added support for database migrations.
- Updated the
App::abort()
method and the exception handler to use the existingResponse
class, if existing in the container.
- Added support for PHP 8.
- Removed the optional
filesystem
andlogs
services.
- Fixed
DirectoryIterator
bug.
- Added the
php bones install:key
command.
- Changed the
php bones key:create
command tophp bones make:key
.
- Removed the
php bones install:bare
command.
- Added deploy backup path to the
php bones about:app
command.
- Updated the
Bootstrap
event subscriber when running thephp bones install:bare
command. - Updated the default template styling installed with the
php bones install:service --veil
command. - Moved
DeployApp
andDeployPurge
console commands to install withphp bones install:bare
. - Renamed the
php bones about:app
command tophp bones about:bones
. - Updated documentation.
- Removed all occurrences of
shell_exec
in console commands since this may not be available to use in all environments.
- Added
composer update
tophp bones install:bare
console command.
- Fixed bug in
php bones install:bare
when copyingAPP_KEY
to.env
. - Fixed bug in install console commands where
.env
file was omitted from Git.
- Complete refactoring of project.
- Added
get_locale
helper function. - Added GitHub workflow
- Updated
composer.json
.
- Multiple documentation improvements.
- Removed the
BonesApi
andBonesAuth
services, as they were not production ready and had not yet been used.
- Added filesystem into controllers by default.
- Updated vendor dependencies.
- Fixed bug where string was not being trimmed in the
App\useHelper()
method.
- Updated vendor dependencies.
- Added support for
include
query parameter in theparseQuery
method of theBonesApi
service. - Added support for querying relationships in the
BonesAuth
service.
- Fixed pagination keys name in the
BonesAuth
service.
- Fixed bug in the
parseQuery
method of theBonesApi
service returning empty array when no sort order was specified.
-
Added the following helper methods:
in_container
put_in_container
set_in_container
-
Added the
BonesAuth
service.
- Updated the way page size is handled for the
BonesApi
serviceparseQuery
method.
- Updated the exceptions thrown by the
BonesApi
serviceparseQuery
method.
- Updated vendor dependencies.
- Fixed bug in
do_event
helper - Remove duplicate fields in the
parseQuery
method of theBonesApi
service.
- Added
$check_accept
parameter to theBonesApi
servicestart
method.
- Updated vendor dependencies.
- Added
parseQuery
method to the BonesApi service. - Updated documentation.
- Updated
Bayfront\Bones\App::start()
method to check if file exists before attempting to load environment variables from the.env
file.
- Initial release.