diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 0325263..ce688de 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,9 +1,8 @@ [bumpversion] -current_version = 1.2.1 +current_version = 2.0.0 commit = True tag = True [bumpversion:file:setup.py] [bumpversion:file:scrapy_deltafetch/__init__.py] - diff --git a/CHANGES.rst b/CHANGES.rst index f8b0d6f..ec880d7 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,5 +1,13 @@ Changes ======= +2.0.0 (2021-09-20) +------------------ +* drop Python 2 support +* replace bsddb3 with Python's dbm for storing request fingerprints +* minor README fix +* option to disable deltafetch for some requests with +deltafetch_enabled=False request meta key +* dev workflow: changed from Travis to Github Actions 1.2.1 (2017-02-09) ------------------ diff --git a/README.rst b/README.rst index 537c349..07880e1 100644 --- a/README.rst +++ b/README.rst @@ -1,12 +1,22 @@ ================= scrapy-deltafetch ================= + +.. image:: https://github.com/scrapy-plugins/scrapy-deltafetch/workflows/CI/badge.svg + :target: https://github.com/scrapy-plugins/scrapy-deltafetch/actions -.. image:: https://travis-ci.org/scrapy-plugins/scrapy-deltafetch.svg?branch=master - :target: https://travis-ci.org/scrapy-plugins/scrapy-deltafetch +.. image:: https://img.shields.io/pypi/pyversions/scrapy-deltafetch.svg + :target: https://pypi.python.org/pypi/scrapy-deltafetch -.. image:: https://codecov.io/gh/scrapy-plugins/scrapy-deltafetch/branch/master/graph/badge.svg - :target: https://codecov.io/gh/scrapy-plugins/scrapy-deltafetch +.. image:: https://img.shields.io/pypi/v/scrapy-deltafetch.svg + :target: https://pypi.python.org/pypi/scrapy-deltafetch + +.. image:: https://img.shields.io/pypi/l/scrapy-deltafetch.svg + :target: https://pypi.python.org/pypi/scrapy-deltafetch + +.. image:: https://img.shields.io/pypi/dm/scrapy-deltafetch.svg + :target: https://pypistats.org/packages/scrapy-deltafetch + :alt: Downloads count This is a Scrapy spider middleware to ignore requests to pages seen in previous crawls of the same spider, diff --git a/scrapy_deltafetch/__init__.py b/scrapy_deltafetch/__init__.py index b6996d7..4b08a78 100644 --- a/scrapy_deltafetch/__init__.py +++ b/scrapy_deltafetch/__init__.py @@ -1,4 +1,4 @@ from .middleware import DeltaFetch -__version__ = "1.2.1" +__version__ = "2.0.0" diff --git a/setup.py b/setup.py index 0e2819a..93cb20c 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='scrapy-deltafetch', - version='1.2.1', + version='2.0.0', license='BSD', description='Scrapy middleware to ignore previously crawled pages', author='Scrapinghub',