소스 검색

Bump version to 0.2.2 (#1400)

Nikhil Rao 1 년 전
부모
커밋
d3deade107
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  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]