Production-ready, Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs
MIT License
Bot releases are hidden (Show)
Published by provinzkraut about 1 year ago
id_attribute
per method by @cofin in https://github.com/litestar-org/litestar/pull/2052
upsert_many
by @cofin in https://github.com/litestar-org/litestar/pull/2056
OnBeforeAfter
, NotInCollectionFilter
and NotInSearchFilter
by @cofin in https://github.com/litestar-org/litestar/pull/2057
delete_many
by @cofin in https://github.com/litestar-org/litestar/pull/2061
InstrumentedAttribute
for attribute columns by @provinzkraut in https://github.com/litestar-org/litestar/pull/2054
operation_id
on route handlers by @Goldziher in https://github.com/litestar-org/litestar/pull/2078
health_check
generates valid statement for oracle by @cofin in https://github.com/litestar-org/litestar/pull/2060
DTOData
and create_instance
by @abdulhaq-e in https://github.com/litestar-org/litestar/pull/2065
debug=True
by default by @Goldziher in https://github.com/litestar-org/litestar/pull/2049
partial.py
by @provinzkraut in https://github.com/litestar-org/litestar/pull/2113
dto/factory
and contrib/msgspec
by @provinzkraut in https://github.com/litestar-org/litestar/pull/2114
BREAKING
This release introduces significant changes to the DTOs. This was necessary to address some bugs that came about because of some issues with the previous internal design. Unfortunately, these changes could not be made backwards compatible, but they are mostly superficial changes to the interfaces; Functionally DTOs still work the same.
The following breaking changes were introduced:
DTOInterface
has been removedForType
has been removedAbstractDTOFactory
has been renamed to AbstractDTO
Full Changelog: https://github.com/litestar-org/litestar/compare/v2.0.0beta4...v2.0.0rc1
Published by JacobCoffee about 1 year ago
Full Changelog: https://github.com/litestar-org/litestar/compare/v1.51.13...v1.51.14
Published by provinzkraut about 1 year ago
Bugfix release containing a workaround for a bug in poetry that caused development / extra dependencies to be installed alongside the package.
This was fixed by @Goldziher in https://github.com/litestar-org/litestar/pull/2029.
Full Changelog: https://github.com/litestar-org/litestar/compare/v2.0.0beta3...v2.0.0beta4
Published by provinzkraut over 1 year ago
As of this release, Pydantic is an optional dependency.
What does that mean?
For you as an end user, not much; It is still supported in the same capacity as before, it's just not required anymore.
We have migrated all of our internals that previously relied on Pydantic (mainly for parsing and validation) to the amazing msgspec library, with Pydantic now being handled by an internal plugin.
The important thing is: Everything that has worked before with Pydantic will continue to work, and if you're not using Pydantic, but instead want to use attrs or pure msgspec, you won't have a required Pydantic dependency anymore.
Pydantic 2 support
Another change related to Pydantic is that this release adds support for Pydantic 2, which offers lots of improvements, new features and performance gains. Pydantic 1 is still fully supported and will be for the foreseeable future.
PiccoloDTO
by @Goldziher in https://github.com/litestar-org/litestar/pull/1896
include
option to DTOConfig
by @Goldziher in https://github.com/litestar-org/litestar/pull/1950
auto_commit
, auto_refresh
and auto_expunge
options by @cofin in https://github.com/litestar-org/litestar/pull/1900
OpenAPIController.path
from OpenAPIConfig
by @jaykv in https://github.com/litestar-org/litestar/pull/1886
ImproperlyConfiguredException
message for missing param type by @euri10 in https://github.com/litestar-org/litestar/pull/1935
_sentinel
column to sa_orm_sentinel
by @cofin in https://github.com/litestar-org/litestar/pull/1933
created_at
and updated_at
defaulting to app startup time by @MatthewNewland in https://github.com/litestar-org/litestar/pull/1894
Sequence
with defaults by @peterschutt in https://github.com/litestar-org/litestar/pull/1883
>=4.4.4+
version by @Goldziher in https://github.com/litestar-org/litestar/pull/1903
Header
, CacheControlHeader
and ETag
Pydantic models with dataclasses by @Tsdevendra1 in https://github.com/litestar-org/litestar/pull/1917
dto.factory.abc.AbstractDTOFactory
moved to dto.factory.base.AbstractDTOFactory
by @Goldziher in https://github.com/litestar-org/litestar/pull/1950
partial
module by @Goldziher in https://github.com/litestar-org/litestar/pull/2002
Full Changelog: https://github.com/litestar-org/litestar/compare/v2.0.0beta2...v2.0.0beta3
Published by provinzkraut over 1 year ago
<2
by @provinzkraut in https://github.com/litestar-org/litestar/pull/1985
Full Changelog: https://github.com/litestar-org/litestar/compare/v1.51.12...v1.51.13
Published by Goldziher over 1 year ago
As stated in the Beta 1 release, it means that all of the major changes are done, and you can start evaluating the 2.0 release. Upcoming beta releases will mostly include bugfixes, and you can expect a generally stable interface.
This release however is not feature complete, and we'll still be adding new features until the first rc (release candidate) release preceding the 2.0 release.
annotated-types
by @Goldziher in https://github.com/litestar-org/litestar/pull/1847
TestClient
default timeout by @provinzkraut in https://github.com/litestar-org/litestar/pull/1840
get_type_hints
by @Goldziher in https://github.com/litestar-org/litestar/pull/1861
msgspec.from_builtins
with msgspec.convert
by @provinzkraut in https://github.com/litestar-org/litestar/pull/1843
Full Changelog: https://github.com/litestar-org/litestar/compare/v2.0.0beta1...v2.0.0beta2
Published by provinzkraut over 1 year ago
This is the first beta release of Litestar 2.0!
What does that mean?
In practical terms, it means that all of the major changes are done, and you can start evaluating the 2.0 release. Upcoming beta releases will mostly include bugfixes, and you can expect a generally stable interface.
This release however is not feature complete, and we'll still be adding new features until the first rc
(release candidate) release preceding the 2.0 release.
ParsedType
as public API by @peterschutt in https://github.com/litestar-org/litestar/pull/1677
--pdb
flag and LITESTAR_PDB
environment variable by @provinzkraut in https://github.com/litestar-org/litestar/pull/1742
operation_class
argument to HTTP route handlers to override OpenAPI Operation
class by @smithk86 in https://github.com/litestar-org/litestar/pull/1732
--reload-dir
option to CLI run
command by @peterschutt in https://github.com/litestar-org/litestar/pull/1689
rich-click
integration by @cofin in https://github.com/litestar-org/litestar/pull/1745
WebSocket
iter_
methods by @provinzkraut in https://github.com/litestar-org/litestar/pull/1733
to_dict
by @cofin in https://github.com/litestar-org/litestar/pull/1802
DTOData.create_instance()
by @peterschutt in https://github.com/litestar-org/litestar/pull/1741
SQLAlchemyDTO
by @peterschutt in https://github.com/litestar-org/litestar/pull/1754 and https://github.com/litestar-org/litestar/pull/1776
deep_copy
directive when copying state by @peterschutt in https://github.com/litestar-org/litestar/pull/1678
ParsedType.is_subclass_of(X)
true for union if all union types are subtypes of X by @peterschutt in https://github.com/litestar-org/litestar/pull/1690
ChannelsPlugin
in signature namespace population by @peterschutt in https://github.com/litestar-org/litestar/pull/1719
DTOData
by @peterschutt in https://github.com/litestar-org/litestar/pull/1731
sync_to_thread
warnings for generator dependencies by @peterschutt in https://github.com/litestar-org/litestar/pull/1716 and @provinzkraut in https://github.com/litestar-org/litestar/pull/1740
WebSocketListener
by @JacobCoffee in https://github.com/litestar-org/litestar/pull/1807
Dict[K, V]
ignores generic by @gsakkis in https://github.com/litestar-org/litestar/pull/1828
simple_asdict()
with attribute value having dataclass type by @peterschutt in https://github.com/litestar-org/litestar/pull/1729
WebSocketTestSession
not timing out without when connection is not accepted by @smithk86 in https://github.com/litestar-org/litestar/pull/1696
msgspec.field
from being called with too many arguments by @MatthewNewland in https://github.com/litestar-org/litestar/pull/1686
GUID
by @cofin in https://github.com/litestar-org/litestar/pull/1676
ExceptionHandlersMap
to MutableMapping
by @peterschutt in https://github.com/litestar-org/litestar/pull/1791
5.0.0
with OpenAPI 3.1
support by @cofin in https://github.com/litestar-org/litestar/pull/1826
state
parameter from AfterExceptionHookHandler
and BeforeMessageSendHookHandler
by @provinzkraut in https://github.com/litestar-org/litestar/pull/1739
dto/exceptions.py
by @peterschutt in https://github.com/litestar-org/litestar/pull/1773
BaseRouteHandler
by @peterschutt in https://github.com/litestar-org/litestar/pull/1819
Litestar
parameter preferred_validation_backend
private by @provinzkraut in https://github.com/litestar-org/litestar/pull/1810
Response.get_serializer()
to serialization.get_serializer()
. by @peterschutt in https://github.com/litestar-org/litestar/pull/1820
ResponseContainer
and introduce ASGIResponse
by @peterschutt in https://github.com/litestar-org/litestar/pull/1790
openapi.rst
by @eldano1995 in https://github.com/litestar-org/litestar/pull/1722
Request
and WebSocket
generic args in examples by @ctrl-Felix in https://github.com/litestar-org/litestar/pull/1815
Full Changelog: https://github.com/litestar-org/litestar/compare/v2.0.0alpha7...v2.0.0beta1
Published by provinzkraut over 1 year ago
sync_to_thread
value by @provinzkraut in https://github.com/litestar-org/litestar/pull/1648
sync_to_thread
value by @provinzkraut in https://github.com/litestar-org/litestar/pull/1655
sync_to_thread
with async callables by @provinzkraut in https://github.com/litestar-org/litestar/pull/1664
DTOData
datastructure by @peterschutt in https://github.com/litestar-org/litestar/pull/1650
psycopg
asyncio support by @cofin in https://github.com/litestar-org/litestar/pull/1657
BigInteger
PK option PKs by @cofin in https://github.com/litestar-org/litestar/pull/1657
GUID
PKs by @cofin in https://github.com/litestar-org/litestar/pull/1657
msgspec.Meta
annotated types by @Goldziher in https://github.com/litestar-org/litestar/pull/1669
FieldInfo
by @Goldziher in https://github.com/litestar-org/litestar/pull/1670
forward-ref
issues by @cofin in https://github.com/litestar-org/litestar/pull/1659
Full Changelog: https://github.com/litestar-org/litestar/compare/v2.0.0alpha6...v2.0.0alpha7
Published by provinzkraut over 1 year ago
url_for
kwargs unpack by @whiskeyriver in https://github.com/litestar-org/litestar/pull/1610
websocket_listener
in controller causes TypeError: .handler_fn() got multiple values for argument 'socket'
by @provinzkraut in https://github.com/litestar-org/litestar/pull/1627
connection_accept_handler
to websocket_listener
by @peterschutt in https://github.com/litestar-org/litestar/pull/1572
block
and timeout
parameters to WebSocketTestSession
receive methods by @provinzkraut in https://github.com/litestar-org/litestar/pull/1593
--app-dir
option to CLI by @cofin in https://github.com/litestar-org/litestar/pull/1506
WebSocket
by @provinzkraut in https://github.com/litestar-org/litestar/pull/1626
contrib.sqlalchemy.base.__all__
by @provinzkraut in https://github.com/litestar-org/litestar/pull/1582
dto.factory.backends
private by @peterschutt in https://github.com/litestar-org/litestar/pull/1589
Internal
AbstractDTOBackend
. by @peterschutt in https://github.com/litestar-org/litestar/pull/1597
Full Changelog: https://github.com/litestar-org/litestar/compare/v2.0.0alpha5...v2.0.0alpha6
Published by JacobCoffee over 1 year ago
Full Changelog: https://github.com/litestar-org/litestar/compare/v1.51.11...v1.51.12
Published by provinzkraut over 1 year ago
Full Changelog: https://github.com/litestar-org/litestar/compare/v1.51.10...v1.51.11
Published by provinzkraut over 1 year ago
__init__
method. by @peterschutt in https://github.com/litestar-org/litestar/pull/1505
websocket_listener
by @peterschutt in https://github.com/litestar-org/litestar/pull/1518
standard
and full
extra by @provinzkraut in https://github.com/litestar-org/litestar/pull/1494
DTOInterface
. by @peterschutt in https://github.com/litestar-org/litestar/pull/1500
Litestar
. by @peterschutt in https://github.com/litestar-org/litestar/pull/1508
MissingDependencyException
a subclass of ImportError
by @provinzkraut in https://github.com/litestar-org/litestar/pull/1557
Internal
litestar.config.
imports in migration guidecontrib.repository
and SQLAlchemy repository by @cofin in https://github.com/litestar-org/litestar/pull/1345
Full Changelog: https://github.com/litestar-org/litestar/compare/v2.0.0alpha4...v2.0.0alpha5
Published by provinzkraut over 1 year ago
Partial
modifying dataclasses by @Goldziher in https://github.com/litestar-org/litestar/pull/1481
--reload
flag not working as expected) by @provinzkraut in https://github.com/litestar-org/litestar/pull/1483
cli
extra #1480 by @provinzkraut in https://github.com/litestar-org/litestar/pull/1483
Full Changelog: https://github.com/litestar-org/litestar/compare/v1.51.9...v1.51.10
Published by provinzkraut over 1 year ago
attrs
and msgspec
to Partial
by @Goldziher in https://github.com/litestar-org/litestar/pull/1462
text/html
Media-Type in Redirect
response by @sonpro1296 in https://github.com/litestar-org/litestar/pull/1474
cli
extra by @provinzkraut in https://github.com/litestar-org/litestar/pull/1480
Litestar.logger
levels when setting Litestar.debug
by @provinzkraut in https://github.com/litestar-org/litestar/pull/1482
Full Changelog: https://github.com/litestar-org/litestar/compare/v2.0.0alpha3...v2.0.0alpha4
Published by provinzkraut over 1 year ago
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 about the renaming and the introductory post.
InitPluginProtocol
by @peterschutt in https://github.com/litestar-org/litestar/pull/1395
Redirect
container by @provinzkraut in https://github.com/litestar-org/litestar/pull/1412
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
get_plugin_for_value()
for arbitrary generic types. by @peterschutt in https://github.com/litestar-org/litestar/pull/1389
ResponseCacheConfig
default store name by @provinzkraut in https://github.com/litestar-org/litestar/pull/1404
RequestFactory
with empty data
by @provinzkraut in https://github.com/litestar-org/litestar/pull/1420
InitPluginProtocol
to interact with AppConfig
. by @peterschutt in https://github.com/litestar-org/litestar/pull/1393
create_test_client
signatures and docstrings to to match Starlite
by @provinzkraut in https://github.com/litestar-org/litestar/pull/1417
Internal
Starlite.openapi_schema
property. by @peterschutt in https://github.com/litestar-org/litestar/pull/1397
MissingDependencyException
usages by @provinzkraut in https://github.com/litestar-org/litestar/pull/1403
__call__()
method logic by @peterschutt in https://github.com/litestar-org/litestar/pull/1427
BaseRouteHandler.fn
property by @peterschutt in https://github.com/litestar-org/litestar/pull/1428
Full Changelog: https://github.com/litestar-org/litestar/compare/v2.0.0alpha2...v2.0.0alpha3
Published by provinzkraut over 1 year ago
pytest-lazy-fixture
to dev dependencies by @bollwyvl in https://github.com/starlite-api/starlite/pull/1415
Full Changelog: https://github.com/starlite-api/starlite/compare/v1.51.8...v1.51.9
Published by provinzkraut over 1 year ago
cache=True
in route handler by @provinzkraut in https://github.com/starlite-api/starlite/pull/1407
Full Changelog: https://github.com/starlite-api/starlite/compare/v1.51.7...v1.51.8
Published by provinzkraut over 1 year ago
A detailed changelog can be found here: https://docs.starliteproject.dev/2/release-notes/changelog.html
StoreRegistry
by @provinzkraut in https://github.com/starlite-api/starlite/pull/1330
starlite.__version__
by @provinzkraut in https://github.com/starlite-api/starlite/pull/1277
version
command to CLI by @provinzkraut in https://github.com/starlite-api/starlite/pull/1322
after_request
hook not being called on responses returned from handlers by @Goldziher in https://github.com/starlite-api/starlite/pull/1344
JSON.parse
error in ReDoc and Swagger OpenAPI handlers by @cofin in https://github.com/starlite-api/starlite/pull/1363
signature_namespace
layered parameter to help resolve type annotations by @peterschutt in https://github.com/starlite-api/starlite/pull/1374
SimpleEventEmitter
to use worker pattern by @Goldziher & @provinzkraut in https://github.com/starlite-api/starlite/pull/1346
BaseEventEmitterBackend.emit
synchronous by @provinzkraut in https://github.com/starlite-api/starlite/pull/1376
contrib
by @provinzkraut in https://github.com/starlite-api/starlite/pull/1279
picologging
from the standard
install group by @cofin in https://github.com/starlite-api/starlite/pull/1313
initial_state
with state
by @peterschutt in https://github.com/starlite-api/starlite/pull/1350
before_send
handlers by @peterschutt in https://github.com/starlite-api/starlite/pull/1354
Internal
py_39_safe_annotations
decorator by @peterschutt in https://github.com/starlite-api/starlite/pull/1323
async_timeout
as dev dep for py 3.11+. by @peterschutt in https://github.com/starlite-api/starlite/pull/1353
starlite_sphinx_theme
by @provinzkraut in https://github.com/starlite-api/starlite/pull/1366
starliteproject.dev
) by @provinzkraut in https://github.com/starlite-api/starlite/pull/1366
Full Changelog: https://github.com/starlite-api/starlite/compare/v2.0.0alpha1...v2.0.0alpha2
Published by provinzkraut over 1 year ago
404
being raised for some invalid paths by @Goldziher in https://github.com/starlite-api/starlite/pull/1316
DeprecationWarning
for the wrong name starlite/middleware/session/__init__.py
by @peterschutt in https://github.com/starlite-api/starlite/pull/1286
Full Changelog: https://github.com/starlite-api/starlite/compare/v1.51.6...v1.51.7
Published by provinzkraut over 1 year ago
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
.
Starlite.from_config
alternative constructor by @wassafshahzad in https://github.com/starlite-api/starlite/pull/1190
WEB_CONCURRENCY
/HTTP Workers to CLI by @cofin in https://github.com/starlite-api/starlite/pull/1218
state
reserved kwarg by @peterschutt in https://github.com/starlite-api/starlite/pull/1264
Non breaking
AbstractSecurityConfig
by @Goldziher in https://github.com/starlite-api/starlite/pull/1167
Breaking
contrib
by @peterschutt in https://github.com/starlite-api/starlite/pull/1252
starlite/utils
by @provinzkraut in https://github.com/starlite-api/starlite/pull/1261
starlite
namespace by @provinzkraut in https://github.com/starlite-api/starlite/issues/1135
Internal
__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
Starlite.openapi_schema
to use lazy evaluation on first access by @Goldziher in https://github.com/starlite-api/starlite/pull/1217
starlite.handlers.http_handlers
. by @peterschutt in https://github.com/starlite-api/starlite/pull/1244
LoggingMiddlewareConfig
log fields #1139 by @chris-telemetry in https://github.com/starlite-api/starlite/pull/1151
'/'
by @Goldziher in https://github.com/starlite-api/starlite/pull/1207
domain
configuration value by @cofin in https://github.com/starlite-api/starlite/pull/1223
--reload
flag not working as expected by @provinzkraut in https://github.com/starlite-api/starlite/pull/1255
Full Changelog: https://github.com/starlite-api/starlite/compare/v1.51.0...v2.0.0alpha1