Componette

Componette

contributte

contributte / middlewares v0.12.1

Middlewares / Relay / PSR-7 support to Nette Framework (@nette)

download-cloud-line composer require contributte/middlewares

Website πŸš€ contributte.org | Contact πŸ‘¨πŸ»β€πŸ’» f3l1x.io | Twitter 🐦 @contributte

Usage

To install latest version of contributte/middlewares use Composer.

composer require contributte/middlewares

Documentation

For details on how to use this package, check out our documentation.

Versions

State Version Branch Nette PHP
dev ^0.13.0 master 3.2+ >=8.1
stable ^0.12.0 master 3.2+ >=8.1

Development

See how to contribute to this package. This package is currently maintained by these authors.


Consider to support contributte development team. Also thank you for using this package.

  • v0.12.1 v0.12.1

    Bumped! 🌯

    Diff: v0.12.0...v0.12.1

    Changes:

  • v0.12.0 v0.12.0

    Bumped! πŸ‡ΊπŸ‡Ώ

    Diff: v0.11.1...v0.12.0

    Changes:

    Maintenance:

  • v0.11.1 v0.11.1

    Bumped! ❎

    Diff: v0.11.0...v0.11.1

    Changes:

  • v0.11.0 v0.11.0

    Bumped! πŸ’

    Diff: v0.10.2...v0.11.0

    Changes:

    Maintenance:

  • v0.10.2 v0.10.2

    Bumped! πŸ‡«πŸ‡΄

    Diff: v0.10.1...v0.10.2

    Changes:

  • v0.10.1 v0.10.1

    Bumped! πŸ‘

    Diff: v0.10.0...v0.10.1

    Changes:

    • Use newer contributte/di
  • v0.10.0 v0.10.0

    Bumped! 🀞🏽

    Diff: v0.9.1...v0.10.0

    Changes:

    • PHP 8
    • Travis -> Github Actions
    • Readme modernize
    • Update tests
  • v0.9.1 v0.9.1

    Bumped! 🦾

    Diff: v0.9.0...v0.9.1

    Changes:

    • LoggingMiddleware - fix compatibility with guzzle/psr7 v1.6 (prevent empty password :@example.com in logged url)
  • v0.9.0 v0.9.0

    Bumped! πŸ––πŸΌ

    Diff: v0.8...v0.9.0

    Changes:

    • Requires PHP 7.2
    • Nette 3 b74ec06
    • Debug panel is shown only if middlewares are used 5f8e9fe
    • Prevent Content-Type to be sent multiple times a7e81c9
  • v0.8 v0.8

    Bump! πŸ˜‹

    Diff: v0.7...v0.8

    Changes:

    • Drop BaseMiddleware in favor of IMiddleware (BC break)
    • EnforceHttpsMiddleware
    • TryCatchMiddleware
      • logging support
      • error message replace with generic message
      • improved configuration (BC break)
    • LoggingMiddleware - for logging of each requested url
    • Tracy panel - displays which middlewares were used
    • Removed root support (BC break)
  • v0.7

    Bump! πŸ“¦

    Diff: v0.6...v0.7

    Changes:

    • BasicAuthMiddleware [#17]
    • TryCatchMiddleware [#16] [#14] [#15]
  • v0.6 v0.6

    Bump! πŸ”€

    Diff: v0.5...v0.6

    Changes:

    • PHP 5.6 => PHP 7.1 [#13] [#2]
    • New MethodOverrideMiddleware [#10] [#9]
    • QA: codestyles, better CI
    • Readme: typos [#11]
  • v0.5 v0.5

    Bump! πŸ‡«πŸ‡°

    Diff: v0.4...v0.5

    Changes:

    • [BC] change onStartup, onRequest, onResponse, onError to addListener(type, callback) (more in docs)
  • v0.4 v0.4

    Bump! πŸ€’

    Diff: v0.3...0.4

    Changes:

    • implement security middleware [cb920bd]
    • remove SmartObject [eb17e72]
    • change attributes name (from C-* to contributte.*) [8baa2a5]
    • readme typo [4d94d6c][#7]
    • minor typos
  • v0.3 v0.3

    Bump! πŸ€’

    Diff: v0.2.1...v0.3

    Changes:

    • added own QA ruleset
    • added huge amount of tests
    • drop middleware namespace
    • make nette/http dependency optional
    • remove unused middlewares:
      • ExcludeConditionMiddleware
      • Filter/UrlPathFilter
      • GroupMiddleware
      • RouterMiddleware
    • use SmartObject instead of custom events
    • DI: allow use middlewares as defined services or as string
    • ChainBuilder: added useful methods + factory
    • rename StandaloneMiddlewareExtension -> MiddlewaresExtension
    • rename NetteMiddlewareExtension -> NetteMiddlewaresExtension
    • backport manual dispatching of Application events
  • v0.2.1 v0.2.1

    Bump! ⏩

    Diff: v0.2...v0.2.1

    Changes:

    • fix AutoBasePathMiddleware reducing of the path
  • v0.2 v0.2

    Bumped! β›³

    Diff: v0.1.2...v0.2

    Changes:

    • added some validations
    • change *Extension parameters (added middlewares & root key) [BC!]
    • added middlewares
      • AbstractRootMiddleware
      • AutoBasePathMiddleware
      • RouterMiddleware
    • dropped middlewares:
      • ContentNegotiationMiddleware
    • renamed middlewares:
      • ConditionMiddleware -> ExcludeConditionMiddleware
    • added Regex class
    • added factories:
      • PresenterMiddlewareFactory
  • v0.1.2 v0.1.2

    Bumped! ♠️

    Diff: v0.1.1...v0.1.2

    Changes:

    • added a few middlewares implementations
      • ConditionMiddleware
        • UrlPathFilter
      • GroupMiddleware
      • GroupBuilderMiddleware
      • ContentNegotiationMiddleware
        • SuffixNegotiationStrategy
          • JsonNegotiator
    • relax dependencies
  • v0.1.1 v0.1.1

    Bump! πŸ—

    Diff: v0.1...v0.1.1

    Changes:

    • added new methods for PresenterMiddleware
  • v0.1 v0.1

    Bumped! πŸ‘Š

Componette Componette felix@nette.org