api

🆖 Powerful, documented, validated, built-in API to Nette Framework. (@nette)

MIT License

Downloads
171.8K
Stars
10
Committers
4

Bot releases are visible (Hide)

api - v0.4.0 Latest Release

Published by f3l1x 10 months ago

Bumped! 🔄

Diff: https://github.com/contributte/api/compare/v0.3...v0.4.0

Changes:

  • Introduce new API library [8350ceb66deb6d5d3a3164e4226e58c766458473] (@f3l1x)
api - v0.3

Published by f3l1x about 7 years ago

Bump! 🔪

Diff: https://github.com/contributte/api/compare/v0.2.2...v0.3

Changes:

  • namespace refactoring (drop Bridges)
  • rename Factory/Generator to Serialization
  • rename Validators to Validations
  • ApiResponse/ApiRequest don't composite PSR7, they extend
  • simplify whole middlewares usage
  • simplify ApiExtension
  • added new Api2MiddlewaresExtension to easy use of middlewares
  • simplify Transformers (from 2 interfaces to 1 interface)
  • direct dependencies: contributte/psr7-http-message, contributte/middlewares, contributte/phpdoc
  • tiny micro refactorings
  • added huge amount of tests
api - v0.2.2

Published by f3l1x about 7 years ago

Bump! :goberserk:

Diff: https://github.com/contributte/api/compare/v0.2.1...v0.2.2

Changes:

  • added schema validators [#1] [#2]
  • analyse via phpstan [#10]
  • added content negotiation
  • many small improvements
api - v0.2.1

Published by f3l1x over 7 years ago

Bump! 🚳

https://github.com/contributte/api/compare/v0.2...v0.2.1

Changes:

  • strickness ApiRouter matching
api - v0.2

Published by f3l1x over 7 years ago

Bumped! 🐕

Diff: https://github.com/contributte/api/compare/v0.1...v0.2

Changes:

  • rewritten ApiMiddleware (BC!)
  • introduced invokers concept:
    • ApiRouter (maps and parses request URL(s))
    • ApiContentNegotiation (converts data to any formats)
      • UrlNegotiator (negotiates content data by URL suffix)
        • JsonTransformer (encodes / decodes data)
    • ApiEmitter (passes requests to ApiDispatcher)
    • synchronize trailing slashes (at the start, at the end)
api - v0.1

Published by f3l1x over 7 years ago

First bump! 👊