Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Latest commit

 

History

History
20 lines (14 loc) · 2.15 KB

CHANGELOG.md

File metadata and controls

20 lines (14 loc) · 2.15 KB

Change Log

2.0.0 (date TBD)

Breaking changes

  • org.zalando.stups.friboo.system.http/def-http-component is removed in favor of org.zalando.stups.friboo.system.http/make-http. For the old Zalando-specific functionality use org.zalando.stups.friboo.zalando-internal.system.http/make-zalando-http from friboo-ext-zalando.
  • Notion of controller is introduced to decouple Http serving and API handling. Controller is a component that contains all the dependencies that API handlers might need access to - such as database, metrics, authorizer etc. API handlers by default are called with [controller params request] now, this can be customized through {:s1st-options {:executor <your_resolver_fn>}}. system_test.clj contains an example.
  • org.zalando.stups.friboo.system.db/def-db-component is removed. One should use org.zalando.stups.friboo.system.db/map->DB to create DB component, :auto-migration? is provided as part of normal config.
  • org.zalando.stups.friboo.config/load-configuration is broken down into org.zalando.stups.friboo.config/load-config and org.zalando.stups.friboo.zalando-internal.config/load-config, signature changed.
  • org.zalando.stups.friboo.system.db/generate-hystrix-commands now by default does not use any nonfatal exception detection, every exception will cause circuit breaking. For the old behavior use (generate-hystrix-commands :ignore-exception-fn? org.zalando.stups.friboo.zalando-internal.system.db/ignore-nonfatal-psqlexception) from friboo-ext-zalando.

Things moved to friboo-ext-zalando and broken there:

  • org.zalando.stups.friboo.zalando-internal.config HTTP_TOKENINFO_URL environment variable is ignored now, TOKENINFO_URL and GLOBAL_TOKENINFO_URL are used to enable OAuth 2.0 access token checking in Http component created by make-zalando-http.
  • org.zalando.stups.friboo.auth namespace is renamed to org.zalando.stups.friboo.zalando-specific.auth, Authorizer component is introduced,
  • fetch-auth and get-auth functions changed signatures. HTTP_MAGNIFICENT_URL should be replaced with AUTH_MAGNIFICENT_URL.