Browse Source

Bump version to 0.2.2 (#1400)

Nikhil Rao 1 year ago
parent
commit
d3deade107
2 changed files with 3 additions and 2 deletions
  1. 1 1
      pyproject.toml
  2. 2 1
      reflex/app.py

+ 1 - 1
pyproject.toml

@@ -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 = [

+ 2 - 1
reflex/app.py

@@ -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]