Changes for version 1.013 - 2018-11-09
- Added
- Yancy backends now ignore some database tables by default. These tables are:
- mojo_migrations - Used to track database migration versions
- Minion tables (based on which backend you're using)
- Added documentation site example. This will (eventually) be used to build a Yancy documentation website.
- Yancy backends now ignore some database tables by default. These tables are:
- Fixed
- Fixed OpenAPI spec to remove unused "Array" items. Thanks @mohawk2!
- Removed deprecated PODRenderer plugin in examples. I have created a fork called PODViewer.
- Fixed documentation for Standalone mode to make it easier to use.
- Fixed detection of `UNIQUE` keys in SQLite. SQL is case-insensitive, and SQLite's table schema is just the SQL used to create the table, which we parse to create the JSON schema.
- Fixed a problem with Postgres tables having multiple unique keys.
- Allow `id` values to change when editing. This fixes multiple problems in the editor and the backend that were activated as a result of trying to edit the `x-id-field` values.
- Allow `/` in `id` values. This allows paths to be used as IDs, which is crucial to making an easily-editable website.
- Other
- Work has been started to separate the Yancy editor into its own Yancy::Plugin class. Thanks @mohawk2!
- Removed a UTF-8 character from some documentation. The Mojolicious::Plugin::PODViewer doesn't correctly say that it's sending UTF-8 data, and the Mojolicious::Command::export doesn't correctly decode/encode UTF-8 data.
Documentation
How to configure Yancy
How to run Yancy without writing Perl code
Modules
Embed a simple admin CMS into your Mojolicious application
A simple CMS for administrating data
A backend for DBIx::Class schemas
A backend for MySQL using Mojo::mysql
A backend for Postgres using Mojo::Pg
A role to give a synchronous backend useful Promises methods
A backend for SQLite using Mojo::SQLite
Basic controller for displaying content
An OpenAPI REST controller for the Yancy editor
A controller to show a user only their content
A simple auth module for a site
Generate form HTML using various UI libraries
Generate forms using Bootstrap 4
Utilities for Yancy
Examples
- eg/README.md
- eg/doc-site/README.md
- eg/doc-site/cpanfile
- eg/doc-site/docs.db
- eg/doc-site/myapp.pl
- eg/screenshot-edit.png
- eg/screenshot.png
- eg/test-app/myapp.conf
- eg/test-app/myapp.null.conf
- eg/test-app/myapp.pl
- eg/test-app/templates/not_found.html.ep
- eg/test-app/templates/people.html.ep
- eg/test-app/templates/people/index.html.ep
- eg/test-app/yancy.data.json
- eg/todo-app/.gitignore
- eg/todo-app/cpanfile
- eg/todo-app/myapp.pl