Skip to content

Commit ad64946

Browse files
authored
Merge branch 'v35' into npm-trusted-publishing
2 parents e568f3a + 8b11771 commit ad64946

29 files changed

Lines changed: 7298 additions & 15909 deletions

‎.eslintignore‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
*.css
2-
registerServiceWorker.js
2+
registerServiceWorker.js
3+
node_modules/

‎.github/workflows/change-log.yml‎

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# yaml
2+
name: Check changelog entry
3+
4+
on:
5+
pull_request:
6+
types: [opened, synchronize, reopened]
7+
8+
permissions:
9+
contents: read
10+
jobs:
11+
check-changelog:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Determine changed files and require changelog update
20+
env:
21+
EVENT_NAME: ${{ github.event_name }}
22+
PR_BASE_REF: ${{ github.event.pull_request.base.ref || '' }}
23+
BEFORE: ${{ github.event.before }}
24+
SHA: ${{ github.sha }}
25+
run: |
26+
set -euo pipefail
27+
28+
echo "Event: $EVENT_NAME"
29+
30+
if [ "$EVENT_NAME" = "pull_request" ]; then
31+
if [ -z "$PR_BASE_REF" ]; then
32+
echo "Pull request base ref not provided."
33+
exit 1
34+
fi
35+
echo "Fetching base ref origin/$PR_BASE_REF"
36+
if ! git fetch origin "$PR_BASE_REF":refs/remotes/origin/"$PR_BASE_REF"; then
37+
echo "::error::Failed to fetch pull request base ref origin/$PR_BASE_REF."
38+
exit 1
39+
fi
40+
changed=$(git diff --name-only "origin/$PR_BASE_REF...HEAD")
41+
else
42+
if [ "$BEFORE" = "0000000000000000000000000000000000000000" ]; then
43+
# new branch or forced push: list files in the commit
44+
changed=$(git show --name-only --pretty="" "$SHA")
45+
else
46+
changed=$(git diff --name-only "$BEFORE...$SHA")
47+
fi
48+
fi
49+
50+
echo "Changed files:"
51+
echo "$changed" | sed 's/^/ - /'
52+
53+
# match: CHANGELOG.md, NEWS.md, any file under changelog(s)/ or docs/changelog/
54+
echo "$changed" | grep -E '(^CHANGELOG\.md$|^NEWS\.md$|(^|/)changelog(/|$)|(^|/)changelogs(/|$)|(^|/)docs/changelog(/|$))' >/dev/null 2>&1 || {
55+
echo "::error::No changelog changes detected."
56+
echo "Please add or update a changelog entry (e.g. update `CHANGELOG.md` or add a file under `changelog/`)."
57+
exit 1
58+
}
59+
60+
echo "Changelog change detected. OK."

‎CHANGELOG.md‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,43 @@ Links "DE#nnn" prior to version 2.0 point to the Dash Enterprise closed-source D
66

77
## [unreleased]
88

