Skip to content

Commit

Permalink
Version bump to 4.0.0 and changelog description.
Browse files Browse the repository at this point in the history
  • Loading branch information
benvand committed Apr 19, 2017
1 parent c2f8b4d commit c5dae54
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
24 changes: 23 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@

Records breaking changes from major version bumps

## 4.0.0

PR: [#36](https://github.com/alphagov/digitalmarketplace-content-loader/pull/36/files)

### What changed

New question type `Date` and non-backwards compatible change to `Question.unformat_data` which now returns only data
relevant to the given question.

### Example Change

#### Old
```
>>> question.unformat_data({"thisQuestion": 'some data', "notThisQuestion": 'other data'})
{"thisQuestion": 'some data changed by unformat method', "notThisQuestion": 'other data'}
```
#### New
```
>>> question.unformat_data({"thisQuestion": 'some data', "notThisQuestion": 'other data'})
{"thisQuestion": 'some data changed by unformat method'}
```


## 3.0.0

PR: [#25](https://github.com/alphagov/digitalmarketplace-content-loader/pull/25)
Expand All @@ -13,7 +36,6 @@ and multiple followups for a single question. This requires changing the questio
syntax for listing followups, so the content loader is modified to support the new format
and will only work with an updated frameworks repo.


### Example change

#### Old
Expand Down
2 changes: 1 addition & 1 deletion dmcontent/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
from .errors import ContentTemplateError, QuestionNotFoundError
from .questions import ContentQuestion

__version__ = '3.7.0'
__version__ = '4.0.0'

0 comments on commit c5dae54

Please sign in to comment.