diff --git a/VERSION b/VERSION index 9eb2aa3f1..be386c9ed 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.32.0 +0.33.0 diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 382c59934..c3c2544d6 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -2,6 +2,49 @@ Changelog ========= +0.33.0 +------ + +The most significant fix in this release is for a regression which manifested in +:issue:`480`, :issue:`489`, and :issue:`451` which resulted from an issue in the way +JSON patches were being applied client-side. This was ultimately resolved by +:pull:`490`. While it's difficult to test this without a more thorough Javascript +suite, we added a test that should hopefully catch this in the future by proxy. + +The most important breaking change, is yet another which modifies the Custom Javascript +Component interface. We now add a ``create()`` function to the ``bind()`` interface that +allows IDOM's client to recursively create components from that (and only that) import +source. Prior to this, the interface was given unrendered models for child elements. The +imported module was then responsible for rendering them. This placed a large burden on +the author to understand how to handle these unrendered child models. In addition, in +the React template used by ``module_from_template`` we needed to import a version of +``idom-client-react`` from the CDN - this had already caused some issues where the +template required a version of ``idom-client-react`` in the which had not been released +yet. + +**Closed Issues** + +- Client-side error in mount-01d35dc3.js - :issue:`489` +- Style Cannot Be Updated - :issue:`480` +- Displaying error messages in the client via `__error__` tag can leak secrets - :issue:`454` +- Examples broken in docs - :issue:`451` +- Rework docs landing page - :issue:`446` +- eventHandlers should be a mapping of generic callables - :issue:`423` +- Allow customization of built-in IDOM client - :issue:`253` + +**Pull Requests** + +- move VdomDict and VdomJson to proto - :pull:`492` +- only send error info in debug mode - :pull:`491` +- correcly apply client-side JSON patch - :pull:`490` +- add script to set version of all packages in IDOM - :pull:`483` +- Pass import source to bind - :pull:`482` +- Do not mutate client-side model - :pull:`481` +- assume import source children come from same source - :pull:`479` +- make an EventHandlerType protocol - :pull:`476` +- Update issue form - :pull:`471` + + 0.32.0 ------ diff --git a/docs/source/custom_js/package-lock.json b/docs/source/custom_js/package-lock.json index b564889a3..15ab1d188 100644 --- a/docs/source/custom_js/package-lock.json +++ b/docs/source/custom_js/package-lock.json @@ -19,7 +19,7 @@ } }, "../../../src/client/packages/idom-client-react": { - "version": "0.32.0", + "version": "0.33.0", "license": "MIT", "dependencies": { "fast-json-patch": "^3.0.0-1", diff --git a/src/client/package-lock.json b/src/client/package-lock.json index 762ccf0bd..ae38f830f 100644 --- a/src/client/package-lock.json +++ b/src/client/package-lock.json @@ -1,11 +1,11 @@ { "name": "client", - "version": "0.32.0", + "version": "0.33.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "0.32.0", + "version": "0.33.0", "license": "MIT", "workspaces": [ "./packages/*" @@ -2645,7 +2645,7 @@ "dev": true }, "packages/idom-app-react": { - "version": "0.32.0", + "version": "0.33.0", "license": "MIT", "dependencies": { "idom-client-react": "file:packages/idom-client-react", @@ -2662,7 +2662,7 @@ }, "packages/idom-app-react/packages/idom-client-react": {}, "packages/idom-client-react": { - "version": "0.32.0", + "version": "0.33.0", "license": "MIT", "dependencies": { "fast-json-patch": "^3.0.0-1", diff --git a/src/client/package.json b/src/client/package.json index 1499bf299..15fa4935d 100644 --- a/src/client/package.json +++ b/src/client/package.json @@ -14,10 +14,10 @@ "scripts": { "build": "snowpack build", "format": "npm --workspaces run format", - "test": "npm --workspaces test", - "publish": "npm --workspaces publish" + "publish": "npm --workspaces publish", + "test": "npm --workspaces test" }, - "version": "0.32.0", + "version": "0.33.0", "workspaces": [ "./packages/*" ] diff --git a/src/client/packages/idom-app-react/package.json b/src/client/packages/idom-app-react/package.json index 760ae12a9..5616f6e49 100644 --- a/src/client/packages/idom-app-react/package.json +++ b/src/client/packages/idom-app-react/package.json @@ -20,5 +20,5 @@ "format": "prettier --write ./src", "test": "echo 'no tests'" }, - "version": "0.32.0" + "version": "0.33.0" } diff --git a/src/client/packages/idom-client-react/package.json b/src/client/packages/idom-client-react/package.json index 2babe5691..d77ac0e03 100644 --- a/src/client/packages/idom-client-react/package.json +++ b/src/client/packages/idom-client-react/package.json @@ -29,5 +29,5 @@ "test": "uvu tests" }, "type": "module", - "version": "0.32.0" + "version": "0.33.0" } diff --git a/src/idom/__init__.py b/src/idom/__init__.py index 9a0d30add..32058a16b 100644 --- a/src/idom/__init__.py +++ b/src/idom/__init__.py @@ -10,7 +10,7 @@ __author__ = "idom-team" -__version__ = "0.32.0" # DO NOT MODIFY +__version__ = "0.33.0" # DO NOT MODIFY __all__ = [ "component",