Skip to content

Releases: pomponchik/escaping

0.0.13

22 Apr 17:38
2f0f318
Compare
Choose a tag to compare

A small update.

  • Added a new exception type: SetDefaultReturnValueForGeneratorFunctionError.
  • Added anew type of callbacks - which is called before the main code.

0.0.12

09 Apr 17:00
6b6de51
Compare
Choose a tag to compare

A major and important update.

  • The @escape decorator now supports generator functions!
  • Added logging option in case of success.
  • Now you can define your own messages for logging in case of success and in case of error.
  • Added the ability to send a callback in case of an error.
  • The documentation was slightly expanded and added some keywords.

0.0.11

31 Mar 13:27
1e9aa6e
Compare
Choose a tag to compare

A small but important update.

  • Added the ability to send a callback for situations where the code has completed without errors.
  • A new section has been added to the README - Callbacks.

0.0.9

02 Mar 21:21
9beb1af
Compare
Choose a tag to compare

A very big and important update.

  • Now exceptions can be passed to the decorator and context manager directly, without wrapping them in a list or tuple.
  • Added Ellipsis support.
  • Added a logo.
  • A new classifier added.
  • Linters are now running for tests as well.

0.0.8

19 Feb 22:43
ffd1d4d
Compare
Choose a tag to compare

An important update.

  • Added the ability to log exceptions. To do this, the user needs to pass their logger object.

0.0.7

04 Feb 20:31
1e6a892
Compare
Choose a tag to compare

A minor change in the tests.

0.0.6

02 Feb 23:03
bb48b86
Compare
Choose a tag to compare

A small update.

  • The tests have been slightly strengthened, and a tool for mutation testing has also been added.
  • The code has been simplified a bit.

0.0.5

26 Jan 21:01
0617214
Compare
Choose a tag to compare

A big, but not particularly important update. Only the naming has been changed.

  • The module name changed from exception_escaping to escape.
  • The default_return parameter renamed to just default.

0.0.4

11 Jan 16:39
2d98e5a
Compare
Choose a tag to compare

Only a little documentation fix.

0.0.3

11 Jan 16:09
8bdf7ba
Compare
Choose a tag to compare

A big update.

  • Added decorator mode as with brackets
  • Added the ability to specify the default return value.
  • Added the ability to specify specific exceptions for suppression.
  • Added еhe context manager mode.
  • Expanded documentation.