Skip to content

Commit

Permalink
Prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronef committed Apr 29, 2020
1 parent 8526441 commit 677b62a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# (MODX)EvolutionCMS.snippets.ddStash changelog


## Version 1.1 (2020-04-29)
* \+ Added the ability to return objects and arrays in JSON format (see README.md).
* \+ Added the ability to extend an existing object instead of overwriting it (see `save_extendExisting`).
* \+ README, CHANGELOG: Style improvements.
* \* REAMDE → Parameters description → `save`: Small improvements.
* \* Composer.json:
* \* `version`: Fixed format.
* \+ `keywords` → `stash`.
* \+ `require`.


## Version 1.0 (2019-10-31)
* \+ The first release.

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# (MODX)EvolutionCMS.snippets.ddStash

Сохранение данных для последующего использования.
Save data as JSON or QueryString, then extend if needed and use it later without database queries.


## Requires
Expand All @@ -18,7 +18,7 @@
Elements → Snippets: Create a new snippet with the following data:

1. Snippet name: `ddStash`.
2. Description: `<b>1.0</b> Сохранение данных для последующего использования.`.
2. Description: `<b>1.1</b> Save data as JSON or QueryString, then extend if needed and use it later without database queries.`.
3. Category: `Core`.
4. Parse DocBlock: `no`.
5. Snippet code (php): Insert content of the `ddStash_snippet.php` file from the archive.
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "dd/evolutioncms-snippets-ddstash",
"type": "modxevo-snippet",
"version": "1.0.0",
"description": "Сохранение данных для последующего использования.",
"version": "1.1.0",
"description": "Save data as JSON or QueryString, then extend if needed and use it later without database queries.",
"keywords": [
"modx",
"modx evo",
Expand Down
4 changes: 2 additions & 2 deletions ddStash_snippet.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php
/**
* ddStash
* @version 1.0 (2019-10-31)
* @version 1.1 (2020-04-29)
*
* @see README.md
*
* @copyright 2019 DivanDesign {@link http://www.DivanDesign.biz }
* @copyright 2019–2020 DD Group {@link http://www.DivanDesign.biz }
*/

//Include (MODX)EvolutionCMS.libraries.ddTools
Expand Down

0 comments on commit 677b62a

Please sign in to comment.