Motifer

Latest version: v1.1.2

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

Scan your dependencies

Page 1 of 2

1.1.2

In this update, we've addressed a critical issue that some of our users have encountered. We want to ensure the smooth functioning of our product, and your feedback plays a crucial role in achieving that goal.

**Bug Fixed:**

KeyError When User-Agent is Missing (Issue 4):
Previously, there was an issue where a KeyError was being thrown if there was no User-Agent header in the HTTP request. We understand the frustration and inconvenience this bug caused, and we're pleased to announce that it has been resolved in this release. Our logger now gracefully handles requests without a User-Agent header, ensuring a seamless and error-free logging experience.

What's Changed
* if there is no user-agent in the headers, then KeyError was thrown by josephsachdeva in https://github.com/mahajanankur/motifer-py/pull/4


**Full Changelog**: https://github.com/mahajanankur/motifer-py/compare/1.1.1...1.1.2

1.1.1

We're excited to introduce the latest version of Motifer, your go-to Python logger for seamless and insightful logging. In this release, we've focused on enhancing the user experience and providing even more flexibility in managing your logs. Here's what's new:

**Enhancements:**

- **Selective Request Body Key Printing:** Now, Motifer offers a more refined approach to logging request bodies. With this enhancement, the logger will intelligently print request body keys only if the size of the request body exceeds 1000 chars. This means that when dealing with larger payloads, you'll have a more concise and readable log output, focusing only on the essential details. This feature helps you save space in your logs and makes it easier to identify critical information in high-traffic scenarios.

1.1.0

Release Notes:

1. We are excited to announce that we have added FastAPI support to our system.
2. We have also introduced internal server-level configuration file support, allowing you to patternize the internal logs of FastAPI and Flask frameworks.
3. This new feature makes it easier for you to integrate Motifer with FastAPI and Flask web applications, allowing you to monitor and analyze logs in a more organized and efficient manner.
4. With this new addition, you can now enjoy seamless integration with FastAPI, one of the most popular Python web frameworks, and make the most of Motifer's advanced log monitoring capabilities.

1.0.5

Added support for Generic Flask versions. Motifer now supports all flask version after 2.0.1.

1.0.4

Bugfix - Multiple filters registered with multiple objects.

1.0.2

Bugfix

1. If a GET or similar method has a content type of application/json, an exception occurs that prevents the request log from being printed. This has been fixed.
2. Request body is printed in JSON format earlier it was of Python Dictionary type.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.