1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
|
python-inject changes
=====================
### 5.3.0 (2025-06-20)
- Handle autoparams usage without braces, #115.
### 5.2.1 (2024-03-24)
- Remove type stubs as source has type hints, #95.
- Added context manager condition to attr function, #96, #94.
### 5.2.0 (2023-11-23)
- Context managers support.
### 5.1.0 (2023-10-17)
- Optionally allow overriding dependencies.
- Unified configure syntax with clear and once flags.
### 5.0.0 (2023-06-10)
- Support for PEP0604 for Python>=3.10.
### 4.3.1 (2020-08-17)
- Use assertRaisesRegex instead of assertRaisesRegexp to fix deprecation warnings.
### 4.3.0 (2020-08-11)
- Support for classes in autoparams, #59.
- Support for asyncio, #66.
### 4.2.0 (2020-05-15)
- Migrated autoparams and annotations to typing.get_type_hints.
- Fix boolean casting to make possible to inject DataFrame (#55) #56.
- Add support for forward references #54.
### 4.1.2 (2020-04-13)
- Include py.typed and manifest in dist, #50.
### 4.1.1 (2020-02-25)
- UTF8 encoding for readme in setup.py, #48.
### 4.1.0 (2020-02-24)
- More precise typing #47.
- Removed Python 3.5 support.
### 4.0.0 (2019-11-25)
- Drop Python <3.5 support.
- [feature] Add typed information, #43.
- [chore] Remov old typing information as it is no longer relevant for v4.0.0, #43.
### 3.5.4 (2019-07-30)
- MyPy compatibility #36.
### 3.5.3 (2019-07-24)
- AttributeError: type object 'Callable' has no attribute '_abc_registry' #34
### 3.5.2 (2019-07-10)
- Modify type-hints to support Hashable bindings and other improvements, #33.
- Merge these type-hints into the .py file instead of having a .pyi file, #33.
### 3.5.1 (2019-04-16)
- Export Binder and Injector in pyi, #29.
- Make autoparams work with keyword-only parameters, #26.
### 3.5.0 (2019-03-11)
- Configurable auto-initialization, #23
[@Fedorof](https://github.com/Fedorof).
### 3.4.0 (2018-08-01)
- Type hinting in Python 3, #20
[@Enforcer](https://github.com/Enforcer).
- Autoparams leveraging types annotations, #21
[@Enforcer](https://github.com/Enforcer).
### 3.3.2 (2017-09-14)
- Use getfullargspec when executing in Python3, #17
[@jaimewyant](https://github.com/jaimewyant).
### 3.3.1 (2015-03-28)
- Fixed race condition in bind_to_constructor, #14
[@peick](https://github.com/peick).
### 3.3.0 (2014-08-22)
- Added `inject.params(arg1=cls1, arg2=cls2)`, deprecated `inject.param`, #12
(thanks [@scharf](https://github.com/scharf)).
### 3.2.0 (2014-08-04)
- Added `inject.configure_once` and `inject.is_configured`, #11.
### 3.1.1 (2014-03-14)
- Switch from root logger to module logger, #8.
### 3.1.0 (2014-03-07)
- `inject.param` decorator.
- Small fixes in exceptions.
### 3.0.0 (2014-02-10)
- Smaller, better, faster version with simpler and cleaner API.
### 2.0.0-alpha1 (2010-08-25)
- Second version (never made it to stable).
### 1.0.0 (2010-02-12)
- Initial release.
|