1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
|
.. currentmodule:: itemloaders
.. _release-notes:
Release notes
=============
.. _release-1.3.2:
itemloaders 1.3.2 (2024-09-30)
------------------------------
- Added official support for the upcoming Python 3.13 (:gh:`91`)
- Removed ``w3lib`` from direct dependencies (it's not used directly but is
an indirect dependency via ``parsel``). (:gh:`90`)
- Improved CI (:gh:`92`)
.. _release-1.3.1:
itemloaders 1.3.1 (2024-06-03)
------------------------------
- Fixed an error when using nested loaders with empty matches that was
introduced in 1.3.0 (:gh:`88`)
.. _release-1.3.0:
itemloaders 1.3.0 (2024-05-30)
------------------------------
- Added support for method chaining to the ``add_*`` and ``replace_*``
methods, so you can now write code such as
``loader.add_xpath("name", "//body/text()").add_value("url", "http://example.com")``
(:gh:`81`)
- Added type hints and ``py.typed`` (:gh:`80`, :gh:`83`)
- Made the docs builds reproducible (:gh:`82`)
.. _release-1.2.0:
itemloaders 1.2.0 (2024-04-18)
------------------------------
- Added official support for Python 3.12 and PyPy 3.10 (:gh:`75`)
- Removed official support for Python 3.7 (:gh:`72`)
- Improved performance of ``itemloaders.utils.arg_to_iter`` (:gh:`51`)
- Fixed test expectations on recent Python versions (:gh:`77`)
- Improved CI (:gh:`78`)
.. _release-1.1.0:
itemloaders 1.1.0 (2023-04-21)
------------------------------
- Added JMESPath support (:meth:`ItemLoader.add_jmes` etc.), requiring Parsel
1.8.1+ (:gh:`68`)
- Added official support for Python 3.11 (:gh:`59`)
- Removed official support for Python 3.6 (:gh:`61`)
- Internal code cleanup (:gh:`65`, :gh:`66`)
- Added ``pre-commit`` support and applied changes from ``black`` and
``flake8`` (:gh:`70`).
- Improved CI (:gh:`60`)
.. _release-1.0.6:
itemloaders 1.0.6 (2022-08-29)
------------------------------
- Fixes a regression introduced in 1.0.5 that would cause the ``re`` parameter of
:meth:`ItemLoader.add_xpath` and similar methods to be passed to lxml, which
would trigger an exception when the value of ``re`` was a compiled pattern and
not a string (:gh:`56`)
.. _release-1.0.5:
itemloaders 1.0.5 (2022-08-25)
------------------------------
- Allow additional args to be passed when calling :meth:`ItemLoader.add_xpath` (:gh:`48`)
- Fixed missing space in an exception message (:gh:`47`)
- Updated company name in author and copyright sections (:gh:`42`)
- Added official support for Python 3.9 and improved PyPy compatibility (:gh:`44`)
- Added official support for Python 3.10 (:gh:`53`)
.. _release-1.0.4:
itemloaders 1.0.4 (2020-11-12)
------------------------------
- When adding a :class:`scrapy.item.scrapy.Item` object as a value into an
:class:`ItemLoader` object, that item is now added *as is*, instead of
becoming a :class:`list` of keys from its :attr:`scrapy.item.scrapy.Item.fields`
(:gh:`28`, :gh:`29`)
- Increased test coverage (:gh:`27`)
.. _release-1.0.3:
itemloaders 1.0.3 (2020-09-09)
------------------------------
- Calls to :meth:`ItemLoader.get_output_value` no longer affect the output of
:meth:`ItemLoader.load_item` (:gh:`21`, :gh:`22`)
- Fixed some documentation links (:gh:`19`, :gh:`23`)
- Fixed some test warnings (:gh:`24`)
.. _release-1.0.2:
itemloaders 1.0.2 (2020-08-05)
------------------------------
- Included the license file in the source releases (:gh:`13`)
- Cleaned up some remnants of Python 2 (:gh:`16`, :gh:`17`)
.. _release-1.0.1:
itemloaders 1.0.1 (2020-07-02)
------------------------------
- Extended item type support to all item types supported by itemadapter_
(:gh:`13`)
- :ref:`Input and output processors <declaring-loaders>` defined in item
field metadata are now taken into account (:gh:`13`)
- Lowered some minimum dependency versions (:gh:`10`):
- ``parsel``: 1.5.2 → 1.5.0
- ``w3lib``: 1.21.0 → 1.17.0
- Improved the README file (:gh:`9`)
- Improved continuous integration (:gh:`e62d95b`)
.. _release-1.0.0:
itemloaders 1.0.0 (2020-05-18)
------------------------------
- Initial release, based on a part of the :doc:`Scrapy <scrapy:index>` code base.
.. _itemadapter: https://github.com/scrapy/itemadapter#itemadapter
|