Releases: bird-house/twitcher
Releases · bird-house/twitcher
v0.10.0
What's Changed
- Add zenodo configuration with communities listed by @Zeitsperre in #121
- [Snyk] Security upgrade setuptools from 39.0.1 to 65.5.1 by @fmigneault in #124
- [Snyk] Security upgrade tornado from 6.2 to 6.3.3 by @fmigneault in #126
- Fix invalid tornado dependency in tests by @fmigneault in #128
- python updates and security fixes by @fmigneault in #136
Full Changelog: v0.9.0...v0.10.0
v0.9.0
Changes:
- Add CI workflow tests for Python 3.9, 3.10 and 3.11, and use 3.11 by default for all linting and coverage tests.
- Use Python 3.11 in Dockerfile for latest performance improvements and security fixes.
- Convert comment typing definitions into typing annotations.
v0.8.0
Changes:
- Add
/ows/verify/{service_name}[/{extra_path}]
endpoint analoguous to/ows/proxy/{service_name}[/{extra_path}]
to only verify if access is granted to this service, for that specific resource path, and for the authenticated user,
without performing the proxied request. This can be employed by servers and external entities to validate that
authorization will be granted for the user without executing potentially heavy computation or large data transfers
from the targeted resource that would otherwise be performed by requesting the/ows/proxy
equivalent location.
One usage example of this feature is using NGINX Authentication Based on Subrequest Result to verify an alternate resource prior to proxying a service
request that needs authenticated access to the first resource. - Add the OWS proxy
send_request
operation under thetwitcher.adapter
interface to allow it applying relevant
proxying adjustments when using derived implementation. TheDefaultAdapater
simply calls the original function
that was previously called directly instead of using the adapter's method. - Removed the
extra_path
andrequest_params
arguments from OWS proxysend_request
to better align them with
arguments from other adapter methods. These parameters are directly retrieved from therequest
argument, which was
also provided as input tosend_request
.
v0.7.0
Changes:
- Add request and response hooks operations to adapter allowing derived implementations to modify OWS proxied requests
and returned responses from the service. The default adapter applies no modifications to the original definitions.
v0.6.2
v0.6.1
Changes:
- Integrate functionality changes of
0.5.x
branch back into0.6.x
. - Align
twitcher.adapter
features of0.6.x
branch to support0.5.x
behaviour. - Revert removal of
ServiceStoreInterface
to provide relevant implementation details to external adapters. - Apply missing interface classes as bases to default implementations.
- Add
owsproxy_uri
in frontpage response. - Use
hybrid_property
to provide directtwitcher.models.Service.verify
setter instead of protected_verify
. - Add more logging and handling of errors to catch cases where adapter doesn't return a valid
Service
instance. - Add
scoped_session
tosession_factory
object to ensure distinct connections and transactions are created for
concurrent requests.
v0.6.0
v0.5.3
v0.5.2
New Features:
- Adds route
/info
which returns contents oftwitcher.__version__
. - Adds route
/versions
which returns version details such asTwitcher
app version and employed adapter version.
Changes:
- Updated
README.rst
to match recent development, reference and docker image link. - Adds URI of
/info
and/versions
routes in the frontpage response. - Corresponding HTTP status codes are returned for raised
OWSException
.
v0.5.1
New Features:
- Add
postgres
extra requirements for when it is used as database driver withsqlalchemy
.
Changes:
- Use
container
instead ofconfig
forAdapterInterface.owsproxy_config
to match real use cases.
Fixes:
- Improve the adapter import methodology to work with more use cases (Ouranosinc/Magpie#182).
- Fix incorrect setup for bump version within
Makefile
. - Fix Twitcher
main
includingtwitcher.<module>
instead of.<module>
.