Skip to content

Commit

Permalink
Add CHANGELOG.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
erik committed Jan 11, 2019
1 parent 0340e47 commit b8444ae
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 2 deletions.
51 changes: 51 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
Changelog
=========

v1.1.0-dev (unreleased)
-----------------------

New
~~~

- Add ``RequireForeignKey`` rule.

Changes
~~~~~~~

- Split ``"postgres"`` preset into ``"postgres"`` and
``"postgres-zero-downtime"``.
- Strip RST code directives from message explanations and rules.
- Sort API documentation based on file order rather than
alphabetically.

Fixes
~~~~~

- Support DOS ``\r\n`` line-endings for reporting issue location.
- Fix calls to logger to correctly report module.

v1.0.0 (2019-01-05)
-------------------

New
~~~
- Added -e, --explain to print out detailed explanation of why a
message was raised.
- Added -r, --reporter to override reporter on command line.
- Added support for reading from stdin.
- Added ``full`` preset.
- Added ``Severity`` enum for LintIssues.
- Added ``sqlint`` reporter for compatibility with tooling targeting
sqlint.
- Added ``DisallowFloatTypes`` rule.
- Added user facing documentation for https://squabble.readthedocs.org

Changes
~~~~~~~
- Improved existing API documentation with type signatures and examples.
- Removed BaseRule.MESSAGES in favor of squabble.message.Message

v0.1.0 (2018-12-27)
-------------------

- Initial release.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from setuptools import setup, find_packages

__version__ = '1.1.0rc0'
__version__ = '1.1.0rc1'


readme_path = os.path.join(os.path.dirname(__file__), 'README.rst')
Expand Down
2 changes: 1 addition & 1 deletion squabble/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ def asdict(self):
Return dictionary representation of message, for formatting.
>>> class SummaryMessage(Message):
... '''A useful message.'''
... CODE = 90291
... TEMPLATE = 'everything is {status}'
...
>>> msg = SummaryMessage(status='wrong')
>>> msg.asdict() == {
... 'message_id': 'SummaryMessage',
Expand Down

0 comments on commit b8444ae

Please sign in to comment.