9+
## [35.3.0] - 2026-07-13
10+
### Added
11+
- [#453](https://github.com/plotly/dash-ag-grid/pull/453) Test for changelog entry
12+
- [#448](https://github.com/plotly/dash-ag-grid/pull/448) Added support for AG-Charts (split out in v33 of AG Grid). Integrated Charts require enableEnterpriseModules=True, dashChartMode="community" or "enterprise", and dashGridOptions={"enableCharts": True}.
13+
- [#455](https://github.com/plotly/dash-ag-grid/pull/455) Added support for dynamic `detailCellRendererParams` in Master/Detail, including dynamic detail-grid column definitions.
14+
- [#468](https://github.com/plotly/dash-ag-grid/issues/468) Support passing a function to the grid option `processUnpinnedColumns`.
15+
- [#472](https://github.com/plotly/dash-ag-grid/pull/472) Added support for callback function for the groupAggFiltering options
16+
17+
### Changed
18+
- [#452](https://github.com/plotly/dash-ag-grid/pull/452)
19+
- Added test for `OBJ_MAYBE_FUNCTION_OR_MAP_MAYBE_FUNCTIONS` to test that the value is an object before parsing,
20+
- this allows for reused keys to not comply with being an object
21+
22+
### Fixed
23+
- [#454](https://github.com/plotly/dash-ag-grid/pull/454) fixes issue where a rowCount of 0 would cause the grid not to display new data
24+
- [#459](https://github.com/plotly/dash-ag-grid/pull/459) removes `getRowsRequest` / `getRowsResponse` warnings by excluding these Dash callback props from AG Grid options.
25+
- [#460](https://github.com/plotly/dash-ag-grid/pull/460) fix grid rendering when `getRowId` is explicitly set to `None`
26+
- [#466](https://github.com/plotly/dash-ag-grid/issues/466) guard against a null `gridApi` in `onSortChanged`, which threw an uncaught `TypeError` when a grid initialized with a sort applied via `initialState.sort.sortModel`
27+
28+
## [35.2.0] - 2026-04-03
29+
### Added
30+
- [#436](https://github.com/plotly/dash-ag-grid/pull/436) Enabled Filter Handlers to simplify custom filter components by splitting the filter logic out from the UI component.
31+
- [#440](https://github.com/plotly/dash-ag-grid/pull/440)
32+
- added `columnTypes` to prop categories for parsing functions
33+
34+
### Changed
35+
- [#440](https://github.com/plotly/dash-ag-grid/pull/440)
36+
- Markdown update for npm
37+
- `linkTarget` now works even if `dangerously_allow_code` is `true` and no `target` is passed in the link.
38+
- `_self` will auto apply as a `linkTarget`.
39+
- `_blank` will auto apply `rel='noreferrer noopener 'nofollow'` for security reasons, but will open in a new tab.
40+
- version bump to v`35.2.0` for the grid
41+
42+
## [35.0.0rc0] - 2026-01-21
43+
### Changed
44+
- bumping to v`35.0.0` for the grid
45+
946
## [33.3.3] - 2025-12-19
1047
### Fixed
1148
- [#408](https://github.com/plotly/dash-ag-grid/pull/408) fixed issue where the `columnState` would conflict with `columnDefs` updates

‎docs/examples/enterprise/master_detail.py‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@
2626
{"headerName": "Pop. (Metro area)", "field": "population_metro"},
2727
]
2828

29+
detailColumnDefsSimple = [
30+
{"headerName": "City", "field": "city"},
31+
{"headerName": "Pop. (City proper)", "field": "population_city"},
32+
]
33+
2934
rowData = [
3035
{
3136
"country": "China",
@@ -164,6 +169,31 @@
164169
),
165170
body=True,
166171
),
172+
html.Hr(),
173+
dbc.Card(
174+
dcc.Markdown(
175+
"Use a JavaScript function in `detailCellRendererParams` to dynamically define detail columns per expanded row."
176+
),
177+
body=True,
178+
),
179+
dbc.Card(
180+
dag.AgGrid(
181+
id="master-detail-table-dynamic-columns",
182+
columnDefs=masterColumnDefs,
183+
rowData=rowData,
184+
columnSize="sizeToFit",
185+
enableEnterpriseModules=True,
186+
masterDetail=True,
187+
detailCellRendererParams={
188+
"function": """params.data.region === "Asia"
189+
? {detailGridOptions: {columnDefs: %s}, detailColName: "cities", suppressCallback: true}
190+
: {detailGridOptions: {columnDefs: %s}, detailColName: "cities", suppressCallback: true}"""
191+
% (detailColumnDefsSimple, detailColumnDefs)
192+
},
193+
dashGridOptions={"detailRowAutoHeight": True},
194+
),
195+
body=True,
196+
),
167197
]
168198
)
169199

0 commit comments

Comments
 (0)