Skip to content

Releases: odan/slim4-skeleton

0.14.0

11 Aug 18:42
Compare
Choose a tag to compare

Changes

  • Changed minimum version to PHP7.3
  • Throw JsonException if an error occurs
  • Optimized database test fixtures
  • Use default locale from settings
  • Moved phpunit cache settings to config file
  • Added prefix to environment configuration files
  • Replaced phpunit constants with env
  • Updated docs

Added

  • Added console --env option

0.13.1

28 Jun 17:54
Compare
Choose a tag to compare

Updated

  • Optimized test traits
  • Decoupled database tests from cakephp connection
  • Removed phinx from database tests
  • Update validation

0.13.0

17 Jun 18:39
Compare
Choose a tag to compare

Changes

  • Simplified testing
  • Updated dependencies
  • Updated docs

Fixed

  • Fix twig extension for nginx

0.12.0

01 Jun 16:44
Compare
Choose a tag to compare

Added

  • Added Docker files and documentation
  • Added PSR-3 logger to ErrorMiddleware

Changes

  • Renamed composer script build:check to check
  • Moved login routes to Auth namespace
  • Renamed UserSessionData to UserAuthData
  • Update selective/validation version
  • Updated dependencies

Removed

  • Replaced selective/config in favor of arrays

0.11.0

18 May 16:33
Compare
Choose a tag to compare

Breaking Changes

  • Renamed composer scripts
  • Updated selective/validation v0.9

Changes

  • Move TwigMiddleware before RoutingMiddleware
  • Allow null as json response
  • Optimize error handler error message
  • Simplified UserCreator and validation examples
  • Add twig debug option
  • Optimized autoloader paths
  • Updated dependencies
  • Update docs
  • Optimized ant build script for assets

Added

  • Add json encoder to responder
  • Include npm packages into build artifact

Removed

  • Removed deprecated phpunit setMethods method

0.10.0

18 Apr 11:16
Compare
Choose a tag to compare

Breaking Changes

  • Update phinx to v0.12
  • NPM is not optional anymore, it's required.
  • Replaced selective/artifact with apache ant build script (see build.xml). Run ant deploy. Ant is still optional.
  • Replaced odan/twig-translation with symfony/translation and symfony/twig-bridge

Changes

  • Renamed composer script composer update-schema-sql to composer dump-schema
  • Renamed bin/cli.php to bin/console.php
  • Added navbar
  • Added spinner (loading indicator)
  • Add notifIt
  • Add UrlGenerator and middleware
  • Optimized login and logout.
  • Fixed phpstan issues
  • Updates docs
  • Updated php dependencies
  • Optimized tmp/ directory structure
  • Optimized twig settings keys and caching
  • Updated Twig compile command
  • Moved twig render() method to Responder

Removed

  • Remove unused fontawesome webpack settings
  • Removed unused css styles from layout
  • Remove public assets from git. Run npm run build instead
  • Remove router cache file

0.9.2

07 Apr 13:39
Compare
Choose a tag to compare
  • Add user viewer example (users/1)
  • Updated odan/twig-translation v3
  • Moved QueryFactory to Factory namespace
  • Added generic responder
  • Removed unused classes
  • Optimized user auth middleware
  • Optimized session and translator middleware

0.9.1

02 Apr 19:50
Compare
Choose a tag to compare
  • Replaced html/json error renderers with custom default error handler
  • Optimized twig settings
  • Replaced session handler
  • Added flash messages
  • Moved frontend scripts to npm
  • Updated docs
  • Removed slim/http as dependency

0.9.0

21 Mar 18:58
Compare
Choose a tag to compare

Added

  • Added user login with session login / logout
  • Added user fixtures
  • Added locale cache directory
  • Added correct database encoding

Fixed

  • Fixed github action workflow

Updated

  • Updated docs
  • Updated dependencies

0.8.0

05 Jan 14:20
Compare
Choose a tag to compare

Changed

  • Disabled phpunit cache result
  • Enabled composer commands with colors
  • Renamed console.php to cli.php
  • Require PHP 7.2+

Updated

  • Update to Slim 4.4 (requires PHP 7.2+)
  • Update to phpstan v12
  • Update assets
  • Updated fullpipe/twig-webpack-extension to v3 (requires Twig 3)
  • Updated frontend assets
  • Updated readme and docs

Added

  • Added CORS middleware (not enabled by default)

Removed

  • Removed composer install-phpstan command