-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #807 from mdyd-dev/release-notes-02-dec-2019
release notes
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
converter: markdown | ||
metadata: | ||
title: Page identified based o physical_file_path, optional slug, improvement for profiling slow pages, fixing *_delete_all mutations | ||
description: December 02, 2019 | ||
contributors: false | ||
slug: release-notes/02-DECEMBER-2019 | ||
searchable: true | ||
--- | ||
|
||
#### {{ page.metadata.description }} | ||
|
||
<h4 class="release-note release-note__new">NEW</h4> | ||
|
||
* update Page based on `physcal_file_path` instead of slug. This fixes UX issue - when pos-cli sync was enabled, modifying slug/format/method could create duplicate Page objects with the same physical file path. Fixes also UX issue which allowed you to have multiple Pages with the same slug - now uniqueness validation error will be triggered. Last but not least - **slug became optional** - by default path to page will correspond to file path. For example `/hello/world` will display content of `app/views/pages/hello/world`, previously you had to define slug as follows: | ||
``` | ||
--- | ||
slug: /hello/world | ||
--- | ||
Hello World | ||
``` | ||
|
||
<h4 class="release-note release-note__improved">IMPROVED</h4> | ||
|
||
* Profiler percentage output for [Profiling Slow Pages](/best-practices/performance/profiling-slow-pages) | ||
|
||
<h4 class="release-note release-note__fixed">FIXED</h4> | ||
|
||
Avoid race condition in *_delete_all mutations - since actual deletion takes place in a background, make sure that users created between scheduling a background task and executing it won't be deleted | ||
|
||
## pos-cli changes | ||
|
||
`pos-cli` changelog is [kept separately](https://github.com/mdyd-dev/pos-cli/blob/master/CHANGELOG.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters