nicer changelog

This commit is contained in:
Alex Grintsvayg 2017-04-25 16:51:30 -04:00
parent 8495e62329
commit c7161ba1ac
2 changed files with 24 additions and 1 deletions

View file

@ -8,6 +8,7 @@ can and probably will change functionality and break backwards compatability
at anytime.
## [Unreleased]
### Added
*
*
@ -20,7 +21,17 @@ at anytime.
*
*
### Deprecated
*
*
### Removed
*
*
## [0.10.0] - 2017-04-25
### Added
* Add `lbryschema_version` to response from `version`
* Added call to `get_address_balance` when `address` conditional returns true
@ -34,14 +45,17 @@ at anytime.
* fixed signing of Windows binaries
* fixed a few pylint warnings
## [0.10.0rc2] - 2017-04-17
### Changed
* Return full `lbry_id` and `installation_id` from `status`
## [0.10.0rc1] - 2017-04-13
### Fixed
* Fix uncaught exception in `stream_cost_estimate`
## [0.9.2rc22] - 2017-04-12
### Added
* Add `claim_id` parameter to `claim_show`

View file

@ -24,6 +24,14 @@ TEMPLATE = """### Added
*
*
### Deprecated
*
*
### Removed
*
*
"""
@ -96,6 +104,7 @@ class Changelog(object):
output.append('### {}'.format(section))
for entry in sections[section]:
output.append(' * {}'.format(entry))
output.append("\n")
return output
def get_unreleased(self):
@ -106,7 +115,7 @@ class Changelog(object):
return
today = datetime.datetime.today()
header = '## [{}] - {}\n'.format(version, today.strftime('%Y-%m-%d'))
header = "## [{}] - {}\n\n".format(version, today.strftime('%Y-%m-%d'))
changelog_data = (
''.join(self.start) +