Skip to content

Refactoring Dependency Injection + Logging

Compare
Choose a tag to compare
@wagnert wagnert released this 05 Jun 11:54
· 28 commits to master since this release
e1f76fd

As of massive overhead to release a Mac OS X, Windows and several Linux versions, we decided to deliver future appserver.io 1.1.x versions as Docker containers only!

This release provides bugfixes and updates.

We STRONGLY recommend, that you have a look at our upgrade guide, before upgrading your installation to 1.1.5!

Notes

  • Please be aware, that our Mac OS X installer actually is NOT aware of changes you've made to your configuration files. So it is necessary to BACKUP all configuration files you've customized, to not loose your changes.
  • For detailed installation instructions look at our documentation
  • Linux packages are split in runtime and distribution packages. So please install both of them. Runtime packages provide appserver-runtime which the appserver-dist package depends on
  • For bleeding edge development builds, check our developer builds page
  • Also have a look at our Docker images on docker hub

Bugfixes

  • Fixed bug with invalid session handling in provisioning
  • Fixed bug with invalid session data leading to a 500 without error page rendered
  • Make protected function in Threads/Stackables public to avoid unnecessary locking
  • Remove invalid parameter sessionId when invoking ServletManager::lookup() from ServletManager::locate() method

Features

  • Switch to latest runtime with PHP version 5.6.35
  • Allow DI usage in provisioning steps
  • Extend DI functionality for method invocation on instanciated objects
  • Refactor DI integration for compatibility with psr/container
  • Refactor logger integration, switch to function usage instead of loading logger instances via application or initial context
  • Clean-Up log messages during appserver/application bootstrap process
  • Switch to VarDumpertFormatter for system logger to allow logging ALL instances, including recursive ones and passing objects without converting them to strings
  • Add helper functions for all log levels (alert, info, debug etc.) to make logging more comfortable
  • Register environment in BeanManager::initialize() and Job::run() methods to allow usage of short logging functions
  • Refactor StandardSecurityManager to make configuration of security constraints simpler