Skip to content

Commit

Permalink
Merge pull request #396 from AnnMarieW/0.14.7-cleanup
Browse files Browse the repository at this point in the history
0.14.7 prepare for release
  • Loading branch information
AnnMarieW authored Nov 5, 2024
2 parents ebefad3 + 9bfc45c commit 6fa858e
Show file tree
Hide file tree
Showing 5 changed files with 106 additions and 79 deletions.
12 changes: 11 additions & 1 deletion .github/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- [ ] Update Mantine dependency in `package.json`
- [ ] Update Mantine dependency for optional stylesheets in `styles.py`
- [ ] Update other dependencies - see notes section below for details
- [ ] Remove usage/demo apps used for testing
- [ ] `npm install` to install the new dependencies
- [ ] `npm run build` and push updated `package-lock.json`
Expand Down Expand Up @@ -46,9 +47,18 @@ $ npm publish


### After release:

- [ ] check for any added props or significant changes from the Mantine changelog. Open issues for any missing features.
- [ ] Update dmc-docs. When the version changes, be sure to run `poetry update` and push the new `poetry.lock` file. The docs deploy automatically on Render
- [ ] Include new contributors in the docs
- [ ] Make announcement on Plotly forum and dmc Discord


### Updating other dependencies
My notes from a discussion with alexj

Anything that’s not a major should be safe to just bump. The ones to pay attention to:
- rect* - since these all are going to be provided by Dash in actual use anyway, best to pin to what Dash uses.
- ramda - sometimes makes breaking changes in “major” releases so it’s worth looking at their changelog and seeing if we’re using anything they changed.
- types/ramda - just match ramda
- style-loader and css-loader - these are used together within the webpack config. IIRC these particular upgrades don’t require any changes to the config for our normal usage, so most likely it’ll just work. If the bundle builds without errors you’re fine, otherwise need to look at the docs for these packages.
- typescript - even if it's not a major bump, sometimes they tighten up their error checking in minor releases so the bundle fails to build and something about type annotations needs to be updated
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
# Change Log

# Unreleased
# 0.14.7

### Added

- Added `autoScroll` prop to the `Carousel` component #373 by @mmarfat
- Added `autoScroll` prop to the `Carousel` component, enabling smooth scrolling like a stock ticker. #373 by @mmarfat
- Added `withLegend` to `RadarChart`, and `maxBarWidth`, `minBarSize` to `BarChart`. #395 by @AnnMarieW
- New chart types: `CompositeChart` and `BubbleChart` #368 by @michaelw88
- New props for charts: (Included in #368 by @michaelw88)
- added `hoverData`, `hoverSeriesName`, `clickSeriesName` and `highlightHover` props to `AreaChart`, `LineChart`, `BarChart`, and `CompositeChart`
- added `hoverData`, `hoverSeriesName`, `clickSeriesName` to `PieChart`, `DonutChart`, `ScatterChart`
- New props for triggering dash callbacks on input components: `n_submit` `n_blur` #383 by @AnnMarieW


### Changed
- Reduced the Highlight component file size #366 by @AnnMarieW
- The `debounce` prop on input components can now be `True` `False` or `number` of ms delay before updating. When True, the value will update on enter or on blur. #383 by @AnnMarieW

### Fixed
- Prevent loading from empty `src` in `Avatar`. #372 by @mmarfat
Expand Down
12 changes: 6 additions & 6 deletions dash_mantine_components/styles.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
DATES = "https://unpkg.com/@mantine/[email protected].2/styles.css"
CODE_HIGHLIGHT = "https://unpkg.com/@mantine/[email protected].2/styles.css"
CHARTS = "https://unpkg.com/@mantine/[email protected].2/styles.css"
CAROUSEL = "https://unpkg.com/@mantine/[email protected].2/styles.css"
NOTIFICATIONS = "https://unpkg.com/@mantine/[email protected].2/styles.css"
NPROGRESS = "https://unpkg.com/@mantine/[email protected].2/styles.css"
DATES = "https://unpkg.com/@mantine/[email protected].4/styles.css"
CODE_HIGHLIGHT = "https://unpkg.com/@mantine/[email protected].4/styles.css"
CHARTS = "https://unpkg.com/@mantine/[email protected].4/styles.css"
CAROUSEL = "https://unpkg.com/@mantine/[email protected].4/styles.css"
NOTIFICATIONS = "https://unpkg.com/@mantine/[email protected].4/styles.css"
NPROGRESS = "https://unpkg.com/@mantine/[email protected].4/styles.css"
ALL = [DATES, CODE_HIGHLIGHT, CHARTS, CAROUSEL, NOTIFICATIONS, NPROGRESS]
128 changes: 69 additions & 59 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dash_mantine_components",
"version": "0.14.6",
"version": "0.14.7",
"description": "Plotly Dash Components based on Mantine",
"main": "index.ts",
"repository": {
Expand All @@ -17,7 +17,7 @@
"build:backends": "dash-generate-components ./src/ts/components dash_mantine_components -p package-info.json --r-prefix '' --jl-prefix '' --ignore \\.test\\.",
"build": "npm run build:js && npm run build:backends",
"watch": "npm run build:js::dev -- --watch",
"dist": "python setup.py sdist bdist_wheel"
"dist": "python -m build --sdist --wheel --outdir dist/"
},
"devDependencies": {
"@braintree/sanitize-url": "^7.0.0",
Expand All @@ -43,15 +43,15 @@
"author": "Snehil Vijay <[email protected]>",
"license": "MIT",
"dependencies": {
"@mantine/carousel": "7.13.2",
"@mantine/charts": "7.13.2",
"@mantine/code-highlight": "7.13.2",
"@mantine/core": "7.13.2",
"@mantine/dates": "7.13.2",
"@mantine/hooks": "7.13.2",
"@mantine/notifications": "7.13.2",
"@mantine/nprogress": "7.13.2",
"@mantine/spotlight": "7.13.2",
"@mantine/carousel": "7.13.4",
"@mantine/charts": "7.13.4",
"@mantine/code-highlight": "7.13.4",
"@mantine/core": "7.13.4",
"@mantine/dates": "7.13.4",
"@mantine/hooks": "7.13.4",
"@mantine/notifications": "7.13.4",
"@mantine/nprogress": "7.13.4",
"@mantine/spotlight": "7.13.4",
"dayjs": "^1.11.10",
"embla-carousel-autoplay": "^8.3.0",
"embla-carousel-react": "^8.3.0",
Expand Down

0 comments on commit 6fa858e

Please sign in to comment.