Componette

Componette

contributte

contributte / middlewares v0.10.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.11.0 master 3.0+ >=7.2
stable ^0.10.0 master 3.0+ >=7.2
stable ^0.8.0 master 2.4 >=7.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.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! ๐Ÿ‘Š

bar-chart-fill

Statistics

download-cloud-fill
161530
star-fill
13
bug-fill
1
flashlight-fill
4d
price-tag-2-line

Badges

guide-fill

Dependencies

Componette Componette felix@nette.org