Skip to content

Commit

Permalink
Release notes for 0.10.0 (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gallaecio authored Nov 7, 2024
1 parent 978877e commit 0586beb
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 0 deletions.
42 changes: 42 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,48 @@
Changes
=======

0.10.0 (2024-11-07)
-------------------

* Dropped official support for Python 3.8.

* The minimum supported versions of some dependencies have changed:

* ``lxml``: ``4.4.1`` → ``4.5.2``
* ``scikit-learn``: ``0.24.0`` → ``1.5.0``
* ``scipy``: ``1.5.0`` → ``1.6.2``

* New dependencies have been added:

* ``numpy`` ≥ ``1.19.5``
* ``packaging`` ≥ ``14.0``
* ``parsel`` ≥ ``1.1.0``
* ``platformdirs`` ≥ ``3.2.0``

* The ``formasaurus.utils.dependencies_string()`` function is now deprecated.

* Added a new function, ``build_submission``, to make Formasaurus :ref:`easier
to use <usage>`.

* Added a built-in model, so that you can use Formasaurus right away without
the need to first train a model on the built-in data.

* Changed the model serialization format, to minimize the chance of breakage
due to new versions of dependencies.

As a result, when specifying a model path, it is no longer the path to a
single file, but the base path for multiple files. For example, if ``model``
is specified as file path, 2 files are created, ``model-field.joblib`` and
``model-form.json``.

* When building a model, if a file path is not specified, the file path used by
default is now guaranteed to be user-writable.

* Removed the need to specify the ``[with-deps]`` or ``[with_deps]`` extra when
:ref:`installing <install>`.

* Improved the docs of :func:`~formasaurus.classifiers.extract_forms`.

0.9.0 (2024-06-19)
------------------

Expand Down
2 changes: 2 additions & 0 deletions docs/install.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _install:

Install
=======

Expand Down
2 changes: 2 additions & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _usage:

Usage
=====

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def get_version():
author_email="[email protected]",
license="MIT license",
long_description=open("README.rst").read() + "\n\n" + open("CHANGES.rst").read(),
long_description_content_type="x-rst",
description="Formasaurus tells you the types of HTML forms and their fields using machine learning",
url="https://github.com/scrapinghub/Formasaurus",
zip_safe=False,
Expand Down

0 comments on commit 0586beb

Please sign in to comment.