diff --git a/CHANGELOG.md b/CHANGELOG.md index b919c79..6ae9c6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to `dash-ag-grid` will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/). Links "DE#nnn" prior to version 2.0 point to the Dash Enterprise closed-source Dash AG Grid repo +## [31.0.1] - 2024-02-07 + +- [#266](https://github.com/plotly/dash-ag-grid/pull/266) Updated README + ## [31.0.0] - 2024-02-01 ### Added diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 088ff01..fb7a7f2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -27,6 +27,12 @@ In development mode, Python uses the files in this directory when you import the ### Create a production build +Update the package version is correct in `package.json` and `CHANGELOG.md` and the changelog lists all the important updates. Then reinstall (so `package-lock.json` gets the new version) and rebuild: +``` +npm i +npm run build +``` + Create source and wheel distributions in the generated `dist/` folder, after emptying out any previous builds: ``` rm -rf dist build @@ -45,4 +51,4 @@ npm pack Then publish: ``` npm publish -``` \ No newline at end of file +``` diff --git a/package-lock.json b/package-lock.json index af0d350..374b550 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dash-ag-grid", - "version": "31.0.0", + "version": "31.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "dash-ag-grid", - "version": "31.0.0", + "version": "31.0.1", "license": "MIT", "dependencies": { "@emotion/react": "^11.11.3", diff --git a/package.json b/package.json index 5d7a5e9..e2b7151 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dash-ag-grid", - "version": "31.0.0", + "version": "31.0.1", "description": "Dash wrapper around AG Grid, the best interactive data grid for the web.", "repository": { "type": "git", diff --git a/test_version.py b/test_version.py index 4c80ff9..cedd3dc 100644 --- a/test_version.py +++ b/test_version.py @@ -16,10 +16,10 @@ errors.append(f"{pk} - {package['dependencies'][pk]} doesnt equal other version of {prev_version}," f" if AG Grid becomes out of sync with itself, disable this line: `test_version.py:16-17`") prev_version = package['dependencies'][pk] - assert re.match("^\d+[.]\d+[.]\d+$", package['dependencies'][pk]) + assert re.match(r"^\d+[.]\d+[.]\d+$", package['dependencies'][pk]) except: errors.append(f"{pk} - {package['dependencies'][pk]}") if errors: message = "not a valid version of AG-Grid; grid version must be a valid locked version of the grid," \ " to limit possible unexpected updates and breaking changes\n" - raise Exception(message + '\n'.join(errors)) \ No newline at end of file + raise Exception(message + '\n'.join(errors))