All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.11.2 - 2025-04-10
collection.views
anddocument.views
accepts a function to return the initial views depending on the data #51.
0.11.1 - 2025-04-04
- Restored
transform
function. - Some fields don't save the value.
0.11.0 - 2025-04-03
- 3rd argument to
field.init()
with the data to edit or undefined for new creations.
- Refactored fields. Now every field is in an individual file.
uploads
property for file and markdown. Useupload
(in singular).nameField
property for collections. UsedocumentName
.field.details
property.
- Fields have been refactored to improve types
- Initial field views
- Updated dependencies (hono and std)
0.10.5 - 2025-03-27
- Types for fields #37
0.10.4 - 2025-03-17
- GitHub storage when the root folder is empty.
0.10.3 - 2025-03-17
- GitHub storage bugs #46.
0.10.2 - 2025-03-14
- Sync prod branch #41.
0.10.1 - 2025-03-11
- Preview AVIF images #45.
0.10.0 - 2025-03-05
- Snippets option to markdown field.
- New
cms:versionCreated
,cms:versionChanged
,cms:versionPublished
andcms:versionDeleted
events.
- Refactor git versioning class and make the commands sync.
- Remove autocomplete keymap in markdown because it prevents to type
[
in some keyboards.
- Option
onPublish
to git. It was replaced withcms:versionPublished
event.
- Improved buttons in markdown field
- Updated dependencies.
0.9.4 - 2025-02-24
- Allow to upload multiple files.
0.9.3 - 2025-02-22
- New option
onPublish
to git. - New core field
file-list
. It's like anobject-list
but allows to upload multiple files at once.
0.9.2 - 2025-01-21
- New static functions
Fs.create()
,GitHub.create()
andKv.create()
to simplify the storage instantations.
- Refactor Github storage to support recursive listing.
- Apply default values creating new items in a collection.
0.9.1 - 2025-01-19
- New option
listed
for uploads to don't show the upload in the homepage. - In markdown set the
upload
property tofalse
to disable the upload button. collection.documentName
allows to customize the name of the new documents created in a collection. You can use a pattern ({title}/index.yml
) or a function.collection.documentLabel
allows to customize the label (public name) of the documents in a collection.{document_dirname}
placeholder toupload
property. This allows to save a file in the same directory of the page. Example:{ name: "image", type: "file", upload: "media:{document_dirname}", }
- Added
label
option to collections, documents and uploads. - Allow to define uploads using an options object.
uploads
property for file and markdown fields. Useupload
(in singular).nameField
property for collections. UsedocumentName
.
- Unused
field.publicPath
option.
0.9.0 - 2025-01-15
- New
git()
function to configure git repository. - New
auth()
function to configure the authentication after the CMS instantation.
- Don't show the logout button if no auth is configured.
- Logout code.
0.8.3 - 2025-01-10
- Rename files if the collection path is a glob with multiple extensions.
0.8.2 - 2025-01-10
- In collections, folders and files are sorted alphabetically together (instead of folders first and then files).
- Download button in upload detail.
- List of folders containing dots.
- Better alignment of files and folders.
0.8.1 - 2025-01-02
- You can define default values when creating a new document passing query parameters in the URL. Example:
http://localhost:8000/collection/Articles/create?_id=hello-world.md&title=Hello+world
.
- Git publish action: pull changes before push.
- Replaced Sharp with Imagick (sharp doesn't work on Deno Deploy).
0.8.0 - 2024-12-30
- Allow to duplicate object-list and choose-list elements.
- Allow to crop images.
- Allow to change the formats of images (i.e.
jpeg
=>webp
). - Initial e2e tests.
- UI tweaks.
- Upload files in a subfolder.
- Updated dependencies.
0.7.7 - 2024-12-22
- Normalize documents and upload names before save.
0.7.6 - 2024-12-14
- Styles of
u-bar
component.
0.7.5 - 2024-12-11
u-bar
component.
0.7.4 - 2024-12-11
- Home body moved below the menu, and changed styles.
- Internal: replace
push
withoscarotero/dom
library. - Show the collection items and uploads sorted alphabetically.
- Improved collection filter with accents.
0.7.3 - 2024-11-22
- Static server on Windows #34.
- Updated dependencies.
0.7.2 - 2024-11-03
- Input fields allow to paste images or URLs.
- Removed icons folder and fetch them from JsDelivr.
- Make the views more clicable.
- Improved some styles.
0.7.1 - 2024-10-31
- Some style issues.
- Description in
list
field is not shown #30. - GitHub adapter doesn't show files bigger than 1Mb #31.
0.7.0 - 2024-10-11
- Support for arrays without keys #28.
- Internal changes but potentially breaking (related with #29):
- Removed
Field.cmsContent
property. - Changed the type of
Field.applyChanges
andField.init
functions. - Added
Field.details
property to pass extra data from back to front.
- Removed
0.6.8 - 2024-10-05
- Form redirect after submit.
0.6.7 - 2024-10-05
- Form submit using AJAX.
0.6.6 - 2024-10-05
- New option
view
to show/hide fields under specific views. nameField
accepts a function to generate the filename dynamically #26.
- Show invalid fields on submit, even if they are hidden.
0.6.5 - 2024-09-28
- Hono static server breaking change introduced in 4.6.3.
0.6.4 - 2024-09-28
- New option
site.body
to include random HTML code in the homepage. - Allow html code in field descriptions.
- The CMS bar is less invasive:
- It's smaller.
- Merged "Go to home" and "Edit page" in just one link.
- Updated dependencies:
codemirror
,hono
,std
. - Removed internal code smell.
- Styles tweaks.
0.6.3 - 2024-09-18
- Default values.
0.6.2 - 2024-09-16
- Button to logout.
- Allow to upload files in subfolders.
- Improved footer styles.
0.6.1 - 2024-09-12
- UI and behavior of the
current-datetime
field #23.
- Renamed
current_datetime
tocurrent-datetime
. - Updated deps:
hono
andstd
.
0.6.0 - 2024-09-11
- Allow to create collection items in subfolders.
- New field
current_datetime
, to set always the current datetime on save.
mode
option introduced in0.5.10
.- Use the new
current_datetime
field forupdate
mode. - Use the
field.value
option forcreate
mode.
- Use the new
field.value
is used as the default value for new entries #22.
0.5.10 - 2024-08-14
- Markdown field: create links on paste url-like content.
- New option
mode
fordate
anddatetime
fields with the options "create" and "update":- create: Add the current time if the value is empty
- update: Update always the value to the current time
- Updated Codemirror and dev libraries (rollup, terser).
- Datetime field doesn't load the previous value
0.5.9 - 2024-08-12
- Updated deps:
hono
,std
. - Show URL preview in Document edit view.
0.5.8 - 2024-08-06
- Back to
hono
4.4.3 due honojs/hono#3238
0.5.7 - 2024-08-03
- YAML generation with weird linebreaks.
- Removed auth for websockets in the proxy.
- Upload files bug.
- Updated deps:
hono
,std
.
0.5.6 - 2024-07-17
- Auth throught server/proxy.ts.
- Removed auth for websockets.
- Width of the preview iframe.
- Removed preview link.
- Updated deps:
hono
,std
.
0.5.5 - 2024-07-10
- Button to duplicate a page in a collection.
- New option
nameField
for collections to use the value of a field as the document name #19. - New option
create
anddelete
for collections to customize permissions #20.
- Allow to set empty values to
select
by default. - Updated
hono
andstd
dependencies.
0.5.4 - 2024-07-03
- Preview with no credentials.
object-list
must show the value of the first field.object-list
andobject-choose
duplicated data on reorder items.
0.5.3 - 2024-06-26
- Documents are created if they don't exist #16.
- Auth credentials in Safari #18.
- Updated dependencies:
hono
,std
.
0.5.2 - 2024-06-16
- choose-list: Replace the buttons to add new items with a select.
- Updated dependencies:
hono
. - Updated libs.
- Markdown and Code fields doesn't work well in nested fields.
0.5.1 - 2024-06-13
- Close the proxied server after some inactivity.
- The
value
property of thedate
field was readonly #15. - Updated dependencies:
hono
,std
.
0.5.0 - 2024-06-01
- New
server/proxy.ts
script to run the CMS in a server.- It includes the ability to configure a git client.
- Support for
deno serve
command.
- Lume adapter shows always the draft pages.
- Not documented
cms.versioning
option.
0.4.3 - 2024-05-30
- New option
transform
to field, to pass an arbitrary function to transform the value before saving it. For example, to ensure all urls ends with/
:cms.collection("posts", "src/posts/*.md", [ { name: "url", type: "string", transform: (value) => value && !value.endsWith("/") ? `${value}/` : value } ])
- Updated dependencies:
std
.
0.4.2 - 2024-05-24
- Updated dependencies:
hono
,std
. - Some dependencies have been migrated to
jsr
because are not longer updated onland/x
. - Error removing elements in
choose-list
andobject-list
fields.
0.4.1 - 2024-05-15
- Allow to create documents and collections using a single object instead of arguments.
- New option
url
to documents and collections. It allows to set/override the preview URL. - Allow to resize the preview window.
- Version color in the breadcrumb in dark mode.
- Removed unused script.
- Updated Hono to the latest version.
0.4.0 - 2024-05-14
- More compact UI.
object
fields are closed by default. Useattributes.open = true
to change it.- Removed
x
button of popovers.
file
field when the value is an URL.- Removed the numbers in the choose-list items.
0.3.12 - 2024-05-13
- object-list improvements:
- The inner objects are collapsed by default.
- Use the first field value as the label of each object.
- choose-list improvements:
- The inner objects are collapsed by default.
0.3.11 - 2024-05-09
- New
blocks
field to embed Gutenberg block editor (disabled by default). - File field: allow to specify subfolders in the uploads option.
- Removed popover polyfill since it's supported by all modern browsers.
- Updated dependencies.
0.3.10 - 2024-04-17
- Added dark mode UI.
- Added field type
radio
.
- Updated dependencies.
0.3.9 - 2024-03-28
- Error with empty datetime
- Automatic extension of paths starting with
*
. - Remove conflicting characters on slugify file names.
- Error on rename pages.
0.3.8 - 2024-03-18
- Internal: Added
Upload.get
,Upload.delete
andUpload.rename
functions.
- Improved value formatting.
- Unify line endings.
- UI (draggable): improved drag over hints.
- UI (object-list, choose-list): open/close on click in the main label.
- UI (accordion): Make the header 100% width.
0.3.7 - 2024-03-13
- Glob patterns to GitHub storage #10.
- Commit message function for GitHub storage #10.
- Initializes hidden input value to the schema when creating a new document/collection #9.
- Updated Hono to the latest version.
0.3.6 - 2024-03-11
- Internal: Replace
Field.transformData
withField.applyChanges
.
- Throw an exception when a file field doesn't have a upload target.
- Don't shrink the icon buttons.
- Break long words on list view.
0.3.5 - 2024-03-09
- Updated
std
to the latest version.
0.3.4 - 2024-03-06
- Improved default commit message of GitHub storage and added an option to to customize it #5.
- Updated
Hono
to the latest version.
0.3.3 - 2024-03-02
- Basic auth error.
0.3.2 - 2024-03-02
0.3.1 - 2024-03-01
- Previewer on mobile.
- Updated
std
.
0.3.0 - 2024-02-29
options
option tolist
field.- New
init
option to all fields. - Allow to include descriptions for collections, documents and uploads.
- New CMS bar for previews.
- Preview improvements.
- New option
extraHead
to include extra styles or scripts. - New files get the extension automatically
- Updated
Hono
to the latest version. - Lume adapter: don't override the site url.
0.2.11 - 2024-02-27
- Types for
Field.toJSON
. - New option
data
to pass arbitrary data to the CMS. - New
log
option to store error logs in a file.
- Updated
Hono
to the latest version.
0.2.10 - 2024-02-24
- Preview link target.
- Improvements in the versioning system.
- Update deps:
hono
.
0.2.9 - 2024-02-22
- Footer with the LumeCMS version
f-date
error with null value.- Removed Lume dependency
0.2.8 - 2024-02-18
- Markdown: syntax highlight fenced code.
- A field definition string ending with "!" makes the field required.
For example:
title: string!
. - Register
lume_cms
import map.
- Updated dependencies.
- UI improvements and fixes.
0.2.7 - 2024-02-14
- Markdown: removed h5 and h6 buttons
- Format of pages without front matter.
- Markdown:
- Field doesn't send changes.
- Improved link insertion.
0.2.6 - 2024-02-13
- Toolbar to the markdown editor with buttons for bold, italic, headers, links, etc.
0.2.5 - 2024-02-12
- Tree view in collections list.
- Lume adapter when the src folder is a subfolder.
- Uploads public path detection with globs paths.
- Min height to popover.
0.2.4 - 2024-02-11
- Use the Lume native watcher in the Lume adapter.
- Documents and Files events.
0.2.3 - 2024-02-11
- Ctr/Cmd + B and Ctr/Cmd + I to markdown editor to apply bold and italic to the selection.
- Update live-reload after uploading a file.
0.2.2 - 2024-02-10
- More Windows path fixes.
0.2.1 - 2024-02-10
- Windows path normalization.
0.2.0 - 2024-02-10
- Rename
/src
to/core
. - Moved
/storage
to the root folder. - Moved
/src/routes/templates
to/core/templates
. - Moved
/src/types.ts
to the root folder.
- Favicon error.
- Scroll position after live-reload.
f-date
field.
0.1.0 - 2024-02-08
First version