ansys / pymechanical-examples

Repository holding PyMechanical remote examples
https://examples.mechanical.docs.pyansys.com/
MIT License
1 stars 1 forks source link

Bump panel from 0.14.4 to 1.0.2 in /requirements #26

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps panel from 0.14.4 to 1.0.2.

Release notes

Sourced from panel's releases.

Version 1.0.2

A micro-release in the 1.0.x series with a number of bug fixes and documentation tweaks. Many thanks to @​jbednar and @​philippjfr for contributing to this release.

Bug fixes

  • Ensure Design stylesheets are not replaced when updating component stylesheets (#4883)
  • Ensure tooltips are rendered correctly as HTML (#4887)
  • Fix loading of index page resources (#4891)
  • Ensure FloatPanel can be rendered in classic notebooks (#4892)
  • Attempt rendering output in notebooks even if not all resources have been initialized (#4893)
  • Do not load large bokeh-mathjax bundle in notebooks by default (#4895)
  • Make Fast template sidebar opening transition smoother (#4898)
  • Ensure new items added to Card layout are rendered (#4899)
  • Fix logo rendering in BasicAuth template (#4900)

Documentation

  • Various documentation tweaks (#4884, #4888, #4889, #4901)
  • Update Vega/Altair reference notebook to use altair 5 APIs (#4894)

Version 1.0.1

A micro-release fixing some small issues discovered in Panel 1.0. Thank you to @​droumis, @​Hoxbro and @​philippjfr for contributing fixes.

Bug fixes

  • Ensure Reactive objects wrapped in reactive are re-rendered correctly (#4868)
  • Tweaks for Material Design component inset label styling (#4877)
  • Ensure SlidesTemplate slides changes trigger updates in the pn.state.location.hash (#4878)

Documentation

Version 1.0.0

The Panel 1.0 release is finally here and it brings a huge number of improvements. The largest improvements in this release come from an upgrade from Bokeh 2.x to Bokeh 3.x. Bokeh overhauled its internal layout engine and stylesheet handling, making applications significantly more performant and customizable going forward.

This release marks a huge step forward in the usability of Panel but is also just a first step in leveraging many of the new capabilities that the updated layout engine and design system affords. In the coming months we will continue to improve and polish the UI and UX and make it easier for you to extend Panel as needed.

For now we want to thank the many people that contributed to this release either by contributing directly or by testing and providing feedback. Many thanks to the core contributors @​MarcSkovMadsen, @​Hoxbro, @​maximlt, @​jbednar, @​droumis and @​philippjfr and the outside contributors @​ahuang11, @​cdeil, @​MridulS, @​AndrewMaged814, @​midnighter, @​wendrul and @​lukfal94.

Major Features

The three main features we want to highlight as part of this release are:

Some of the changes related to the new layout engine and design system will require small updates to your existing applications. To make this transition as smooth as possible we have provided an upgrade/migration guide.

... (truncated)

Changelog

Sourced from panel's changelog.

Version 1.0.2

Date: 2023-05-19

A micro-release in the 1.0.x series with a number of bug fixes and documentation tweaks. Many thanks to @​jbednar and @​philippjfr for contributing to this release.

Bug fixes

  • Ensure Design stylesheets are not replaced when updating component stylesheets (#4883)
  • Ensure tooltips are rendered correctly as HTML (#4887)
  • Fix loading of index page resources (#4891)
  • Ensure FloatPanel can be rendered in classic notebooks (#4892)
  • Attempt rendering output in notebooks even if not all resources have been initialized (#4893)
  • Do not load large bokeh-mathjax bundle in notebooks by default (#4895)
  • Make Fast template sidebar opening transition smoother (#4898)
  • Ensure new items added to Card layout are rendered (#4899)
  • Fix logo rendering in BasicAuth template (#4900)

Documentation

  • Various documentation tweaks (#4884, #4888, #4889, #4901)
  • Update Vega/Altair reference notebook to use altair 5 APIs (#4894)

Version 1.0.1

Date: 2023-05-18

A micro-release fixing some small issues discovered in Panel 1.0. Thank you to @​droumis, @​Hoxbro and @​philippjfr for contributing fixes.

Bug fixes

  • Ensure Reactive objects wrapped in reactive are re-rendered correctly (#4868)
  • Tweaks for Material Design component inset label styling (#4877)
  • Ensure SlidesTemplate slides changes trigger updates in the pn.state.location.hash (#4878)

Documentation

Version 1.0.0

Date: 2023-05-17

The Panel 1.0 release is finally here and it brings a huge number of improvements. The largest improvements in this release come from an upgrade from Bokeh 2.x to Bokeh 3.x. Bokeh overhauled its internal layout engine and stylesheet handling, making applications significantly more performant and customizable going forward.

This release marks a huge step forward in the usability of Panel but is also just a first step in leveraging many of the new capabilities that the updated layout engine and design system affords. In the coming months we will continue to improve and polish the UI and UX and make it easier for you to extend Panel as needed.

For now we want to thank the many people that contributed to this release either by contributing directly or by testing and providing feedback. Many thanks to the core contributors @​MarcSkovMadsen, @​Hoxbro, @​maximlt, @​jbednar, @​droumis and @​philippjfr and the outside contributors @​ahuang11, @​cdeil, @​MridulS, @​AndrewMaged814, @​midnighter and @​wendrul.

Major Features

... (truncated)

Upgrade guide

Sourced from panel's upgrade guide.

Upgrade Guide

Welcome to the Upgrade Guide for Panel! When we make backward-incompatible changes, we will provide a detailed guide on how you can update your application to be compatible with the latest changes.

Version 1.0

The 1.0 release brings a wealth of improvements compared to the 0.x series, including significant changes to the layout engine and an improved approach to handling CSS for individual components. These improvements are thanks to the new Bokeh 3.x releases, which received a bottom-up rewrite of layouts and CSS handling. These updates not only boost the performance but also elevate the customizability of your Panel apps.

As with any major update, it's important to understand the implications of these changes for your existing applications. This guide is designed to walk you through the key updates introduced in Panel 1.0, the rationale behind them, and the critical considerations to consider while adapting your applications to this new version. We'll take you on a comprehensive journey, outlining how the new layout engine transforms how you create and manage your Panel apps and the impact of the enhanced CSS handling on your components.

By the end of this guide, you will have a clear understanding of how to leverage the full potential of Panel 1.0's features and enhancements, ensuring a smooth transition for your applications. So, without further ado, let's dive into the exciting world of Panel 1.0 and explore the new possibilities it has to offer!

The layout engine

Panel 1.0, built upon Bokeh 3.0, introduces a CSS-based layout engine that replaces the previous engine, primarily optimized for plotting. This upgrade results in improved performance, especially when handling a multitude of components on the page at the same time and makes it possible to create more complex applications without sacrificing speed and responsiveness.

Additionally, Panel 1.0 offers better sizing of components that are slow to render, such as images. By removing the need for explicit CSS size overrides, Panel 1.0 streamlines the customization process for your layouts. This added flexibility makes it easier to tailor your apps to fit your design goals and user needs.

However, it's important to note that the complete replacement of the layout implementation might not ensure identical behavior to previous versions. In the upcoming sections, we'll review key points to consider when adapting to this new layout engine.

sizing_mode

The sizing_mode has been the primary way to configure the responsiveness of components in Panel, and that has not changed. However, previously the layout engine was quite forgiving in the way it interpreted combinations of the sizing_mode and explicit width/height settings that really did not make sense. Before we dive into some of these differences, let's briefly go through the different sizing_mode options and what they actually mean:

Container sizing_mode

  • stretch_width: Stretches content/container in width, while the size of contents determines the height.
  • stretch_height: Stretches content/container in height, while the size of contents determines the width.
  • stretch_both: Stretches content/container in both width and height.

Now let us explore what changed in this release. In the past, the behavior of a responsive component inside a non-responsive container was poorly defined. Generally it would force the container to be responsive as well, but often it would only be width responsive. In this release there are a number of well defined behaviors which determine how a container behaves when it wraps one or more responsively sized component:

  • If a child is responsive in width then the layout should also be responsive in width (unless a fixed width has been).
  • If a container is vertical (e.g. a Column) or supports responsive reflowing (e.g. a FlexBox) and a child is responsive in height then the container should also be height-responsive (unless a fixed height is set).
  • If a container is horizontal (e.g. a Row) and all children are responsive in height then the container should also be height-responsive. This behavior is asymmetrical with width because there isn't always vertical space to expand into and it is better for the component to match the height of the other children.
  • If any children declare a fixed width or height then the container will inherit these as min_width and min_height settings to ensure that sufficient space is allocated.

These very explicit rules ensure consistent behavior in most cases, however it is always best to be explicit and declare the sizes.

Let us walk through an example. Below we declare a responsive Image and a fixed-size Markdown pane inside a Row. According to the rules above the Row layout will inherit responsive sizing in width but not height. Additionally it will inherit a min_width from the Markdown pane.

:::{note} To maintain backward compatibility Panel will still try to infer the appropriate sizing mode by inspecting the children of a container. It is, however, always best to be explicit. :::

Ambiguous configurations

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Superseded by #29.