Skip to content

Commit

Permalink
0.5.1 whoops backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory Dodt committed Dec 30, 2017
1 parent 0a06d6a commit 57af701
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,8 @@ A library of utilities for systems application development
- codado.tx.Main: a Twisted Usage helper that creates a useful main() function
- codado.dockerish: a docker event listener that integrates with the Twisted
event loop and can automatically call handlers for events
- codado.kleinish.tree: a decorator for klein @route methods that delegates
into another class with a "subklein" of other routes

- urltool: A command-line tool that dumps klein routes from a project, when
the project is using kleinish.tree

## Running Tests

```
Expand All @@ -38,6 +34,10 @@ $ twine upload dist/*
```

## Change Log
### [0.5.1] - 2017.12.29
#### Added:
- For backward compatibility, restore `codado.kleinish.tree` and `.openapi` (which are still deprecated)

### [0.5.0] - 2017.12.29
#### Added:
- fix `install_requires` missing `mock` to help pip installation
Expand All @@ -58,5 +58,6 @@ $ twine upload dist/*
- 0.4: Initial public usable release

[Crosscap]: https://github.com/corydodt/Crosscap
[0.5.1]: https://github.com/corydodt/Codado/compare/release-0.5.0...release-0.5.1
[0.5.0]: https://github.com/corydodt/Codado/compare/release-0.4.0...release-0.5.0
[0.4]: https://github.com/corydodt/Codado/tree/release-0.4.0
2 changes: 1 addition & 1 deletion codado/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "0.5.0"
__version__ = "0.5.1"
__all__ = ["__version__"]
6 changes: 6 additions & 0 deletions codado/kleinish/openapi.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""
Backwards-compatibility only: import textHTML and queryParameter
"""
from crosscap.openapi import textHTML, queryParameter

(textHTML, queryParameter) # for pyflakes
6 changes: 6 additions & 0 deletions codado/kleinish/tree.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""
Backwards-compatibility only: import the decorators
"""
from crosscap.tree import enter, openAPIDoc

(enter, openAPIDoc) # for pyflakes

0 comments on commit 57af701

Please sign in to comment.