deno.land / x / lume@v2.1.4 / CHANGELOG.md
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project try to adheres to Semantic Versioning.
Go to the v1
branch to see the changelog of Lume 1.
ui
object with the new options introduced in v1.1.0.init.ts
file.esbuild
timeout #591.unocss
, pagefind
, postcss-nesting
, sass
, terser
, vento
, std
, preact
, unocss
, liquid
, react
types, sass
, tailwind
, magic-string
.name
with the default value postcss
#582.HUMAN_SINCE
and HUMAN_SINCE_STRICT
expose formatDistanceToNow
and formatDistanceToNowStrict
in the date-fns package, so you can refer to the amount of time that has passed since the an article was last written/modified, rather than just the date it was written #589./.well-known
folder by default #585.std
, esbuild
, lightningcss
, unocss
, date-fns
, cms
, eta
, katex
, liquid
, markdown-it
, postcss
, postcss-import
, autoprefixer
, preact
, sharp
, tailwindcss
, terser
, vento
.transform_images
plugin: added the .webp
extension to the default options.vento
plugin: New option plugins
to use Vento plugins.vento
and addVentoPlugin
hooks.<style>
elements is not awaited #578.std
, terser
, cms
, postcss
, react
types, unocss
, vento
, date-fns
, sass
, terser
.svg2png
as the library to convert svg to png._cms.ts
file.lightningcss
, terser
, cms
, postcss
, postcss-nesting
, std
, vento
, react
types.x-default
for unmatched languages #528 & #532multilanguage
pluginsitemap
pluginfff
#529.redirects
#534.og_images
#534.robots
#570.lume cms
.onDemand
plugin: support async extraData function #560, #561.lume:*
global events.lume.getWatcher()
function.--unstable
flag to the default lume
task.
Use the unstable
configuration in deno.json
.date-fns
dependency to version 3 #541.
This affects to how to import locales in the _config file:// Old
import gl from "npm:date-fns/locale/gl";
// New
import { gl } from "npm:date-fns/locale/gl";
getDataValue()
function #556, #558.
See metas
plugin for a clear example.favicon
plugin: #562sizes="any"
to the svg icon.deno task lume upgrade
removes the deno.lock
file #527.transform_images
plugin: don't enlarge images by default #530.filter_pages
plugin are exported to the sitemap.site.options.server.middlewares
array is always defined.std
, date-fns
, lightningcss
, vento
, terser
, autoprefixer
, esbuild
, sass
, unocss
, deno-dom
, esbuild
, postcss
, postcss-import
, preact
, preact-render-to-string
, mdx
, terser
, liquid
, react
types.site.hooks.addMarkdownItPlugin
accepts multiple optionscli
commands are loaded dynamically.Lume.Data.nav
variable #567.slugify_urls
plugin only slugify .html
files by default.
The reason is to avoid unexpected behaviors like renaming the _headers
file #569.
Use extensions
option to add more file extensions.multilanguage
plugin that add non-html pages in the list of alternates.metas
& feed
plugins: Suppport for functions to configure the data fields.mdx
plugin: New mdx
filter #550.md
filter from remark
plugin is async.file.client.jsx
.jsx
and esbuild plugin with jsx
#547.std
, unocss
, svgo
, sass
, postcss
, postcss-import
, vento
, tailwindcss
, react
types, remark
, sharp
._config.ts
decap_cms
plugin: Add a script in the homepage to redirect to /admin/
when an invite token or recovery token is detected from netlify identity.getOptionsFromCli
is moved from mod.ts
to utils/cli_options.ts
#535, #540.sitemap
plugin: Add the xmlns
namespace for localized urls.multilanguage
plugin:imagick
dependency.Lume.PaginateResult
type.std
, esbuild
, liquid
, postcssNesting
, react-dom
types, sharp
, svgo
, vento
, tailwindcss
, minify_html
, unocss
, sass
.mdx
plugin: New rehypeOptions
option #517lightningcss
plugin: use the correct includes folder #523.mdx
and remark
plugins: improved types.Lume.Data.results
.picture
plugin using the wrong attribute name #526.markdown-it
, preact
, terser
, esbuild
.unocss
, to replace windi_css
.transform_images
, to replace imagick
.server.root
to Site
.basename
variable to change the final name of files/directories. #494site.getOrCreatePage()
.search
functions. For example: search.pages<PageType>()
.LUME_NOCACHE
to disable the cache of the remote files.pageSubExtension
with the default value .page
.pageSubExtension
.pageSubExtension
.pageSubExtension
.pageSubExtension
.pageSubExtension
.pageSubExtension
.pageSubExtension
.pageSubExtension
.useDefaultPlugins
that it's true
by default.useDefaultPlugins
that it's true
by default.pageSubExtension
.includes
useDefaultPlugins
that it's true
by default.recmaPlugins
#521.includes
pageSubExtension
.precompile
option for faster jsx transform.highlightParam
.core.ts
and created types.ts
.Lume
.dom
and dom.iterable
types instead of deno-dom
.process
and preprocess
to behave like
processAll
and preprocessAll
.Page.create()
. It has a single argument with an object with the page content.Engine.renderSync
to Engine.renderComponent
.Format
interface./404.html
page by default.fn-date
with Temporal
polyfill to convert dates.Server
class to work with Deno.serve()
API #501.core/filesystem.ts
to core/file.ts
.imagick
to transform-images
.extensions
option type to string[]
.window.React
#332.extensions
option type to string[]
.includes
folder is automatically ignored.decap_cms
.netlifyIdentity
option to identity: "netlify"
includes
folder is automatically ignored.includes
folder is automatically ignored.extensions
option type to string[]
..tmpl
subextension with .page
.includes
folder is automatically ignored.extensions
option type to string[]
.includes
folder is automatically ignored.extensions
option type to string[]
..tmpl
subextension with .page
.extensions
option type to string[]
.includes
folder is automatically ignored.extensions
option type to string[]
.includes
folder is automatically ignored.extensions
option type to string[]
.includes
folder is automatically ignored.extensions
option type to string[]
.includes
folder is automatically ignored.extensions
option type to string[]
.includes
folder is automatically ignored.includes
folder is automatically ignored.includes
folder is automatically ignored.info.date
to info.published
;item.date
to item.published
;item.updated
;windi_css
. Use unocss
instead.imagick
. Use transform_images
instead.processAll
and preprocessAll
.Page.dest
property #290.Page.updateDest
function.Page.src.lastModified
and Page.src.created
because they are
already in Page.src.entry
.Page.src.remote
because it's already in Page.src.entry
.Page.src.slug
because it's already in Page.data.basename
.--dev
mode #244, #201.
Use the env variable LUME_DRAFTS=true
to output draft pages.--quiet
argument
Use the env variable LUME_LOGS=DEBUG|INFO|WARNING|ERROR|CRITICAL
.site.includes()
function.site.searcher
to site.search
.pageSubExtension
is used only to load pages, but not for layouts,
components, etc.site.loadComponents()
. It's included in site.loadPages()
options.site.engine()
. It's included in site.loadPages()
options.site.cacheFile()
Entry.setContent()
Error
class to print the errors. Deno.inspect()
is used instead.lume/core/utils.ts
and moved all utilities to different files under
/lume/core/utils/
folder.returnPageData
option. Pages always return the data
object #251search.tags()
function. Use search.values("tags")
.data
filter.extensions
option type to string[]
.keepDefaultPlugins
keepDefaultPlugins
overrideDefaultPlugins
pragma
option.overrideDefaultPlugins
optionstd
, deno_dom
, eta
, lightningcss
, liquidjs
, nunjucks types
, pagefind
, preact
, react types
, pug
, svgo
, esbuild
, svgo
, terser
, unocss
, vento
, xml
, postcss
, markdown-it-defllist
.Version Info