Bump version to 0.2.2 (#1400)

This commit is contained in:
Nikhil Rao 2023-07-21 12:00:55 -07:00 committed by GitHub
parent 06f6e1e7bd
commit d3deade107
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "reflex"
version = "0.2.1"
version = "0.2.2"
description = "Web apps in pure Python."
license = "Apache-2.0"
authors = [

View File

@ -117,7 +117,8 @@ class App(Base):
)
if self.state != DefaultState:
console.deprecate(
"Passing the state as keyword argument to `rx.App` is deprecated."
"Passing the state as keyword argument to `rx.App` is deprecated. "
"The base state will automatically be inferred as the subclass of `rx.State`."
)
self.state = state_subclasses[-1]