Starlite

Latest version: v1.51.16

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

Scan your dependencies

Page 8 of 32

2.0.0alpha3

Important

This is the first release under the new "Litestar" name. Version number and everything else has been kept the same. For more details see [this section](https://litestar.dev/about/organization.html#litestar-and-starlite) about the renaming and the [introductory post](https://www.reddit.com/r/Python/comments/129n4dc/renaming_starlite_to_litestar/).

What's Changed

New features

* SQLAlchemy 2.0 `InitPluginProtocol` by peterschutt in https://github.com/litestar-org/litestar/pull/1395
* Attrs signature modelling by Goldziher in https://github.com/litestar-org/litestar/pull/1382
* Support setting status codes in `Redirect` container by provinzkraut in https://github.com/litestar-org/litestar/pull/1412
* Add sentinel value to support caching responses indefinitely by provinzkraut in https://github.com/litestar-org/litestar/pull/1414
* Add `StarliteEncodableType` type alias by peterschutt in https://github.com/litestar-org/litestar/pull/1425
* `Accept`-header parsing and content negotiation by NomAnor in https://github.com/litestar-org/litestar/pull/1317
* DTO Application Interface by peterschutt in https://github.com/litestar-org/litestar/pull/1445
* Better websockets by provinzkraut in https://github.com/litestar-org/litestar/pull/1402

Bugfixes

* Fix 1368: SQLAlchemy 1 plugin mutates app state destructively by peterschutt in https://github.com/litestar-org/litestar/pull/1391
* Fix 1388, `get_plugin_for_value()` for arbitrary generic types. by peterschutt in https://github.com/litestar-org/litestar/pull/1389
* Fix 1409: Openapi schema generation using stringized return annotation by peterschutt in https://github.com/litestar-org/litestar/pull/1410
* Fix 1372: Openapi schema generation crashes for models with Annotated type attribute by peterschutt in https://github.com/litestar-org/litestar/pull/1400
* Fix `ResponseCacheConfig` default store name by provinzkraut in https://github.com/litestar-org/litestar/pull/1404
* Fix 1419: Support `RequestFactory` with empty `data` by provinzkraut in https://github.com/litestar-org/litestar/pull/1420

Changes

* Modify the `InitPluginProtocol` to interact with `AppConfig`. by peterschutt in https://github.com/litestar-org/litestar/pull/1393
* Update `create_test_client` signatures and docstrings to to match `Starlite` by provinzkraut in https://github.com/litestar-org/litestar/pull/1417

**Internal**

* Refactor: Raise on access to `Starlite.openapi_schema` property. by peterschutt in https://github.com/litestar-org/litestar/pull/1397
* Refactor: dataclass utils by peterschutt in https://github.com/litestar-org/litestar/pull/1398
* Fix inconsistent parsed parameter annotations. by peterschutt in https://github.com/litestar-org/litestar/pull/1401
* Restrict minimum redis versions for CVE-2023-28858 & CVE-2023-28859. by peterschutt in https://github.com/litestar-org/litestar/pull/1411
* Remove hypothesis permutations from test. by peterschutt in https://github.com/litestar-org/litestar/pull/1423
* Refactor: Update `MissingDependencyException` usages by provinzkraut in https://github.com/litestar-org/litestar/pull/1403
* De-duplicate handler `__call__()` method logic by peterschutt in https://github.com/litestar-org/litestar/pull/1427
* Add `BaseRouteHandler.fn` property by peterschutt in https://github.com/litestar-org/litestar/pull/1428
* Integrate polyfactory by Goldziher in https://github.com/litestar-org/litestar/pull/1431
* Add parsed signature datastructure by peterschutt in https://github.com/litestar-org/litestar/pull/1432
* Parsed signature utils by peterschutt in https://github.com/litestar-org/litestar/pull/1447
* Fix incorrect handler type annotations by peterschutt in https://github.com/litestar-org/litestar/pull/1452
* Rename Starlite by Goldziher in https://github.com/litestar-org/litestar/pull/1453

New Contributors
* giorgiovilardo made their first contribution in https://github.com/litestar-org/litestar/pull/1392
* NomAnor made their first contribution in https://github.com/litestar-org/litestar/pull/1317

**Full Changelog**: https://github.com/litestar-org/litestar/compare/v2.0.0alpha2...v2.0.0alpha3

2.0.0alpha2

What's Changed

A detailed changelog can be found here: https://docs.starliteproject.dev/2/release-notes/changelog.html

New features

* Repository contrib & SQLAlchemy repository by peterschutt & cofin in https://github.com/starlite-api/starlite/pull/1254
* **[Breaking]** Add data stores and add `StoreRegistry` by provinzkraut in https://github.com/starlite-api/starlite/pull/1330
* Add `starlite.__version__` by provinzkraut in https://github.com/starlite-api/starlite/pull/1277
* Add new `version` command to CLI by provinzkraut in https://github.com/starlite-api/starlite/pull/1322
* Add configurable exception logging and traceback truncation by Goldziher in https://github.com/starlite-api/starlite/pull/1296
* **[Breaking]** Enhance CLI autodiscovery logic by provinzkraut in https://github.com/starlite-api/starlite/pull/1322

Bugfixes

* Fix 1292: Allow overwriting default OpenAPI response descriptions by Nadock in https://github.com/starlite-api/starlite/pull/1293
* Fix: Regression in path resolution that prevented 404's being raised for false paths by Goldziher in https://github.com/starlite-api/starlite/pull/1316
* Fix 1315: `after_request` hook not being called on responses returned from handlers by Goldziher in https://github.com/starlite-api/starlite/pull/1344
* Fix: SQLAlchemyPlugin raises error when using SQLAlchemy UUID type by cofin in https://github.com/starlite-api/starlite/pull/1355
* Fix: `JSON.parse` error in ReDoc and Swagger OpenAPI handlers by cofin in https://github.com/starlite-api/starlite/pull/1363
* Fix: CLI prints application info twice by provinzkraut in https://github.com/starlite-api/starlite/pull/1322


Changes

* Add `signature_namespace` layered parameter to help resolve type annotations by peterschutt in https://github.com/starlite-api/starlite/pull/1374
* Update `SimpleEventEmitter` to use worker pattern by Goldziher & provinzkraut in https://github.com/starlite-api/starlite/pull/1346
* **[Breaking]** Make `BaseEventEmitterBackend.emit` synchronous by provinzkraut in https://github.com/starlite-api/starlite/pull/1376
* **[Breaking]** Standardize module exports by Goldziher in https://github.com/starlite-api/starlite/pull/1273
* **[Breaking]** Move 3rd party integration plugins to `contrib` by provinzkraut in https://github.com/starlite-api/starlite/pull/1279
* **[Breaking]** Remove `picologging` from the `standard` install group by cofin in https://github.com/starlite-api/starlite/pull/1313
* **[Breaking]** Replace `initial_state` with `state` by peterschutt in https://github.com/starlite-api/starlite/pull/1350
* **[Breaking]** Remove support for 2 argument form of `before_send` handlers by peterschutt in https://github.com/starlite-api/starlite/pull/1354


**Internal**
* Fix type errors in tortoise contrib by peterschutt in https://github.com/starlite-api/starlite/pull/1280
* Remove `py_39_safe_annotations` decorator by peterschutt in https://github.com/starlite-api/starlite/pull/1323
* Update OpenAPI logic to not rely on pydantic by Goldziher in https://github.com/starlite-api/starlite/pull/1306
* Add `async_timeout` as dev dep for py 3.11+. by peterschutt in https://github.com/starlite-api/starlite/pull/1353


Documentation

* Fix typo in core Starlite app by JacobCoffee in https://github.com/starlite-api/starlite/pull/1288
* Fix various cross references by provinzkraut in https://github.com/starlite-api/starlite/pull/1291
* Add TortoiseORM examples for related objects and computed fields by Galdanwing in https://github.com/starlite-api/starlite/pull/1356
* Use `starlite_sphinx_theme` by provinzkraut in https://github.com/starlite-api/starlite/pull/1366
* Remove general content from docs (moved to `starliteproject.dev`) by provinzkraut in https://github.com/starlite-api/starlite/pull/1366
* Add structured changelog by provinzkraut in https://github.com/starlite-api/starlite/pull/1380

Other

* Infra: Move linting to ruff by Goldziher in https://github.com/starlite-api/starlite/pull/1300

New Contributors
* Nadock made their first contribution in https://github.com/starlite-api/starlite/pull/1293
* onerandomusername made their first contribution in https://github.com/starlite-api/starlite/pull/1348
* Galdanwing made their first contribution in https://github.com/starlite-api/starlite/pull/1356

**Full Changelog**: https://github.com/starlite-api/starlite/compare/v2.0.0alpha1...v2.0.0alpha2

2.0.0alpha1

**Note**

`2.0.0alpha1` is the first release of Starlite 2.0. This is a pre-release and in the alpha stage. Interfaces have not yet stabilized an public APIs will likely still change before the final release of `v2.0.0`.

What's Changed

New features

* Validation of controller route handler methods by Goldziher in https://github.com/starlite-api/starlite/pull/1144
* HTMX support by jenish2014 in https://github.com/starlite-api/starlite/pull/1086
* Add `Starlite.from_config` alternative constructor by wassafshahzad in https://github.com/starlite-api/starlite/pull/1190
* Add `WEB_CONCURRENCY`/HTTP Workers to CLI by cofin in https://github.com/starlite-api/starlite/pull/1218
* Check the type annotation of the `state` reserved kwarg by peterschutt in https://github.com/starlite-api/starlite/pull/1264
* Support generic application state by Goldziher in https://github.com/starlite-api/starlite/pull/1030
* Support dependency injection of classes Goldziher in https://github.com/starlite-api/starlite/pull/1143
* Add event listeners / emitters by Goldziher in https://github.com/starlite-api/starlite/pull/1105
* **[Breaking]** Unified storage interfaces by provinzkraut in https://github.com/starlite-api/starlite/pull/1184

Changes

**Non breaking**

* Relaxed type annotations by peterschutt in https://github.com/starlite-api/starlite/pull/1140
* Support type encoders in `AbstractSecurityConfig` by Goldziher in https://github.com/starlite-api/starlite/pull/1167
* Update handling of operationID and generation of values from handler callable names by Goldziher in https://github.com/starlite-api/starlite/pull/1174

**Breaking**

* Rename handler modules to disambiguate from decorator names. by peterschutt in https://github.com/starlite-api/starlite/pull/1170
* Refactor plugin protocol by Goldziher in https://github.com/starlite-api/starlite/pull/1176
* Unify response headers / cookies by provinzkraut in https://github.com/starlite-api/starlite/pull/1209
* Improve application startup time by cleaning imports by Goldziher in https://github.com/starlite-api/starlite/pull/1215
* Replace Pydantic models with dataclasses by Goldziher in https://github.com/starlite-api/starlite/pull/1242
* Move SQLAlchemy 1 plugin into `contrib` by peterschutt in https://github.com/starlite-api/starlite/pull/1252
* Cleanup `starlite/utils` by provinzkraut in https://github.com/starlite-api/starlite/pull/1261
* Cleanup the `starlite` namespace by provinzkraut in https://github.com/starlite-api/starlite/issues/1135

**Internal**

* Use` __future__.annotations` by peterschutt in https://github.com/starlite-api/starlite/pull/1203, peterschutt in https://github.com/starlite-api/starlite/pull/1204, Goldziher in https://github.com/starlite-api/starlite/pull/1216, Goldziher https://github.com/starlite-api/starlite/pull/1215
* Update `Starlite.openapi_schema` to use lazy evaluation on first access by Goldziher in https://github.com/starlite-api/starlite/pull/1217
* Refactor `starlite.handlers.http_handlers`. by peterschutt in https://github.com/starlite-api/starlite/pull/1244


Bugfixes

* Fix `LoggingMiddlewareConfig` log fields 1139 by chris-telemetry in https://github.com/starlite-api/starlite/pull/1151
* Adhere to ASGI spec when parsing headers by using a list instead of tuple by knowsuchagency in https://github.com/starlite-api/starlite/pull/1187
* Fix static path validation for `'/'` by Goldziher in https://github.com/starlite-api/starlite/pull/1207
* Fix JWT Auth handling of `domain` configuration value by cofin in https://github.com/starlite-api/starlite/pull/1223
* Fix 1228: create a new dictionary of values in obfuscate() by smithk86 in https://github.com/starlite-api/starlite/pull/1231
* Fix optional parameter OpenAPI schema generation by nilsso in https://github.com/starlite-api/starlite/pull/1225
* Fix CLI `--reload` flag not working as expected by provinzkraut in https://github.com/starlite-api/starlite/pull/1255
* Fix path resolution for static files by Goldziher in https://github.com/starlite-api/starlite/pull/1257


Documentation

* Documentation Link Fixes by JacobCoffee in https://github.com/starlite-api/starlite/pull/1146
* Fix warnings and broken links. by peterschutt in https://github.com/starlite-api/starlite/pull/1171
* Docs restructuring by provinzkraut in https://github.com/starlite-api/starlite/pull/1189
* Fix typo in cli.rst by Alc-Alc in https://github.com/starlite-api/starlite/pull/1195
* Update sidebar css by ekeric13 in https://github.com/starlite-api/starlite/pull/1198
* Fix AsyncTestClient examples by odiseo0 in https://github.com/starlite-api/starlite/pull/1112
* Fix a typo in the "Migration from FastAPI" section by ReznikovRoman in https://github.com/starlite-api/starlite/pull/1220
* Update versioning and release documentation by provinzkraut in https://github.com/starlite-api/starlite/pull/1232



New Contributors
* jenish2014 made their first contribution in https://github.com/starlite-api/starlite/pull/1086
* chris-telemetry made their first contribution in https://github.com/starlite-api/starlite/pull/1151
* knowsuchagency made their first contribution in https://github.com/starlite-api/starlite/pull/1187
* ekeric13 made their first contribution in https://github.com/starlite-api/starlite/pull/1198
* wassafshahzad made their first contribution in https://github.com/starlite-api/starlite/pull/1190
* nilsso made their first contribution in https://github.com/starlite-api/starlite/pull/1225
* sinisaos made their first contribution in https://github.com/starlite-api/starlite/pull/1236

**Full Changelog**: https://github.com/starlite-api/starlite/compare/v1.51.0...v2.0.0alpha1

1.51.16

:warning: **Important** :warning:

This release contains a patch for a [vulnerability](https://github.com/litestar-org/litestar/security/advisories/GHSA-83pv-qr33-2vcf) that would allow path traversal in the static file serving functionality of Litestar. It is highly recommended to update your minor version to this patch release.

You can find more background information in the related discussion 3473 .

Sponsors 🌟
Thanks to these incredible business sponsors:

[Scalar](https://scalar.com/) (scalar), [Telemetry Sports](https://telemetrysports.com/) (via chris-telemetry), [Stok](https://www.stok.kr/) (stok-team)

A huge 'Thank you!' to all other sponsors across [Polar.sh](https://polar.sh/litestar-org), [OpenCollective](https://opencollective.com/litestar) and [GitHub Sponsors](https://github.com/sponsors/litestar-org/)!

What's changed

* Fix improper Limitation of a Pathname to a Restricted Directory by peterschutt in https://github.com/litestar-org/litestar/security/advisories/GHSA-83pv-qr33-2vcf

1.51.15

**Maintenance release**

* Update dependencies and release pipeline by provinzkraut in https://github.com/litestar-org/litestar/pull/3469


**Full Changelog**: https://github.com/litestar-org/litestar/compare/v1.51.14...v1.51.15

1.51.14

Not secure
What's Changed
* fix(v1.51): 1948 passing wrapper class to struct logging config causes pydantic exception by JacobCoffee in https://github.com/litestar-org/litestar/pull/2105


**Full Changelog**: https://github.com/litestar-org/litestar/compare/v1.51.13...v1.51.14

Page 8 of 32

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.