Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/abecms/abecms
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed Apr 23, 2017
2 parents 66f258d + d3ec0b7 commit 2641130
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions version3.md
Expand Up @@ -140,5 +140,20 @@ For now:
To migrate from a version 2, you'll have to make sure to refactore (if used) these methods
- src/cli/cms/operations/remove.js function has a new signature. It was previously ```cmsOperations.remove(jsonPath, htmlPath)```. It's now ```cmsOperations.remove(filePath)```. You'll have to call it 2 times if you want to remove a json file and a html file.
- src/cli/cms/Page.js class has a new signature. it was previously ```new Page(templateId, template, json, onlyHTML)```. It's now ```new Page(template, json, onlyHTML)```
- Some attributes have been removed from the Manager list of posts:
- htmlPath
- cleanName
- cleanFilename
- filePath
- cleanPath
- parentRelativePath
- html
- Some attributes have been removed from an Abe document:
- cleanDate
- type
- 3 routes have a new endpoint:
- abe/create => abe/operations/create
- abe/update => abe/operations/update
- abe/duplicate => abe/operations/duplicate


0 comments on commit 2641130

Please sign in to comment.