From 5e0077de30d577b764ce3ee557c1f056a5a17b55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20James?= Date: Wed, 6 Nov 2024 00:12:35 +0100 Subject: [PATCH 1/6] =?UTF-8?q?=F0=9F=93=9D=20Include=20JS=20source=20maps?= =?UTF-8?q?=20in=20release?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CodeMirror6/NodeLib/rollup.config.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/CodeMirror6/NodeLib/rollup.config.mjs b/CodeMirror6/NodeLib/rollup.config.mjs index ae8bfc84..da9cd1bf 100644 --- a/CodeMirror6/NodeLib/rollup.config.mjs +++ b/CodeMirror6/NodeLib/rollup.config.mjs @@ -9,6 +9,7 @@ export default { dir: '../wwwroot', format: "esm", name: 'CodeMirror', + sourcemap: true, }, plugins: [commonjs(), json(), nodeResolve(), typescript()], }; From 70712e48405940dfa22f984750ba5bb45bdccdb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20James?= Date: Wed, 6 Nov 2024 00:13:00 +0100 Subject: [PATCH 2/6] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20Add=20attribute=20`dat?= =?UTF-8?q?a-permanent`=20to=20container=20div?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CodeMirror6/CodeMirror6WrapperInternal.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodeMirror6/CodeMirror6WrapperInternal.razor b/CodeMirror6/CodeMirror6WrapperInternal.razor index 51713b48..711d738a 100644 --- a/CodeMirror6/CodeMirror6WrapperInternal.razor +++ b/CodeMirror6/CodeMirror6WrapperInternal.razor @@ -20,7 +20,7 @@ } -
+
From 4dea9ab6972f3bc127b634f663d79898a8c8d354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20James?= Date: Wed, 6 Nov 2024 00:13:18 +0100 Subject: [PATCH 3/6] =?UTF-8?q?=F0=9F=99=88=20git=20ignore=20map=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 7c9f87cd..c8a9536d 100644 --- a/.gitignore +++ b/.gitignore @@ -479,5 +479,6 @@ $RECYCLE.BIN/ # Auto-generated files **/wwwroot/*.js +**/wwwroot/*.map build/**/* From 5e72ef569596b0d60f6b81907619ae9e26c7407d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20James?= Date: Wed, 6 Nov 2024 09:57:00 +0100 Subject: [PATCH 4/6] =?UTF-8?q?=F0=9F=93=9D=20Add=20FAQ=20about=20blazor?= =?UTF-8?q?=20server=20interactive?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e55c5fc2..e394276e 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,7 @@ We welcome contributions! ## FAQs / Troubleshooting - If you have npm / rollup errors when building (for example after pulling recent changes), `dotnet clean` will delete the `node_modules` directory. Then run `dotnet build` again. +- If you are using Blazor Server Interactive rendering mode, you must include `` in the `head` section of [`App.razor`](Examples.BlazorServerInteractive/Components/App.razor). Not doing so will break the editor when navigating to it after the initial page load. ## Changelog From b665d53f47b98213ae4631741498d59d366a708e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20James?= Date: Wed, 6 Nov 2024 10:00:05 +0100 Subject: [PATCH 5/6] =?UTF-8?q?=F0=9F=93=9D=20Update=20changelog=20for=200?= =?UTF-8?q?.8.12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 15 +++++++++++++++ NEW_CHANGELOG.md | 17 +++++++---------- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9419d6dc..2940147e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## 0.8.12 - 2024-11-06 + +### ⚡️ Improve performance + +- Add attribute `data-permanent` to container div + +### 📝 Add or update documentation + +- Add FAQ about blazor server interactive +- Include JS source maps in release + +### 🙈 Add or update a .gitignore file + +- git ignore map files + ## 0.8.11 - 2024-10-22 ### ⏪ Revert changes diff --git a/NEW_CHANGELOG.md b/NEW_CHANGELOG.md index 89b862bd..a62081c3 100644 --- a/NEW_CHANGELOG.md +++ b/NEW_CHANGELOG.md @@ -1,15 +1,12 @@ -### ⏪ Revert changes +### ⚡️ Improve performance -- Remove code comments +- Add attribute `data-permanent` to container div -### ✨ Introduce new features - -- Add InitializeAsync method to allow forced re-init if needed (Issue rendering after the first time #187) - -### 🐛 Fix a bug +### 📝 Add or update documentation -- Fix versioning +- Add FAQ about blazor server interactive +- Include JS source maps in release -### 📝 Add or update documentation +### 🙈 Add or update a .gitignore file -- Update changelog for 0.8.11 +- git ignore map files From 06a75f6b0fd4735ea2acc718ce1e7437f9c4e345 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20James?= Date: Wed, 6 Nov 2024 10:00:06 +0100 Subject: [PATCH 6/6] =?UTF-8?q?=F0=9F=94=96=20Bump=20version=20to=200.8.12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CodeMirror6/CodeMirror6.csproj | 2 +- Examples.BlazorServer/Examples.BlazorServer.csproj | 2 +- .../Examples.BlazorServerInteractive.csproj | 2 +- Examples.BlazorWasm/Examples.BlazorWasm.csproj | 2 +- Examples.Common/Examples.Common.csproj | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CodeMirror6/CodeMirror6.csproj b/CodeMirror6/CodeMirror6.csproj index c3ba9a57..d3e2afe2 100644 --- a/CodeMirror6/CodeMirror6.csproj +++ b/CodeMirror6/CodeMirror6.csproj @@ -9,7 +9,7 @@ GaelJ.BlazorCodeMirror6 true GaelJ.BlazorCodeMirror6 - 0.8.11 + 0.8.12 true snupkg true diff --git a/Examples.BlazorServer/Examples.BlazorServer.csproj b/Examples.BlazorServer/Examples.BlazorServer.csproj index a57a0f2f..a20f674a 100644 --- a/Examples.BlazorServer/Examples.BlazorServer.csproj +++ b/Examples.BlazorServer/Examples.BlazorServer.csproj @@ -4,7 +4,7 @@ enable false enable - 0.8.11 + 0.8.12 diff --git a/Examples.BlazorServerInteractive/Examples.BlazorServerInteractive.csproj b/Examples.BlazorServerInteractive/Examples.BlazorServerInteractive.csproj index 6d7437bd..99907c8d 100644 --- a/Examples.BlazorServerInteractive/Examples.BlazorServerInteractive.csproj +++ b/Examples.BlazorServerInteractive/Examples.BlazorServerInteractive.csproj @@ -4,7 +4,7 @@ enable enable false - 0.8.11 + 0.8.12 diff --git a/Examples.BlazorWasm/Examples.BlazorWasm.csproj b/Examples.BlazorWasm/Examples.BlazorWasm.csproj index 1f7be2b1..eac66be3 100644 --- a/Examples.BlazorWasm/Examples.BlazorWasm.csproj +++ b/Examples.BlazorWasm/Examples.BlazorWasm.csproj @@ -4,7 +4,7 @@ enable enable false - 0.8.11 + 0.8.12 diff --git a/Examples.Common/Examples.Common.csproj b/Examples.Common/Examples.Common.csproj index 9bc32fff..256514e9 100644 --- a/Examples.Common/Examples.Common.csproj +++ b/Examples.Common/Examples.Common.csproj @@ -5,7 +5,7 @@ enable enable false - 0.8.11 + 0.8.12