@mashroom/mashroom-helmet
Advanced tools
Changelog
1.9.3 (January 11, 2022)
Changelog
1.9.2 (December 11, 2021)
{
"plugins": {
"Mashroom Cache Control Services": {
"maxAgeSec": 86400
}
}
}
Changelog
1.9.1 (November 8, 2021)
Changelog
1.9.0 (October 18, 2021)
"k8sNamespacesLabelSelector": "environment=development,tier=frontend",
"k8sNamespaces": null,
"k8sServiceLabelSelector": "microfrontend=true,channel!=alpha"
"k8sNamespacesLabelSelector": "environment=development",
"k8sNamespaces": null,
"serviceNameFilter": "(microfrontend-)",
http://localhost:5050/portal/web/___/api/pages/test2/content?currentPageId=subpage1
Means: Give me the content (and scripts to launch/hydrate the Apps) for page test2, and I'm currently
on page subpage1, tell me if I need a full page load because the theme or something else outside
the content area is different.<div id="portal-app-{{appId}}" class="mashroom-portal-app-wrapper portal-app-{{safePluginName}}">
<div class="mashroom-portal-app-header">
<div class="mashroom-portal-app-header-title" data-replace-content="title">{{title}}</div>
</div>
<div class="mashroom-portal-app-host" data-replace-content="app">
{{#if appSSRHtml}}
{{{appSSRHtml}}}
{{else}}
<div class="mashroom-portal-app-loading"><span/></div>
{{/if}}
</div>
</div>
BREAKING CHANGE: Previously it was possible to customize the App wrapper and error message using the client side
functions MashroomPortalCreateAppWrapperFunc and MashroomPortalCreateLoadingErrorFunc - those are ignored now.Changelog
1.8.3 (September 11, 2021)
Changelog
1.8.2 (September 6, 2021)
Changelog
1.8.1 (August 23, 2021)
Changelog
1.8.0 (August 9, 2021)
{
"enableHttp2": true
}
{
"httpsPort": 5443,
"tlsOptions": {
"key": "./certs/key.pem",
"cert": "./certs/cert.pem"
}
}
The tlsOptions are passed to https://nodejs.org/api/tls.html#tls_tls_createserver_options_secureconnectionlistener{
"$schema": "https://www.mashroom-server.com/schemas/mashroom-plugins.json",
"devModeBuildScript": "build",
"plugins": [
{
"name": "Mashroom Portal Demo React App",
"type": "portal-app",
"bootstrap": "startReactDemoApp",
"resources": {
"js": [
"bundle.js"
],
"css": []
},
"defaultConfig": {
"resourcesRoot": "./dist"
}
}
]
}
The possible file name can be changed in the server config via the externalPluginConfigFileNames config property.{
"$schema": "./node_modules/@mashroom/mashroom-json-schemas/schemas/mashroom-packagejson-extension.json",
"name": "my-package"
}
or by using the remote location:
{
"$schema": "https://www.mashroom-server.com/schemas/mashroom-packagejson-extension.json",
"name": "my-package"
}
Changelog
1.7.9 (June 19, 2021)