Skip to content

Commit d14a33c

Browse files
committed
minor updates
1 parent 9d0c9ee commit d14a33c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/new_features.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ Breaking changes since 1.2.1 include:
4848
- Since decorator errors now raise exceptions, if you had a script with such an error that otherwise works, that
4949
script will now give an exception and fail to load. The error should be self-explanatory, and it's good to know
5050
so you can fix it.
51+
- Since an exception is now raised if you call a function with an invalid keyword argument (ie, one not included
52+
in the function's argument definition), if you previsouly had a misspelled keyword argument that was silently
53+
ignored, you will now get an exception. It's good to know that is the case, and it should be easy to fix.
54+
- The use of ``pyscript.config["apps"][YOUR_APP]`` to get application configuration is still available but now
55+
deprecated. The ``apps`` entry in ``pyscript.config`` will be removed in a future release. This is to prevent
56+
wayward applications from seeing configuration settings for other apps. The new ``pyscript.app_config`` variable
57+
should be used instead - it is set to ``pyscript.config["apps"][YOUR_APP]`` for each app.
5158

5259
Bug fixes since 1.2.1 include:
5360

0 commit comments

Comments
 (0)