bearframework

An open-source PHP framework. Incredibly lightweight. Powerful enough.

MIT License

Downloads
7.4K
Stars
45
Committers
3

Bot releases are hidden (Show)

bearframework - v1.1.0

Published by ivopetkov over 5 years ago

Added keyPrefix arguments to DataCacheDriver::__construct() and CacheRepository::useAppDataDriver().
Added support for slice action in the DataList context object.
Performance optimizations when accessing data with file functions (is_dir for example).

bearframework - v1.0.0

Published by ivopetkov over 5 years ago

Version 1.0.0 !!!

CHANGES:
Added default Cache-Control header.
DataList::sliceProperties() now returns a list of BearFramework\DataList\Object.
BearFramework\DataList\Object renamed to BearFramework\DataObject.
Removed $app argument from CacheRepository and DataRepository.
Class names update (removed "Repository").
BearFramework\App\EventsTrait moved to BearFramework\EventsTrait.

FIXES:
Fix in file access to data items (locked files retries count was too low).
Fix in data access with built-in directory functions (scandir for example).

OPTIMIZATIONS:
Error handler optimizations.

bearframework - v0.11.2

Published by ivopetkov over 5 years ago

Error handler improvements.
Added full trace to the detailed error log.
Assets getURL event fix related to assets in not added dirs.

bearframework - v0.11.1

Published by ivopetkov over 5 years ago

Fix related to registering classes from the same namespace and different contexts.

bearframework - v0.11.0

Published by ivopetkov over 5 years ago

A massive release with redesigned API.

Added:

  • Events support.
  • Data item stream wrapper.
  • Support for patterns in the ClassesRepository.
  • $app->request->path->match() method.
  • App\Request::getURL() method.

Changed:

  • The routes API.
  • The data API.
  • The cache API.
  • The assets API.
  • The logger API.
  • App::$context renamed to App::$contexts.
  • Error handling configuration.
  • App::respond() renamed to App::send().
  • DataRepository::isValidKey() renamed to DataRepository::validate().
  • The DataList API. Removed ->length. Added ->count().
  • The DataItem::$metadata property is now of type array.
  • The App::$request property is no longer readonly.
  • BearFramework\App::VERSION moved to BearFramework::VERSION.

Removed:

  • The hooks API.
  • The images API.
  • The config API.
  • The container API.
  • Removed default content from TemporaryUnavailable and NotFound responses.
  • Removed support for options in added addons.
bearframework - v0.10.8

Published by ivopetkov over 6 years ago

Added $app->context->add().
Fix in $app->context->get() for addons in addons (in vendor folder for example).

bearframework - v0.10.7

Published by ivopetkov over 6 years ago

Fix in the autoloader.

bearframework - v0.10.6

Published by ivopetkov over 6 years ago

Version number fix.

bearframework - v0.10.5

Published by ivopetkov over 6 years ago

Added toArray() and toJSON() to many of the framework data objects.
Removed PSR in composer.json.

bearframework - v0.10.4

Published by ivopetkov over 6 years ago

Performance optimizations.

bearframework - v0.10.3

Published by ivopetkov over 6 years ago

Fix in $context->get() when no appDir is specified.

bearframework - v0.10.2

Published by ivopetkov over 6 years ago

Added ext-gd requirement in composer.json

bearframework - v0.10.1

Published by ivopetkov over 6 years ago

Added 'download' option to $app->assets->getUrl().

bearframework - v0.10.0

Published by ivopetkov almost 7 years ago

This release has breaking changes with v0.9.0.
The framework now supports only PHP 7.1+.
Many changes in public classes and their methods.
Many internal changes.
Added ability to register $app object properties (shortcuts).
Performance optimizations.

bearframework - v0.10.0-beta.7

Published by ivopetkov about 7 years ago

Performance optimizations.
Changed multiple hooks arguments.
Added new hooks.
Added outputType option to $app->assets->getUrl()
Removed hooks priority option.
Hooks arguments are now passed by reference to the callbacks.
Added limit of 10 max arguments for the hooks callbacks.
Now the value of the $app->request->path property is not urldecoded.
Added $encode argument to $app->request->path->set() with default value of true.
Added $decode argument to $app->request->path->getSegment() with default value of true.
Added $encode argument to $app->urls->get() with default value of true.
Added default handler for the HEAD requests.

bearframework - v0.10.0-beta.6

Published by ivopetkov about 7 years ago

Performance optimizations.
Added exit; after the error response is sent.

bearframework - v0.10.0-beta.5

Published by ivopetkov over 7 years ago

Code and performance optimizations.
Fix in error output and simplified error logging.
Other small fixes.

bearframework - v0.10.0-beta.4

Published by ivopetkov over 7 years ago

Added assetUrlCreated and assetPrepared hooks.

bearframework - v0.10.0-beta.3

Published by ivopetkov over 7 years ago

Default http and https ports removed from the $app->request->base property.

bearframework - v0.10.0-beta.2

Published by ivopetkov over 7 years ago

Added hooks in CacheRepository and DataRepository.
Updated copyright year.