Jklib

Latest version: v5.1.1

Safety actively analyzes 623807 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

5.1.1

- [meili] Sleep time for indexer tests is now a class variable that defaults to 0.1s

5.1.0

- [dj] Added new test assertions in `ImprovedTestCase`
- [dj] Added `ImprovedModel` with pre/post save/delete hooks
- [meili] Added the `meili` folder with utilities to interact with MeiliSearch. Includes:
- types
- search utils
- Model indexer and serializers for Django (with test utils)

5.0.2

- [dev] Updated linters and pre-commits
- [dj] Added new assertions to `ImprovedTestCase`
- [dj] Replaced `NoBulkManager` with `ImprovedManager` which provides more flexibility
- Can use `ImprovedManager(allow_bulk=False)` to disable bulk operations
- [dj] Added `generate_json_streaming_content` to `ImprovedViewSet` to stream JSON response
- Added `parse_streaming_response` in test utils to handle streaming responses in unittests
- Updated `APITestCase.build_url` to use the endpoint's name like `reverse` and also handle query params

Breaking changes
- [dj] Removed `LifeCycleAbstractModel`

---

4.0.0

- Update local development configuration (pre-commits, requirements, etc.)
- Removal of most packages, and kept only **std** and **django_utils**
- Renamed **django_utils** package as **dj**
- Added new functions in both **dj** and **std** packages

---

3.2.2

Added
N/A

Changed
- [Django] Emails now have a default subject which can be overriden when calling `Email.send`

Fixed
- [Django] Fixed emails not being sent when using the `cc` and `to` parameters

Removed
- [Django] Removed the `commands` and the `operations` utilities

---

3.2.1

Added
- [Core] For local development, added multiple libraries in the `requirements.txt` file

Changed
N/A

Fixed
- [Django] Fixed multiple incorrect imports

Removed
- [Django] Removed the `assertImageToBase64` from the `ImprovedTestCase`

---

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.