v1.12.1

adbar/trafilaturav1.12.1Aug 20, 2024by adbar

AI Summary

Navigation and bugfix release focusing on crawler improvements, memory error fixes, and code maintenance with type annotations.

Key Highlights

  • Spider restricts search to sections containing URL path
  • Crawler parameter class with types added (breaking for undocumented functions)
  • Fixed AttributeError in element deletion
  • Fixed MemoryError in table header columns
  • Extended tests and added types

Breaking Changes

  • Breaking change for undocumented functions in crawler parameter class

New Features

  • URL path section restriction in spider
  • Crawler parameter class with types
  • Memory and AttributeError fixes
  • Type annotations and extended test coverage

Full Release Notes

Navigation:
- spider: restrict search to sections containing URL path (#673)
- crawler: add parameter class and types, **breaking change** for undocumented functions (#675)
- maintenance: simplify link discovery and extend tests (#674)
- CLI: review code, add types and tests (#677)

Bugfixes:
- fix `AttributeError` in element deletion (#668)
- fix `MemoryError` in table header columns (#665)

Docs:
- docs: fix variable name for extract_metadata in quickstart by @jpigla in #678