Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.19.7 #580

Closed
johanjanssens opened this issue Mar 10, 2021 · 0 comments
Closed

Release 0.19.7 #580

johanjanssens opened this issue Mar 10, 2021 · 0 comments
Assignees
Labels
Projects
Milestone

Comments

@johanjanssens
Copy link
Member

johanjanssens commented Mar 10, 2021

1. Improve model hash granularity #569

Improved the cache performance and cache granularity by storing required, internal and unique model states in the cache per collection and injecting them back in the model before calculating the hash.

Additionally introduced support for defining custom hash keys for the database and webservice collections. This allows to define how Pages calculates the hash. For example, if a database table contains a modified date, it could be used as the hash key.

Finally, added getHashState() method to the collection model interface to allow to easily specialise how hash states are calculated for custom model collections.

2. Page filters no longer working #571

Fixed a problem with page filters and added support for defining page filters in layouts. These changes give more control over how and when filters can be used. In your layout frontmatter you can now define filters, example

---
layout: default
process:
    filters: [highlight, toc]
---

<ktml:content>

3. Support data:// everywhere in frontmatter

Support for data:// everywhere in the frontmatter for both pages and layouts. You can find more information here: https://github.com/joomlatools/joomlatools-pages/wiki/Data#frontmatter

4. Add ComPagesObjectConfig #573

The objects acts as the base for ComPagesDataObject and is also used in page entity, template helpers and behaviours. Also added get() and has() methods to ComPagesPageObject and ComPagesPageEntity to make it easy to retrieve properties by path.

<?= page()->get('metadata/description') ?>

5. Form redirect to external url #579

External redirects are now supported for forms

6. Throw RuntimeError if collection cannot be found #556

Fixes

@johanjanssens johanjanssens added this to Issues in v0.19.7 via automation Mar 10, 2021
@johanjanssens johanjanssens self-assigned this Mar 10, 2021
@johanjanssens johanjanssens changed the title Release 0.19.6 Release 0.19.7 Mar 10, 2021
@johanjanssens johanjanssens mentioned this issue Mar 10, 2021
62 tasks
johanjanssens added a commit that referenced this issue Mar 10, 2021
v0.19.7 automation moved this from Issues to Ready Mar 10, 2021
@johanjanssens johanjanssens added this to the v0.19.7 milestone Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
v0.19.7
  
Ready
Development

No branches or pull requests

1 participant