Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backports for 1.3.7 #6221

Merged
merged 48 commits into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
00fd653
Tweak Chat components alignment (#6104)
ahuang11 Dec 22, 2023
a0a3447
Loosen callback future type (#6120)
ahuang11 Dec 22, 2023
51ec6d3
Fix browser timezone meessage (#6122)
ahuang11 Dec 26, 2023
c91e39a
Initialize empty mpl (#6128)
ahuang11 Dec 27, 2023
5bffaf1
fix wrong link (#6132)
MarcSkovMadsen Dec 27, 2023
cda9fb1
Ensure icon displays inline with text on FileDownload (#6133)
philippjfr Dec 27, 2023
7cf7037
setup GoatCounter (#6117)
maximlt Dec 27, 2023
0a7e278
Add Dask How to guide (#4234)
MarcSkovMadsen Dec 27, 2023
fc680f9
Support using an SVG for ToggleIcon (#6127)
ahuang11 Dec 27, 2023
6dd6dfd
Add resizable param to TextAreaInput (#6126)
ahuang11 Dec 27, 2023
4b38ac9
Ruff bugbear (#5952)
hoxbro Dec 27, 2023
2e7e67e
Fix broken links (#5988)
MarcSkovMadsen Dec 27, 2023
865db6c
Only run test suite if code changes (#6096)
hoxbro Dec 27, 2023
dc91f2c
Fix Material notebook .show() call (#6137)
philippjfr Dec 27, 2023
ad6e25f
Re-enable B019 cache-instance-method check (#6136)
philippjfr Dec 27, 2023
6b0282a
Tweak center alignment (#6135)
ahuang11 Dec 27, 2023
0ea55dc
Add missing item in docstring. (#6167)
SultanOrazbayev Jan 9, 2024
3fc7e36
handle title_formatter if is type dict (#6166)
jz314 Jan 9, 2024
2f80f0e
[pre-commit.ci] pre-commit autoupdate (#6141)
pre-commit-ci[bot] Jan 9, 2024
a27b783
Actually pass card_params into ChatFeed's internal Card (#6154)
ahuang11 Jan 9, 2024
b00c76f
Fix generator placeholder and optimize updates (#6105)
ahuang11 Jan 9, 2024
ee87a65
Add activity indicator to ChatMessage (#6153)
ahuang11 Jan 9, 2024
ab15e1d
Handle NaT values on Perspective pane (#6176)
philippjfr Jan 9, 2024
addcb19
Fixes and guards for rendering ChatFeed and Card (#6177)
philippjfr Jan 10, 2024
2d55497
Fix fast tabulator links (#6146)
MarcSkovMadsen Jan 10, 2024
a6d3548
Lazily import bleach HTML sanitizer (#6179)
philippjfr Jan 10, 2024
7818ea0
Improve date and datetime picker functionality (#6152)
ahuang11 Jan 10, 2024
ef5ed12
Forward not ChatFeed params to message_params (#6089)
ahuang11 Jan 10, 2024
03e1776
Do not trigger event if ReplacementPane object identity is unchanged …
philippjfr Jan 11, 2024
799e9cb
Bump jinja2 from 3.0.1 to 3.1.3 in /examples/apps/django (#6186)
dependabot[bot] Jan 12, 2024
8ff9778
Bump jinja2 from 2.11.3 to 3.1.3 in /examples/apps/django_multi_apps …
dependabot[bot] Jan 12, 2024
e13ce35
Set min_width_0 and break anywhere (#6187)
ahuang11 Jan 12, 2024
2f814ce
Ploomber Cloud deployment documentation (#6182)
neelasha23 Jan 12, 2024
3463f9f
toc (#6189)
neelasha23 Jan 12, 2024
48445f3
correct duplicate wording (#6188)
fayssal-el-elmofatiche Jan 12, 2024
ac8c97b
Add filter by (#6090)
ahuang11 Jan 12, 2024
c0accb7
Only set HoloViews backend in first extension call (#5880)
philippjfr Jan 12, 2024
e63b1f0
fix per_session caching (#6169)
MarcSkovMadsen Jan 12, 2024
953e16d
fix statement (#6192)
maximlt Jan 12, 2024
7531903
fix pyodide loading issue (#6194)
MarcSkovMadsen Jan 13, 2024
416fbd9
Add Design and Theme explanation documentation (#4741)
philippjfr Jan 16, 2024
35793c5
Correctly reshape nd-arrays in Plotly pane (#6174)
philippjfr Jan 9, 2024
3b25def
return early if tabulator is undefined (#6223)
maximlt Jan 17, 2024
ad29b6b
Update JupyterLite Altair example to latest API (#6226)
philippjfr Jan 18, 2024
dcb0532
More complete patch for the TextEditor to support being rendered in t…
maximlt Jan 18, 2024
7b37a0d
Defer Jupyter Comm initialization until frontend is ready (#6229)
philippjfr Jan 18, 2024
db6a2bb
Bump plotly.js version to avoid CVE (#6230)
philippjfr Jan 18, 2024
fb519a5
Add CHANGELOG for 1.3.7 (#6231)
philippjfr Jan 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 91 additions & 10 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@ on:
branches:
- '*'
workflow_dispatch:
inputs:
target:
description: "How much of the test suite to run"
type: choice
default: default
options:
- default
- full
- downstream
cache:
description: "Use cache"
type: boolean
default: true
schedule:
- cron: '0 19 * * SUN'

Expand All @@ -21,16 +34,82 @@ jobs:
runs-on: 'ubuntu-latest'
steps:
- uses: holoviz-dev/holoviz_tasks/pre-commit@v0.1a19
setup:
name: Setup workflow
runs-on: ubuntu-latest
permissions:
pull-requests: read
outputs:
code_change: ${{ steps.filter.outputs.code }}
doc_change: ${{ steps.filter.outputs.doc }}
matrix: ${{ env.MATRIX }}
steps:
- uses: actions/checkout@v3
if: github.event_name != 'pull_request'
- name: Check for code changes
uses: dorny/paths-filter@v2.11.1
id: filter
with:
filters: |
code:
- 'panel/**'
- 'examples/**'
- 'setup.py'
- 'pyproject.toml'
- 'tox.ini'
- '.github/workflows/test.yaml'
doc:
- 'doc/getting_started/**'
- 'doc/how_to/**'
- 'scripts/**'
- name: Set matrix option
run: |
if [[ '${{ github.event_name }}' == 'workflow_dispatch' ]]; then
OPTION=${{ github.event.inputs.target }}
elif [[ '${{ github.event_name }}' == 'schedule' ]]; then
OPTION="full"
elif [[ '${{ github.event_name }}' == 'push' && '${{ github.ref_type }}' == 'tag' ]]; then
OPTION="full"
else
OPTION="default"
fi
echo "MATRIX_OPTION=$OPTION" >> $GITHUB_ENV
- name: Set test matrix with 'default' option
if: env.MATRIX_OPTION == 'default'
run: |
MATRIX=$(jq -nsc '{
"os": ["ubuntu-latest", "macos-latest", "windows-latest"],
"python-version": ["3.9", "3.11"],
"include": [
{"os": "ubuntu-latest", "python-version": "3.10"}
]
}')
echo "MATRIX=$MATRIX" >> $GITHUB_ENV
- name: Set test matrix with 'full' option
if: env.MATRIX_OPTION == 'full'
run: |
MATRIX=$(jq -nsc '{
"os": ["ubuntu-latest", "macos-latest", "windows-latest"],
"python-version": ["3.9", "3.10", "3.11"]
}')
echo "MATRIX=$MATRIX" >> $GITHUB_ENV
- name: Set test matrix with 'downstream' option
if: env.MATRIX_OPTION == 'downstream'
run: |
MATRIX=$(jq -nsc '{
"os": ["ubuntu-latest"],
"python-version": ["3.11"]
}')
echo "MATRIX=$MATRIX" >> $GITHUB_ENV

unit_test_suite:
name: Unit tests on ${{ matrix.os }} with Python ${{ matrix.python-version }}
needs: [pre_commit]
needs: [pre_commit, setup]
runs-on: ${{ matrix.os }}
if: needs.setup.outputs.code_change == 'true'
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
# Run on the full set on schedule, workflow_dispatch and push&tags events, otherwise on a subset.
python-version: ${{ ( github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || ( github.event_name == 'push' && github.ref_type == 'tag' ) ) && fromJSON('["3.9", "3.10", "3.11"]') || fromJSON('["3.9", "3.11"]') }}
matrix: ${{ fromJson(needs.setup.outputs.matrix) }}
timeout-minutes: 90
defaults:
run:
Expand All @@ -56,7 +135,7 @@ jobs:
conda-update: true
nodejs: true
envs: -o examples -o recommended -o tests -o build
cache: true
cache: ${{ github.event.inputs.cache || github.event.inputs.cache == '' }}
opengl: true
id: install
- name: doit develop_install
Expand Down Expand Up @@ -98,8 +177,9 @@ jobs:
fail_ci_if_error: false # optional (default = false)
ui_test_suite:
name: UI tests on ${{ matrix.os }} with Python 3.9
needs: [pre_commit]
needs: [pre_commit, setup]
runs-on: ${{ matrix.os }}
if: needs.setup.outputs.code_change == 'true' || needs.setup.outputs.doc_change == 'true'
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -144,7 +224,7 @@ jobs:
python-version: 3.9
channels: pyviz/label/dev,bokeh,conda-forge,nodefaults
envs: "-o recommended -o tests -o build"
cache: true
cache: ${{ github.event.inputs.cache || github.event.inputs.cache == '' }}
nodejs: true
playwright: true
id: install
Expand Down Expand Up @@ -199,8 +279,9 @@ jobs:
fail_ci_if_error: false # optional (default = false)
core_test_suite:
name: Core tests on Python ${{ matrix.python-version }}, ${{ matrix.os }}
needs: [pre_commit]
needs: [pre_commit, setup]
runs-on: ${{ matrix.os }}
if: needs.setup.outputs.code_change == 'true'
strategy:
fail-fast: false
matrix:
Expand All @@ -223,7 +304,7 @@ jobs:
# # channel-priority: strict
# channels: pyviz/label/dev,conda-forge,nodefaults
# envs: "-o tests_core -o tests_ci"
# cache: true
# cache: ${{ github.event.inputs.cache || github.event.inputs.cache == '' }}
# conda-update: true
# id: install
- uses: actions/checkout@v3
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ repos:
exclude: \.min\.js$
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.6
rev: v0.1.9
hooks:
- id: ruff
files: panel/
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
- repo: https://github.com/hoxbro/clean_notebook
rev: v0.1.13
rev: v0.1.14
hooks:
- id: clean-notebook
args: [-i, tags]
Expand All @@ -39,7 +39,7 @@ repos:
additional_dependencies:
- tomli
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.3
rev: v4.0.0-alpha.8
hooks:
- id: prettier
types_or: [css]
Expand Down
53 changes: 53 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,58 @@
# Releases

## Version 1.3.7

Date: 2024-01-19

This patch release focuses on a number of fixes and minor enhancements for the chat components and various other smaller improvements and fixes including docs improvements. In particular we want to highlight the new Ploomber deployment guide contributed by @neelash23. Next we want to welcome @jz314, @fayssalelmofatiche and @neelasha23 as new contributors and welcome back @SultanOrazbayev as a returning contributor. Lastly we want to thank the core contributor team, including @MarcSkovMadsen, @ahuang11, @maximlt, @Hoxbro and @philippjfr for their continued efforts maintaining Panel.

### Enhancements

- Add `filter_by` to `ChatMessage.serialize` ([#6090](https://github.com/holoviz/panel/pull/6090))
- Support using an SVG for `ToggleIcon` ([#6127](https://github.com/holoviz/panel/pull/6127))
- Add resizable param to `TextAreaInput` ([#6126](https://github.com/holoviz/panel/pull/6126))
- Improve date and datetime picker functionality ([#6152](https://github.com/holoviz/panel/pull/6152))
- Add activity indicator to `ChatMessage` ([#6153](https://github.com/holoviz/panel/pull/6153))
- Lazily import bleach HTML sanitizer ([#6179](https://github.com/holoviz/panel/pull/6179))

### Bug fixes

- Fix alignment issues in chat components ([#6104](https://github.com/holoviz/panel/pull/6104), [#6135](https://github.com/holoviz/panel/pull/6135))
- Fix generator placeholder and optimize updates in Chat components ([#6105](https://github.com/holoviz/panel/pull/6105))
- Fix issue with callback future handling on Chat components ([#6120](https://github.com/holoviz/panel/pull/6120))
- Fix bug in Chat interfaces related to `pn.state.browser_info` ([#6122](https://github.com/holoviz/panel/pull/6122))
- Allow instantiating empty `Matplotlib` pane ([#6128](https://github.com/holoviz/panel/pull/6128))
- Ensure icon displays inline with text on `FileDownload` ([#6133](https://github.com/holoviz/panel/pull/6133))
- Fix styling of links in `Tabulator` fast theme ([#6146](https://github.com/holoviz/panel/pull/6146))
- Fix passing of `card_params` on `ChatFeed` ([#6154](https://github.com/holoviz/panel/pull/6154))
- Handle `Tabulator.title_formatter` if is type `dict` ([#6166](https://github.com/holoviz/panel/pull/6166))
- Fix `per_session` caching ([#6169](https://github.com/holoviz/panel/pull/6169))
- Correctly reshape nd-arrays in `Plotly` pane ([#6174](https://github.com/holoviz/panel/pull/6174))
- Handle NaT values on `Perspective` pane ([#6176](https://github.com/holoviz/panel/pull/6176))
- Do not rerender output if `ReplacementPane` object identity is unchanged ([#6183](https://github.com/holoviz/panel/pull/6183))
- Tabulator: fix valuesLookup set up for older list-like editors ([#6192](https://github.com/holoviz/panel/pull/6192))
- Fix pyodide loading message styling issues ([#6194](https://github.com/holoviz/panel/pull/6194))
- More complete patch for the `TextEditor` to support being rendered in the Shadow DOM ([#6222](https://github.com/holoviz/panel/pull/6222))
- Add guard to `Tabulator` ensuring that it does not error when it is not rendered ([#6223](https://github.com/holoviz/panel/pull/6223))
- Fix race conditions when instantiating Comm in Jupyter causing notifications to break ([#6229](https://github.com/holoviz/panel/pull/6229))

### Compatibility & Security

- Upgrade Plotly.js to 2.25.3 to address CVE-2023-46308 ([#6230](https://github.com/holoviz/panel/pull/6230))

### Documentation

- Add `Design` and `Theme` explanation documentation ([#4741](https://github.com/holoviz/panel/pull/4741))
- Fix pyodide execution in documentation
- Fix wrong and broken link ([#5988](https://github.com/holoviz/panel/pull/5988), [#6132](https://github.com/holoviz/panel/pull/6132))
- Use GoatCounter for website analytics ([#6117](https://github.com/holoviz/panel/pull/6117))
- Add Dask How to guide ([#4234](https://github.com/holoviz/panel/pull/4234))
- Fix `Material` template notebook .show() call ([#6137](https://github.com/holoviz/panel/pull/6137))
- Add missing item in docstring ([#6167](https://github.com/holoviz/panel/pull/6167))
- Ploomber Cloud deployment documentation ([#6182](https://github.com/holoviz/panel/pull/6182))
- Correct duplicate wording ([#6188](https://github.com/holoviz/panel/pull/6188))
- Update JupyterLite Altair example to latest API ([#6226](https://github.com/holoviz/panel/pull/6226))

## Version 1.3.6

Date: 2023-12-20
Expand Down
Binary file added doc/_static/images/asyncify.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/dask-dashboard-empty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/dask_fibonacci_queue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/ploomber_deployment.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions doc/_static/logos/dask-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/logos/ploomber.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 53 additions & 0 deletions doc/about/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,59 @@

See [the HoloViz blog](https://blog.holoviz.org/#category=panel) for a visual summary of the major features added in each release.

## Version 1.3.7

Date: 2024-01-19

This patch release focuses on a number of fixes and minor enhancements for the chat components and various other smaller improvements and fixes including docs improvements. In particular we want to highlight the new Ploomber deployment guide contributed by @neelash23. Next we want to welcome @jz314, @fayssalelmofatiche and @neelasha23 as new contributors and welcome back @SultanOrazbayev as a returning contributor. Lastly we want to thank the core contributor team, including @MarcSkovMadsen, @ahuang11, @maximlt, @Hoxbro and @philippjfr for their continued efforts maintaining Panel.

### Enhancements

- Add `filter_by` to `ChatMessage.serialize` ([#6090](https://github.com/holoviz/panel/pull/6090))
- Support using an SVG for `ToggleIcon` ([#6127](https://github.com/holoviz/panel/pull/6127))
- Add resizable param to `TextAreaInput` ([#6126](https://github.com/holoviz/panel/pull/6126))
- Improve date and datetime picker functionality ([#6152](https://github.com/holoviz/panel/pull/6152))
- Add activity indicator to `ChatMessage` ([#6153](https://github.com/holoviz/panel/pull/6153))
- Lazily import bleach HTML sanitizer ([#6179](https://github.com/holoviz/panel/pull/6179))

### Bug fixes

- Fix alignment issues in chat components ([#6104](https://github.com/holoviz/panel/pull/6104), [#6135](https://github.com/holoviz/panel/pull/6135))
- Fix generator placeholder and optimize updates in Chat components ([#6105](https://github.com/holoviz/panel/pull/6105))
- Fix issue with callback future handling on Chat components ([#6120](https://github.com/holoviz/panel/pull/6120))
- Fix bug in Chat interfaces related to `pn.state.browser_info` ([#6122](https://github.com/holoviz/panel/pull/6122))
- Allow instantiating empty `Matplotlib` pane ([#6128](https://github.com/holoviz/panel/pull/6128))
- Ensure icon displays inline with text on `FileDownload` ([#6133](https://github.com/holoviz/panel/pull/6133))
- Fix styling of links in `Tabulator` fast theme ([#6146](https://github.com/holoviz/panel/pull/6146))
- Fix passing of `card_params` on `ChatFeed` ([#6154](https://github.com/holoviz/panel/pull/6154))
- Handle `Tabulator.title_formatter` if is type `dict` ([#6166](https://github.com/holoviz/panel/pull/6166))
- Fix `per_session` caching ([#6169](https://github.com/holoviz/panel/pull/6169))
- Correctly reshape nd-arrays in `Plotly` pane ([#6174](https://github.com/holoviz/panel/pull/6174))
- Handle NaT values on `Perspective` pane ([#6176](https://github.com/holoviz/panel/pull/6176))
- Do not rerender output if `ReplacementPane` object identity is unchanged ([#6183](https://github.com/holoviz/panel/pull/6183))
- Tabulator: fix valuesLookup set up for older list-like editors ([#6192](https://github.com/holoviz/panel/pull/6192))
- Fix pyodide loading message styling issues ([#6194](https://github.com/holoviz/panel/pull/6194))
- More complete patch for the `TextEditor` to support being rendered in the Shadow DOM ([#6222](https://github.com/holoviz/panel/pull/6222))
- Add guard to `Tabulator` ensuring that it does not error when it is not rendered ([#6223](https://github.com/holoviz/panel/pull/6223))
- Fix race conditions when instantiating Comm in Jupyter causing notifications to break ([#6229](https://github.com/holoviz/panel/pull/6229))

### Compatibility & Security

- Upgrade Plotly.js to 2.25.3 to address CVE-2023-46308 ([#6230](https://github.com/holoviz/panel/pull/6230))

### Documentation

- Add `Design` and `Theme` explanation documentation ([#4741](https://github.com/holoviz/panel/pull/4741))
- Fix pyodide execution in documentation
- Fix wrong and broken link ([#5988](https://github.com/holoviz/panel/pull/5988), [#6132](https://github.com/holoviz/panel/pull/6132))
- Use GoatCounter for website analytics ([#6117](https://github.com/holoviz/panel/pull/6117))
- Add Dask How to guide ([#4234](https://github.com/holoviz/panel/pull/4234))
- Fix `Material` template notebook .show() call ([#6137](https://github.com/holoviz/panel/pull/6137))
- Add missing item in docstring ([#6167](https://github.com/holoviz/panel/pull/6167))
- Ploomber Cloud deployment documentation ([#6182](https://github.com/holoviz/panel/pull/6182))
- Correct duplicate wording ([#6188](https://github.com/holoviz/panel/pull/6188))
- Update JupyterLite Altair example to latest API ([#6226](https://github.com/holoviz/panel/pull/6226))

## Version 1.3.6

Date: 2023-12-20
Expand Down
7 changes: 6 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@
'sphinx.ext.napoleon',
'nbsite.gallery',
'sphinx_copybutton',
'nbsite.pyodide'
'nbsite.pyodide',
'nbsite.analytics',
]
napoleon_numpy_docstring = True

Expand All @@ -92,6 +93,10 @@
jlite_url = 'https://pyviz-dev.github.io/panelite-dev' if is_dev else 'https://panelite.holoviz.org'
pyodide_url = 'https://pyviz-dev.github.io/panel/pyodide' if is_dev else 'https://panel.holoviz.org/pyodide'

nbsite_analytics = {
'goatcounter_holoviz': True,
}

nbsite_gallery_conf = {
'github_org': 'holoviz',
'github_project': 'panel',
Expand Down
Loading