diff --git a/CHANGES.txt b/CHANGES.txt index 2247d84..668a5ea 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,35 @@ +0.2.1 (2013-07-03) +------------------ + +Features +~~~~~~~~ + +- Added a method to easily change error statuses after validation methods are + run + +Bug Fixes +~~~~~~~~ + +- Textarea template whitespace was causing undesirable rendering + +- Updated the Button Node to use the proper template inheritence + +- Modified insert_validator to accept iterables as the other insert function + does + +- Fixed a documentation bug giving the wrong attribute name for an action + +Maintenance/Stability +~~~~~~~~~~~~~~~~~~~~~ + +- Wrote tests for all new features + +- Expanded details in minor places in documentation + +- Added checking on attribute name collisions with Nodes to make the mistakes + easier to debug + + 0.2.0 (2013-06-28) ------------------ diff --git a/README.md b/README.md index 8e73518..4b8f2f6 100755 --- a/README.md +++ b/README.md @@ -35,6 +35,13 @@ curve. compatibility. This should be the last time as this code base is maturing, but be cautious if upgrading any production code to the latest release.** +**Breaking Changes Are:** ++ Validation methods now return a tuple containing (1) Success value (2) Data + (Json or rendered form). + ++ Semantics with which Nodes interact with piecewise validation have changed + with the re-write, but this only effects people writing custom Nodes. + Getting Started ================ @@ -55,62 +62,41 @@ Get Involved Any and all contributions to Yota are gladly welcomed. Simply fork the repository and make a pull request with your addition or open an issue for the -maintainers to consider. If you're looking to help out, there are several -tickets tagged with "maintinance" that can be completed. Adding yourself to the +maintainers to consider. Please include 100% test coverage with all pull +requests. If you're looking to help out, there are several tickets tagged with +"maintinance" that should be easy starting point. Adding yourself to the CONTRIBUTORS.txt list when making a pull request is also encouraged. Latest Changes ================ -0.2.0 (2013-06-28) +0.2.1 (2013-07-03) ------------------ ### Features -- Added some more built-in Nodes and Validators such as - StrongPasswordValidator, MatchingValidator, RegexValidator, CheckboxNode, - etc. - -- Refactored all validation functions to return both a success bool value - alongside its output, making post-validation logic more clear and concise. - -### Refactor for Client Side Funcionality - -- Completely re-wrote the JavaScript library into a jQuery plugin. - -- Moved the selection loigc for Nodes that are "ready" to be validated into - server side, incurring marginal overheads. - -- Changed the error_render call semantics to track which Nodes have errors and - intelligently call the function. - -- Improved error rendering to support multiple errors. - -- Re-designed the semantic which finds the HTML node in which to place errors - on a per Node basis. json_identifiers function now passes these details to - the client side code allowing more flexible rendering. +- Added a method to easily change error statuses after validation methods are + run -- Allowed per-Node logic for deciding if the Node is ready to be validated - based on a list of visited Nodes. +### Bug Fixes -- Added a more robust render_success method that allows passing arbitrary - information to drive things like redirects, etc. +- Textarea template whitespace was causing undesirable rendering -### Documentation +- Updated the Button Node to use the proper template inheritence -- Large expansions in the documentation in almost all areas. More should be - coming steadily in the next few weeks. +- Modified insert_validator to accept iterables as the other insert function + does -- Re-wrote the yota_examples repository for improved clarity and commenting. +- Fixed a documentation bug giving the wrong attribute name for an action ### Maintenance/Stability -- Introduced simple functional tests to attempt coverage for behaviour that - cannot be unit tested +- Wrote tests for all new features -- Added commenting and specificity to existing unit tests +- Expanded details in minor places in documentation -- Added more unit tests to regain near 100% coverage. Touch ups to come soon. +- Added checking on attribute name collisions with Nodes to make the mistakes + easier to debug Installation ================ diff --git a/setup.py b/setup.py index bdb83ea..8283baf 100755 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ README = '' setup(name='yota', - version='0.2.0', + version='0.2.1', description='A form library with a focus on simplicity', long_description=README, classifiers=[