Skip to content

Commit c03aec2

Browse files
committed
Release v1.0.0
1 parent ebeb8a7 commit c03aec2

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed

CHANGES.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
v1.0.0, unreleased
1+
v1.0.0, 14 Jan 2022
22
Propagate exceptions raised by the user's packet callback
33
Avoid calls to the packet callback during queue unbinding
44
Raise an error if a packet verdict is set after its parent queue is closed
@@ -9,7 +9,7 @@ v1.0.0, unreleased
99
Add type hints
1010
Remove the Packet.payload attribute; it was never safe (treated as a char* but not NUL-terminated) nor documented, but was exposed in the API (perhaps inadvertently).
1111

12-
v0.9.0, 12 Jan 2021
12+
v0.9.0, 12 Jan 2022
1313
Improve usability when Packet objects are retained past the callback
1414
Add Packet.retain() to save the packet contents in such cases
1515
Eliminate warnings during build on py3

README.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
.. image:: https://img.shields.io/pypi/v/netfilterqueue.svg
2+
:target: https://pypi.org/project/netfilterqueue
3+
:alt: Latest PyPI version
4+
5+
.. image:: https://github.com/oremanj/python-netfilterqueue/actions/workflows/ci.yml/badge.svg?branch=master
6+
:target: https://github.com/oremanj/python-netfilterqueue/actions?query=branch%3Amaster
7+
:alt: Automated test status
8+
19
==============
210
NetfilterQueue
311
==============
@@ -9,6 +17,9 @@ or given a mark.
917
libnetfilter_queue (the netfilter library, not this module) is part of the
1018
`Netfilter project <http://netfilter.org/projects/libnetfilter_queue/>`_.
1119

20+
The current version of NetfilterQueue requires Python 3.6 or later.
21+
The last version with support for Python 2.7 was 0.9.0.
22+
1223
Example
1324
=======
1425

netfilterqueue/_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# This file is imported from __init__.py and exec'd from setup.py
22

3-
__version__ = "0.9.0+dev"
4-
VERSION = (0, 9, 0)
3+
__version__ = "1.0.0"
4+
VERSION = (1, 0, 0)

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
name="NetfilterQueue",
4545
version=__version__,
4646
license="MIT",
47-
author="Matthew Fox",
48-
author_email="matt@tansen.ca",
47+
author="Matthew Fox <matt@tansen.ca>, Joshua Oreman <oremanj@gmail.com>",
48+
author_email="oremanj@gmail.com",
4949
url="https://github.com/oremanj/python-netfilterqueue",
5050
description="Python bindings for libnetfilter_queue",
5151
long_description=open("README.rst", encoding="utf-8").read(),

0 commit comments

Comments
 (0)