This release includes a lot of bug fixes, improvements and a few key features as I'm still working my way up to a 1.0.0.
New Features
- Configuration linter: when editing settings, you now have real-time validation of your
.page.ymlfile with warnings and errors to help you write something that doesn't blow up your setup. - Login with GitHub Fine-Grained PATs (Personal Access Tokens): an option I thought would be important to all of you nerds. You can now use a fine-grained personal access token to log in, allowing you to restrict access to specific repositories. I still need to iron this feature out, but it mostly work.
- Support for TOML, JSON frontmatter and TOML frontmatter: you can now specify any frontmatter you like (YAML, JSON and TOML) and create TOML files. This comes with configurable delimiters as well: go nuts.
- Support for JSON, YAML and JSON array files: especially useful for things like data or configuration files. This allows you to manage your
_config.ymlfor Jekyll, an array of authors objects in a_data/authors.jsonfile for 11ty or Gatsby (for example if you use something likegatsby-transformer-json).
Improvements
Lots of improvements, but these stand out:
- Improved upload: in particular for multiple files and drag & drop. I've also added logic for renaming that should avoid any collision when you upload files with the same name.
- Reworked image logic: I've upgraded the way I'm handling images, especially for private GitHub repository. Much better results; I have yet to see a bug.
- Caching: I've added a bit of caching in a couple places (including the configuration files).
- Change of libraries: Moment.js to Day.js, js-yaml to yaml (in particular to get parsing errors and warnings), etc.
- Improved collection view: in particular, you can now display images in the collection view.
Bug fixes
Too many to list. I went through the entire codebase and tracked down most of the obvious bugs and edge cases. I'm sure I'll still find a few here and there.
What's next?
I'm focusing on stability, performance, bug fixing, documentation and a few minor features (e.g. regular file upload field, proper table support in the rich-text editor). I expect to be able to release a 1.0.0-beta in two weeks' time.
Now that I'm over the bulk of the foundation for Pages CMS, I'm switching to feature branches and will stick to small commits.
Thanks for those of you who try this release.