Ellar

Latest version: v0.8.6

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 9

0.3.2

What's Changed
* fix itsdangerous bug in session middleware by eadwinCode in https://github.com/eadwinCode/ellar/pull/63


**Full Changelog**: https://github.com/eadwinCode/ellar/compare/0.3.0...0.3.2

0.3.0

What's Changed
* Bump black from 22.8.0 to 22.12.0 by dependabot in https://github.com/eadwinCode/ellar/pull/50
* Bump types-ujson from 0.1.1 to 5.6.0.0 by dependabot in https://github.com/eadwinCode/ellar/pull/49
* Update typer requirement from <0.7.0,>=0.6.1 to >=0.6.1,<0.8.0 by dependabot in https://github.com/eadwinCode/ellar/pull/40
* Removed ASGI args from contextvar by eadwinCode in https://github.com/eadwinCode/ellar/pull/53
* Document updates Jan 2023 by eadwinCode in https://github.com/eadwinCode/ellar/pull/54
* Injectable Class should be resolved at runtime without errors by eadwinCode in https://github.com/eadwinCode/ellar/pull/60
* More Doc Updates by eadwinCode in https://github.com/eadwinCode/ellar/pull/55
* Guards Refactor by eadwinCode in https://github.com/eadwinCode/ellar/pull/59
* restored commented tests by eadwinCode in https://github.com/eadwinCode/ellar/pull/61
* Bump starlette from 0.21.0 to 0.23.1 by dependabot in https://github.com/eadwinCode/ellar/pull/48
* Bump types-ujson from 5.6.0.0 to 5.7.0.0 by dependabot in https://github.com/eadwinCode/ellar/pull/58
* Bump types-dataclasses from 0.1.7 to 0.6.6 by dependabot in https://github.com/eadwinCode/ellar/pull/57
* Update flake8 requirement from <4.0.0,>=3.8.3 to >=3.8.3,<7.0.0 by dependabot in https://github.com/eadwinCode/ellar/pull/56


**Full Changelog**: https://github.com/eadwinCode/ellar/compare/0.2.8...0.3.0

0.2.8

What's Changed
* Separated `IHostContext` from `IExecutionContext` and added factory class that manages their creation by eadwinCode in https://github.com/eadwinCode/ellar/pull/51
* Made Guards classes Injectable by eadwinCode in https://github.com/eadwinCode/ellar/pull/52
* Switched from `thread.local` to `ContextVar` to manage `request_scopes` properly by eadwinCode in https://github.com/eadwinCode/ellar/pull/52
* Added Documentation for `ExecutionContext`.
* Increased test coverage.

**Full Changelog**: https://github.com/eadwinCode/ellar/compare/0.2.6...0.2.8

0.2.6

What's Changed
* Documentation Updates by eadwinCode in https://github.com/eadwinCode/ellar/pull/43
* Reverted building routes from a single list to a list of routers with a well-managed route not found cross routes eadwinCode in https://github.com/eadwinCode/ellar/pull/43
* Python 3.11 Support by eadwinCode in https://github.com/eadwinCode/ellar/pull/44
* Changed ASCII drawing to the image by eadwinCode in https://github.com/eadwinCode/ellar/pull/45
* Added an `IExceptionHandler` contract for defining custom exception handler by eadwinCode in https://github.com/eadwinCode/ellar/pull/46. [Doc](https://eadwincode.github.io/ellar/overview/exception_handling/)
* Dropped use for `BaseHTTPMiddleware` from Starlette and added a `FunctionBasedMiddleware` by eadwinCode in https://github.com/eadwinCode/ellar/pull/47
* Added `file` decorator for `FileResponseModel` and `StreamingResponseModel` by eadwinCode in https://github.com/eadwinCode/ellar/pull/47

python
import asyncio
from ellar.common import ModuleRouter, file

async def slow_numbers(minimum: int, maximum: int):
yield ("<html><body><ul>")
for number in range(minimum, maximum + 1):
yield "<li>%d</li>" % number
await asyncio.sleep(0.01)
yield ("</ul></body></html>")

router = ModuleRouter('/file')

router.get()
file(media_type='text/html')
def file_download():
return {'path': 'path/to/file.html', 'filename': 'code.html', 'content_disposition_type': 'attachment'}

router.get('/stream')
file(media_type='text/html', streaming=True)
def file_stream():
return slow_numbers(1, 4)



**Full Changelog**: https://github.com/eadwinCode/ellar/compare/0.2.4...0.2.6

0.2.4

What's Changed
* Update mkdocs-material requirement from <8.0.0,>=7.1.9 to >=7.1.9,<9.0.0 by dependabot in https://github.com/eadwinCode/ellar/pull/37
* Update pytest-cov requirement from <4.0.0,>=2.12.0 to >=2.12.0,<5.0.0 by dependabot in https://github.com/eadwinCode/ellar/pull/35
* Pydependencies upgrade by eadwinCode in https://github.com/eadwinCode/ellar/pull/32
* Bump types-orjson from 3.6.0 to 3.6.2 by dependabot in https://github.com/eadwinCode/ellar/pull/34
* Made CLI tool an optional requirement by eadwinCode in https://github.com/eadwinCode/ellar/pull/38


**Full Changelog**: https://github.com/eadwinCode/ellar/compare/0.2.2...0.2.4

0.2.2

What's Changed
* update readme by areski in https://github.com/eadwinCode/ellar/pull/30
* Cli help command fix by eadwinCode in https://github.com/eadwinCode/ellar/pull/31

**Full Changelog**: https://github.com/eadwinCode/ellar/compare/0.2.0...0.2.2

Page 8 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.