Skip to content

Releases: pages-cms/pages-cms

0.4.2

25 Apr 16:26
Compare
Choose a tag to compare

New features

  • Added support for exclude property on collections. This allows to exclude specific files in a collection from being listed.

Improvements

  • Added validation for icon property in content entries.

Hotfix 0.4.1

29 Mar 10:42
Compare
Choose a tag to compare

Bug fixes

  • Handle images with special characters (e.g. spaces) properly now when switching between rich-text and code editors for markdown.
  • Fixed live updates of configuration for repo names with case.

0.4.0

28 Mar 05:56
Compare
Choose a tag to compare

CleanShot 2024-03-28 at 13 42 20@2x

0.4.0 is here with a completely refactored system for fields. The new approach is a lot more scalable and allows you to define your own custom fields if you decide to do so. I hope to add a few new fields in 0.4.x, including key-value, files and references. More on that soon.

More info is available on the website: https://pagescms.org/docs/custom-fields/#sort-function

Do let me know if you ned up writing your own fields or even create a PR if you think this should be part of the built-in fields.

Changes

  • Refactored all the built-in fields.
  • Updated Editor, Field and Collection components to handle the new fields system.
  • Documented custom fields.

Hotfix 0.3.6

25 Mar 13:32
Compare
Choose a tag to compare

Bug fixes

  • Fixed an infinite loop on image lists introduced by the change made to address #41.

Hotfix 0.3.5

20 Mar 03:38
Compare
Choose a tag to compare

Bug fixes

  • Fixed broken custom error message for field pattern.
  • Adjusted tabs for repo menu on mobile.

0.3.4

18 Mar 14:28
Compare
Choose a tag to compare

This release mostly bring better branch management.

There will be one more patch for 0.3.x to add the ability of editing the filename while creating/editing a file (rather than using the rename feature). After that, I'll focus on 0.4.0 with improvements to the field components, helping with custom fields and adding a few more default fields (e.g. files, key-value).

New features

Menu Modal
CleanShot 2024-03-18 at 22 19 07@2x CleanShot 2024-03-18 at 22 21 12@2x
  • You now always have the default branch and the current branch (if different) listed at the top, followed by other branches for a total of up to 5 branches.
  • You can see all branches by clicking on "Manage branches".
  • From the branch modal, you can search for branches and create new branches.

Improvements

  • Made lists more compact.
  • Reworked the main repo and branch navigation.

0.3.3

16 Mar 09:06
Compare
Choose a tag to compare

Just back from Taiwan, I finally had the time to put a new release together. Unless I have patches/hotfixes to release for this version, I'll be working on 0.4.0 to bring some much needed changes to the fields. Not much left after that to get to 1.0.0.

New features

CleanShot 2024-03-16 at 17 01 42@2x

  • Create a repo from a template: you can now create a new repository using one of the templates available, including blog templates for Astro, Next.js, Eleventy and Jekyll. I'll be adding Hugo and Nuxt shortly.

Improvements

  • Updated the rich-text editor to retain HTML elements in markdown when they include a style or class attribute. It also now retain <img> elements with a width or height attribute.
  • Started to move logic around for view and sorting of fields in collections, in preparation of custom fields release (0.4.0).

Bug fixes

  • Fixed images not updating in lists of objects (#41)
  • Fixed numbers being saved as strings (#28)
  • Various minor CSS/layout fixes.

Hotfix 0.3.2

02 Mar 04:52
Compare
Choose a tag to compare

Rework the collection view logic to properly escape HTML and prepare for modular custom field view logic.

Hotfix 0.3.1

29 Feb 07:36
Compare
Choose a tag to compare

Addressing bugs when dealing with images due to the fact that on Github, owner and repo are case insensitive (e.g. pages-cms/pages-cms is the same as PAGES-CMS/PAGES-CMS).

0.3.0

29 Feb 05:27
Compare
Choose a tag to compare

This is a big one; this should address all major bugs and improve significantly the robustness of Pages CMS when dealing with incorrect or incomplete settings. I expect to release a few more hotfix releases but will likely then mostly work towards 1.0.0.

In the next couple of days I will also deploy dev.app.pagescms.org with the latest version from the development branch. I'll use it to test releases before deploying to production (it's a tad stressful right now as I worry I will impact users).

If you're interested in helping test future releases before I roll them out, let me know: hunvreus@gmail.com.

New features

  • Error-tolerant user interface. You can now have a pretty broken .pages.yml file and still use the CMS.
  • Support dates from filenames. For example 2024-02-20-my-post.md will now set the entry's date to February 20, 2024 without the need for a date field in the content.
  • Support for content entries without fields. You do not have to specify fields now, even for collections (it will list file names).
  • Full support for YAML, JSON and TOML files. You can now manage both single files and collections of files, either using the code or field editor.
  • New configuration mechanism with versioned caching.

Improvements

  • Improve path handling for media (input to output swaps). Do let me know immediately if you observe any weird behavior with media: hunvreus@gmail.com.
  • Improved image modal for image field and rich-text field.
  • Completely revamped validation for settings. This includes completely reworked error messages in the editor to make them a lot more readable (e.g. no error on the whole object when only a single property fail).
  • Improved redirection rules for incomplete/invalid routes (e.g. incorrect media settings). This will need to be moved entirely in the router in 0.4.0 or 1.0.0.
  • Various tiny performance improvements (especially with configuration). I will focus more on this for the 1.0.0 release.

Bug fixes

Lots of bug fixes through the app:

  • Fixed the date field by reverting to moment.js (due to a bug from day.js).
  • Errors on incomplete/incorrect settings.
  • Error converting image paths (input <> output) especially for edge cases (e.g. media.output: "").
  • Lots of style fixes (e.g. mobile collection view).
  • ...