Fillmore

Latest version: v2.1.0

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

Scan your dependencies

Page 1 of 2

2.1.0

--------------------------

* Drop support for Python 3.8. (72)
* Fix issue with cookie scrubbing. (73)
* Add support for Python 3.13. (71)
* Add support for Django 5.1. (78)

2.0.1

-------------------------

* Fix sentry-sdk deprecation error with ``sentry_sdk.Hub``. (66)

2.0.0

-----------------------

* Support sentry-sdk >2 (51)

This reworks fillmore to work with sentry-sdk >2 which made a lot of
internal API changes.

Because of how the sentry-sdk changed, this commit introduces a set of
backwards-incompatible changes to fillmore--mostly in the test module:

* fillmore no longer works with sentry-sdk <2

* ``fillmore.test.SentryTestHelper`` transport captures envelopes sent to
``/envelope`` and no longer captures events sent to ``/store``

* removed ``fillmore.test.SentryTestHelper.events`` property and replaced
``fillmore.test.SentryTestHelper.envelopes`` and
``fillmore.test.SentryTestHelper.envelope_payloads``. The latter is much
like what ``.events`` returned

For example, this::

stuff happens
assert len(sentry_helper.events) == 1
assert sentry_helper.events[0] == {
"breadcrumbs": ...
...
}

becomes this::

stuff happens
assert len(sentry_helper.envelopes) == 1
assert sentry_helper.envelope_payloads[0] == {
"breadcrumbs": ...
...
}

* generalized ``fillmore.test.diff_event`` to
``fillmore.test.diff_structure``

It works the same, but it's not event-centric anymore. It works
with ``envelope.payload.json`` data.

1.3.0

-----------------------

* Switch project to use ruff for formatting. (42)

* Switch project to use pyproject for project configuration. (43)

* Pin sentry-sdk support to ``sentry-sdk<2``. Fillmore 2.x will support
``sentry-sdk>2``, but it requires backwards incompatible changes. (51)

* Add support for Django 5.0 (53)

* Drop support for Django 3.2, 4.1, and 4.2 (54)

1.2.0

--------------------------

* Add support for Python 3.12 (32)

* Add support for Django 4.2 (33)

1.1.0

-----------------------

* Switch from flake8 to ruff (24)

* Add ``fillmore.test.diff_event`` utilify function for comparing a Sentry
event with an expected structure accounting for ``unittest.mock.ANY``. (23)

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.