diff --git a/.gitignore b/.gitignore index 7c9f87c..c8a9536 100644 --- a/.gitignore +++ b/.gitignore @@ -479,5 +479,6 @@ $RECYCLE.BIN/ # Auto-generated files **/wwwroot/*.js +**/wwwroot/*.map build/**/* diff --git a/CHANGELOG.md b/CHANGELOG.md index 9419d6d..2940147 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/CodeMirror6/CodeMirror6.csproj b/CodeMirror6/CodeMirror6.csproj index c3ba9a5..d3e2afe 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/CodeMirror6/CodeMirror6WrapperInternal.razor b/CodeMirror6/CodeMirror6WrapperInternal.razor index 51713b4..711d738 100644 --- a/CodeMirror6/CodeMirror6WrapperInternal.razor +++ b/CodeMirror6/CodeMirror6WrapperInternal.razor @@ -20,7 +20,7 @@ } -
+
diff --git a/CodeMirror6/NodeLib/rollup.config.mjs b/CodeMirror6/NodeLib/rollup.config.mjs index ae8bfc8..da9cd1b 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()], }; diff --git a/Examples.BlazorServer/Examples.BlazorServer.csproj b/Examples.BlazorServer/Examples.BlazorServer.csproj index a57a0f2..a20f674 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 6d7437b..99907c8 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 1f7be2b..eac66be 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 9bc32ff..256514e 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 diff --git a/NEW_CHANGELOG.md b/NEW_CHANGELOG.md index 89b862b..a62081c 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 diff --git a/README.md b/README.md index e55c5fc..e394276 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