Skip to content
This repository was archived by the owner on Nov 28, 2021. It is now read-only.

Releases: anomaly/prestans

2.1.4

07 Mar 22:47

Choose a tag to compare

Adds

  • Adds support for custom responses when raising exception in handlers #149

2.1.3

08 Nov 22:02

Choose a tag to compare

Fixes

  • Fixes accidental double loop in closure model template #144

2.1.2

07 Nov 00:54

Choose a tag to compare

Fixes

  • Fixes pip release missing closure templates #143

Adds

  • Adds build and clean to Makefile

2.1.1

07 Nov 00:12

Choose a tag to compare

Adds

  • Adds raise validate exception flag to closure model constructor (useful for avoiding exception when cloning etc) #136
  • Adds closure compiler annotation to generated filters and models #134
  • Adds reference to request in AuthContext #127

Improves

  • Improves closure templates by breaking into macros for better maintainability #135
  • Improves regex matching by using the PATH_INFO environ variable, not the webob request.path #126

Fixes

  • Fixes response template containing an array of basic types values throwing AttributeFilter TypeError #131
  • Fixes serialisable exception check failing if app_iter is a list #140
  • Fixes Content-Disposition header breaking when filenames contain certain characters #142

2.0.16

25 Aug 06:13

Choose a tag to compare

Fixes

  • ErrorResponse is calling start_response before setting content, this causes issues in later version of mod wsgi #129

2.0.15

04 Jul 06:34

Choose a tag to compare

  • Fixed min and max exceptions not being raised for Integer when value is 0 #108
  • Fixed min and max exceptions not being raised for Float when value is 0.0 #109
  • Added unit testing for: #87
  • Make use of NotImplementedError instead of TypeError for unimplemented base methods #110
  • Fixed Minimum/Maximum check exceptions failing for parameter sets #91

2.0.14

03 Jun 06:00

Choose a tag to compare

  • Sets JSON serializers ensure_ascii parameter to False by default, Python JSON definition has it set to True by default. OSX Python has it set to False while Linux distributions like Ubuntu has it set to True. This change makes Prestans behave consistently across platforms
  • Adds support for closure model opt_name #103

2.0.13

06 Apr 05:31

Choose a tag to compare

  • Fixed length exceptions still using deprecated UnacceptableLengthError #106

2.0.12

06 Apr 05:30

Choose a tag to compare

  • Change stubs template loading to use pkg_resources #96
  • Fix listening for array events in closure model generation #97

2.0.11

14 Sep 09:11

Choose a tag to compare

  • Fixes PyPi install issues
  • Fixes import all in root pacakge