Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Latest commit

 

History

History
68 lines (35 loc) · 2.36 KB

CHANGELOG.md

File metadata and controls

68 lines (35 loc) · 2.36 KB

Changelog

All notable changes to access-modifiers will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[0.3.1] - [2019-08-27]

Fixed

  • Make disable() available as access_modifiers.disable() instead of access_modifiers.access_modifiers.disable(). Fixes #14.

[0.3.0] - [2019-08-27]

Added

  • Added access_modifiers.disable() to disable access checks, e.g. in production. This method should be called before any access modifier decorators are compiled, so somewhere at the start of your program. Closes #3.

[0.2.1] - [2019-08-26]

Fixed

  • A public method calling a private method calling another private method would raise an AccessException. Fixes #10.

[0.2.0] - [2019-08-26]

Added

  • Allow for static private methods. Closes #4.

[0.1.4] - [2019-08-25]

Fixed

  • Make the access modifiers work when called from a dict comprehension, list comprehension, lambda, or other code block that gets its own frame. Fixes #5.

[0.1.3] - [2019-08-24]

Fixed

  • Another small performance improvement by using sys._getframe() instead of the inspect module to get the caller's frame. Fixes #2.

[0.1.2] - [2019-08-24]

Fixed

  • Improved performance. Creating methods with an access modifier is now a factor 2-3 slower than without access modifier. Invoking methods with an access modifier is a factor 10-20 slower than methods without access modifier. Fixes #2.

Added

  • Added performance tests. Closes #1.

[0.1.1] - [2019-08-24]

Fixed

  • Added PyPI installation instructions.

[0.1.0] - [2019-08-24]

Added

  • Initial release.