- 74b2b35: Update to Rollup v3 + all plugins that require it
- Updated dependencies [74b2b35]
- Updated dependencies [685e6fd]
- @rocket/[email protected]
-
68e05f4:
rocket lint
can now validate external links.Example:
rocket lint --validate-externals
-
Updated dependencies [97d5fb2]
-
a48dcd8: Introducing
rocket lint
to verify if all your links are correct.There are two modes:
# check existing production build in _site (need to execute "rocket build" before) rocket lint # run a fast html only build and then check it rocket lint --build-html
-
Updated dependencies [0ed3d6d]
- @rocket/[email protected]
- 39206a1:
rocket start
now outputs to_site-dev
instead of_site
. - 39206a1:
rocket start
clears only its output folder (defaults to_site-dev
) - cbfb0f9: Add
rocket preview
command to enable fast checking of the production build
-
8dedc56: Add start message for
rocket start
🚀 Rocket Engine v0.2.5 🚧 Local: http://localhost:8000/ 🌐 Network: http://xxx.xxx.xxx.xxx:8000/
-
Updated dependencies [8dedc56]
-
Updated dependencies [390335d]
- @rocket/[email protected]
-
5226ab0: BREAKING CHANGE: Complete rewrite introducing
@rocket/engine
Introduces class based templates, server side rendering of web components and a file based routing.For more information see the migration guide.
The legacy documentation is still available.
- Updated dependencies [5226ab0]
- @rocket/[email protected]
- 60310ab: Improve performance by initializing sax-wasm only once even when it is running in parallel
- Updated dependencies [60310ab]
- @rocket/[email protected]
-
15a82c0: Enable including script files into the simulator via
<script src=".." mdjs-use>
-
15a82c0: Allow only a limited set of characters for simulator includes
[a-zA-Z0-9\/\-_]
. Notably, there is no::
to preventhttp://...
includes.
so filenames asthis.is.my.js
are not supported. Also includes will be without file endings which will be added automatically
-
70bb7a1: BREAKING CHANGE: Update to latest plugins manager to get type safe options
There is no longer a name string as a key for a plugin. It is identified by it's function/class. You will need to adjust your code if you are adding or adjusting plugins.
- addPlugin({ name: 'my-plugin', plugin: myPlugin, options: { myFlag: true }, location: 'top' }); + addPlugin(myPlugin, { myFlag: true }, { location: 'top' }); - adjustPluginOptions('my-plugin', { myFlag: true }); + adjustPluginOptions(myPlugin, { myFlag: true });
For more details please see the Changelog of the plugins-manager package.
- Updated dependencies [70bb7a1]
- Updated dependencies [70bb7a1]
- Updated dependencies [70bb7a1]
- Updated dependencies [70bb7a1]
- Updated dependencies [70bb7a1]
- Updated dependencies [70bb7a1]
- Updated dependencies [70bb7a1]
- Updated dependencies [70bb7a1]
- [email protected]
- @rocket/[email protected]
- @rocket/[email protected]
- 7301a0f: Pass on rocketConfig to the eleventy function to enable conditional configurations/filters
- 42418f2: Disable the service worker for local development
- 5ac6aa6: Set the encoding of the simulator to utf8 via a html meta tag
-
738941a: In
rocket.config.js
you can now supply a rollup config function.export default { rollup: config => { // config will be the fully generated config object after all presets have been applied if (config.plugins.includes('...')) { // change some config options } return config; }, };
- adf0f1d: use img openEnd to insert responsive image
- a5661b8: Updates dependencies
- d91e46b: Add
bootstrap
command - 9978ea7: Improves typings for
addPlugin
- Updated dependencies [9978ea7]
- @rocket/[email protected]
- [email protected]
-
bf99541: Adjust copy logic to
- for
_assets/_static
copy over everything - for all other paths copy over everything except
*.html
and*.md
- for
-
579e8e7: Unordered joiningBlocks are now considered with the order number
10 000
and will generally be at the bottom. You can use numbers> 10 000
to place files even after unordered joiningBlocks.
- 1b9559f: Adds
before11ty
hook to config and presets
-
2b5c61d: Allow configuring the imagePreset ignore rules via the option
ignore
export default { imagePresets: { responsive: { // ... ignore: ({ src }) => src.endsWith('.jpeg') || src.endsWith('svg') || src.includes('rocket-unresponsive.'), }, }, };
-
2b5c61d: Do not generate responsive images for files ending in
.svg
or that includerocket-ignore.
-
ce0b00e: don't transform external images
-
3b1a0cf: Allow to configure check-html-links
export default { checkLinks: { /* ... */ }, };
- 795a361: The server worker url should respect a set pathPrefix.
- 5330740: When replacing images with responsive picture tags do this from the bottom up so the initial dom parsing locations still hold true.
- 43a7ca1: Responsive images need to respect a set pathPrefix
- eae2007: Update to mdjs version that uses lit 2 and renders stories to light dom
- Updated dependencies [eae2007]
- @rocket/[email protected]
- 60e85a1: Support
picture
tags by handlingsource
tags withsrcset
attributes in the rollup asset gathering build phase. - Updated dependencies [60e85a1]
- @rocket/[email protected]
- c338696: Updated dependency of eleventy-img for M1 compatibility
-
8bba4a8: Every content image in markdown will outputted in multiple widths and formats to ensure small image file sizes while retaining quality. You can adjust the defaults by setting
imagePresets.responsive
.export default { imagePresets: { responsive: { widths: [600, 900, 1640], formats: ['avif', 'jpeg'], sizes: '(min-width: 1024px) 820px, calc(100vw - 40px)', }, }, };
-
2724f07: The service worker no longer precaches all urls and assets. It now
- caches already visited pages
- caches assets of visited pages (up to 100 files then it replaces older entries)
- on service worker activation it will reload the page if a newer version is available
- Updated dependencies [2724f07]
- @rocket/[email protected]
- 2b7f1ee: Add support for pathprefix
- Updated dependencies [2b7f1ee]
- @rocket/[email protected]
- ed86ff2: Do not set
data-localize-lang
in the simulator iframe html tag - f4a0ab5: Pass document shadowRoot to iframe
- c675820: fix: windows path issue avoid filtering of index section of collections
- abc8a02: You can now use an absolute path for the rootDir
- Updated dependencies [bad4686]
- Updated dependencies [2267e72]
- @rocket/[email protected]
- @rocket/[email protected]
-
5edc40f: Make sure each rocket instance has it's own eleventy config'
-
ef8ebb0: To support dynamically created content to be part of the anchor navigation of the page we now analyze the final html output instead of
entry.templateContent
.BREAKING CHANGE:
- only add anchors for the currently active pages (before it added anchor for every page)
- be0d0b3: fix: add missing main entry to the packages
- Updated dependencies [be0d0b3]
- Updated dependencies [ef8ebb0]
- @rocket/[email protected]
- [email protected]
- @rocket/[email protected]
- [email protected]
- @rocket/[email protected]
- 8e095b7: Watching
_assets
,_data
,_includes
for changes to trigger updated automatically
- f44a0f4: Rewrite dynamic imports with "`"
- 74f7ddf: Adds performance improvements for social media images by:
- creating social media images only in
rocket build
phase - adds a config
createSocialMediaImages
to enable (default) or disable it globally - adds config
start.createSocialMediaImages
to enable or disable (default) it duringrocket start
- creating social media images only in
- 750418b: Use class-based node API of check-html-links
- Updated dependencies [f44a0f4]
- Updated dependencies [750418b]
- @rocket/[email protected]
- [email protected]
-
8bdc326: Adds html to core presets with the following Layouts:
layout-raw
No html or any wrapping (use it for xml, json, ... outputs)layout-default
For contentlayout-index
Extends content and adds an "Open Navigation" button for mobile
Layout Default has the following Joining Blocks:
head
For the html<head>
header
Within the top<header>
content
Html within the main content sectionfooter
Within to bottom<footer>
bottom
Add the end of the body
BREAKING CHANGES:
layout
renamed tolayout-default
- Automatically sets
layout-index
for allindex.md
files
- c92769a: Processing links and asset urls to generate the final html output is now utf8 safe
- 562e91f: Make sure logos do not have "<?xml" in their code
- 0eb507d: Adds the capability to configure the svg template for the social media images.
- 0eb507d: Adds
setupEleventyComputedConfig
option to enable configuration of 11ty'seleventyComputed
. The plugins-manager system is used for it.
- a498a5d: Make sure links to
*index.md
files are not treated as folder index files likeindex.md
- cd22231: Restructure and simplify Rocket Cli Plugin System
- cd22231: Add a default Rocket Cli Plugin which checks all links on every save (during start) and after a production build
- Updated dependencies [cd22231]
- Updated dependencies [cd22231]
- @rocket/[email protected]
- [email protected]
- 897892d: bump dependencies
- 295cfbd: Better support for windows paths
- Updated dependencies [897892d]
- @rocket/[email protected]
- @rocket/[email protected]
- ef3b846: Add a default "core" preset to the cli package which provides fundaments like eleventConfig data, eleventyComputed data, logo, site name, simple layout, ...
- 4858271: Process local relative links and images via html (11ty transform) to support all 11ty template systems
- 4858271: Adjust templates for change in
@rocket/eleventy-plugin-mdjs-unified
as it now returns html directly instead of an object with html, js, stories
- ef3b846: Move setting of title, eleventyNavigation and section page meta data to eleventyComputed
- ef3b846: Auto create social media images for every page
- Updated dependencies [ef3b846]
- Updated dependencies [4858271]
- Updated dependencies [4858271]
- @rocket/[email protected]
- @rocket/[email protected]
- @rocket/[email protected]
- 32f39ae: An updated triggered via watch should not hide the main navgiation.
- 3468ff9: Pass prefix to rollup-plugin-html so assets can still be extracted
- Updated dependencies [3468ff9]
- @rocket/[email protected]
- 641c7e5: Add a pathPrefix option to allow deployment to a subdirectory
- a8c7173: Changes to config:
- Do not auto rollupWrap plugins added via
setupDevPlugins
. - If you provide
devServer.plugins
then it will return that directly ignoringsetupDevAndBuildPlugins
andsetupDevPlugins
- Do not auto rollupWrap plugins added via
- Updated dependencies [a8c7173]
- 1971f5d: Initial Release
- Updated dependencies [1971f5d]
- @rocket/[email protected]
- @rocket/[email protected]
- @rocket/[email protected]
- @rocket/[email protected]