Changes for version 1.023 - 2019-02-14
- Added
- Added auth failure logging to the Basic auth module to help diagnose user login issues.
- Added filter parameters. Now a filter can be configured with parameters directly by giving an array as the filter (instead of a name). The first item in the array is the filter name, the rest of the items are passed in to the filter function.
- Added `yancy.from_helper` filter. This filter calls a helper from your app to filter data.
- Added `yancy.overlay_from_helper` filter. This filter calls multiple helpers to update different fields in an item.
- Added `yancy.wrap` and `yancy.unwrap` filters. These allow you to flatten (unwrap) a complex data structure into a simple set of key/value pairs (suitable for a relational table) and then undo it (wrap) later.
- Fixed
- Fixed the backend documentation to be clearer and provide some examples of `list()` method usage.
- Other
- Increased dependency on Mojolicious::Plugin::OpenAPI to 2.12 to fix failing Yancy tests.
- This includes an upgrade to JSON::Validator which fixes a problem that was causing booleans to not be coerced. Now all booleans are being coerced correctly, so you should expect to see `true` and `false` values (from Mojo::JSON) after validation.
- Removed duplicate code from the Mojo::* backends (Pg, Mysql, Sqlite) into a new Yancy::Backend::Role::Relational and Yancy::Backend::Role::MojoAsync
- Increased dependency on Mojolicious::Plugin::OpenAPI to 2.12 to fix failing Yancy tests.
Documentation
Start the standalone Yancy web application
Handles talking to the database.
How to configure Yancy
How to run Yancy without writing Perl code
Modules
Embed a simple admin CMS into your Mojolicious application
A simple framework and editor for content-driven Mojolicious websites
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 relational backend relational capabilities
A role to give a relational backend relational capabilities
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/.gitignore
- eg/doc-site/README.md
- eg/doc-site/cpanfile
- eg/doc-site/deploy.sh
- eg/doc-site/docs.db
- eg/doc-site/myapp.pl
- eg/doc-site/myapp.preaction.conf
- eg/doc-site/public/screenshot-edit.png
- eg/doc-site/public/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/deploy.sh
- eg/todo-app/myapp.pl
- eg/todo-app/todo-app.service