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

Tags: jbasko/runtime-context

Tags

v3.0.0

Toggle v3.0.0's commit message
* Allow multiple independent context stacks per thread

* Renames RuntimeContext to RuntimeContextWrapper
* Each stack item is aware of its wrapper and is able to pop itself
* Push base context on initialisation for every wrapper so that one is always inside a context
* Adds push_context and pop_context methods on RuntimeContextWrapper to simplify access when "with" syntax is not convenient
* Bump version: 2.0.0 → 3.0.0

v2.0.0

Toggle v2.0.0's commit message
* Backwards incompatible rename of context_var_updated to context_var…

…_set -- also, it is no longer triggered on context exit

* New event context_var_reset which is triggered on context exit
* Adds individual context var reset method and delattr functionality on both RuntimeContext and EnvBase

* Bump version: 1.3.0 → 2.0.0

v1.3.0

Toggle v1.3.0's commit message
* Fixes dictionary modification while iteration in context_var_update…

…d handling if that involved setting vars

* Adds RuntimeContext.reset_context
* Adds EnvBase.reset_context
* Examples

* Bump version: 1.2.2 → 1.3.0

v1.2.2

Toggle v1.2.2's commit message
Add EnvBase to exports

Bump version: 1.2.1 → 1.2.2

v1.2.1

Toggle v1.2.1's commit message
Fixes hookery version spec

Bump version: 1.2.0 → 1.2.1

v1.2.0

Toggle v1.2.0's commit message
* Updated for hookery v2 to allow simpler listening to individual con…

…text var changes

* Allow setting runtime context vars by setting attributes on runtime context
* Bump version: 1.1.0 → 1.2.0

v1.1.0

Toggle v1.1.0's commit message
* Allow listening to context var updates via Env.context_var_updated …

…hook

* RuntimeContext.context_entered and RuntimeContext.context_exited event handlers now get context_vars instead of rather pointless runtime_context reference

* Bump version: 1.0.0 → 1.1.0

v1.0.0

Toggle v1.0.0's commit message
* Simplified rewrite of env

* Bump version: 0.5.0 → 1.0.0

v0.5.0

Toggle v0.5.0's commit message
* RuntimeContextEnv cannot be strictly strict because user may still …

…want to set instance attributes on their custom Env class. This removes the impractical strictness.

* Adds tox.sh script
* Bump version: 0.4.1 → 0.5.0

v0.4.1

Toggle v0.4.1's commit message
travis.yml