Browse Source

Merge tag 'v1.6.2' into dev

wangweimin 2 years ago
parent
commit
34dcecaf7e
3 changed files with 8 additions and 4 deletions
  1. 5 1
      docs/releases/v1.6.rst
  2. 2 2
      pywebio/__version__.py
  3. 1 1
      pywebio/platform/tpl/index.html

+ 5 - 1
docs/releases/v1.6.rst

@@ -28,4 +28,8 @@ v1.6.1 (2022/5/22)
 * fix (`#385 <https://github.com/pywebio/PyWebIO/issues/385>`_): bootstrap-select issue
 * fix (`#389 <https://github.com/pywebio/PyWebIO/issues/389>`_): `put_select()` was hidden by `put_tabs()`
 * fix auto hold don't work on script mode
-* provide a fallback way when CDN is not available
+* provide a fallback way when CDN is not available
+
+v1.6.2 (2022/7/16)
+---------------------
+* fix: plotly.js version error due to outdated CDN link

+ 2 - 2
pywebio/__version__.py

@@ -1,8 +1,8 @@
 __package__ = 'pywebio'
 __description__ = 'Write interactive web app in script way.'
 __url__ = 'https://pywebio.readthedocs.io'
-__version__ = "1.6.1"
-__version_info__ = (1, 6, 1, 0)
+__version__ = "1.6.2"
+__version_info__ = (1, 6, 2, 0)
 __author__ = 'WangWeimin'
 __author_email__ = 'wang0.618@qq.com'
 __license__ = 'MIT'

+ 1 - 1
pywebio/platform/tpl/index.html

@@ -77,7 +77,7 @@
 
     require.config({
         paths: {
-            'plotly': "https://cdn.plot.ly/plotly-latest.min",
+            'plotly': "https://cdn.plot.ly/plotly-2.12.1.min",
         },
     });