Changelog#

v0.1.1 (2025-07-26)#

Contributor to this version: Baptiste Hamon (@baptistehamon).

Internal changes#

  • The documentation has been updated to reflect the changes in LandSuitabilityAnalysis workflow (issue #41, PR #42).

v0.1.0 (2025-07-25)#

Contributor to this version: Baptiste Hamon (@baptistehamon).

New features#

  • New function membership.fit_membership implemented as replacement of the deprecated MembershipSuitFunction.fit method (issue #29, PR #30).

Breaking changes#

  • MembershipSuitFunction and DiscreteSuitFunction have been removed (issue #29, PR #30).

  • Changes in SuitabilityFunction (issue #15, PR #23 & PR #30):
    • func_method and func_params have been renamed to name and params respectively.

    • map has been deprecated because of its redundancy with the __call__ method. Changes will be permanent in LSAPy v0.1.0. Call the function directly instead.

  • LandSuitability has been renamed to LandSuitabilityAnalysis. (issue #15, PR #26)
    • name has been renamed to land_use.

    • compute_criteria_suitability, compute_category_suitability, and compute_suitability methods have been removed and the method run has been implemented as replacement (issue #15, PR #38)

    • mask, statistics and spatial_statistics methods have been removed.

Internal changes#

  • Templates for requesting new features, asking question and submitting PR have been added (issue #11, PR #12).

  • The README has been updated to make links permanent and to add a docs badge (PR #13, PR #15 <https://github.com/baptistehamon/lsapy/pull/15>).

  • A configuration file for Zenodo integration has been added to the repository (PR #14).

  • Pre-commit has been setup and ruff, codespell and numpydoc hooks have been added (issue #8, PR #18/PR #19).

  • The autoupdate schedule of pre-commit has been set to weekly (PR #21)

  • The unused introduction.ipynb notebook has been removed (issue #15, PR #20).

  • The structure around SuitabilityFunction (PR #30):
    • The SuitabilityFunction has been moved to LSAPy function._suitability module.

    • The membership functions have been moved to the function.membership module.

    • The discrete function has been moved to the function._discrete module.

    • The equation decorator has been rename to declare_equation and moved to the core.function module.

    • The get_function_from_name function has been moved to the core.function module.

  • Changes on SuitabilityCriteria (issue #15, PR #31):
    • It now has a comment and is_computed attributes.

    • func parameter is now optional, useful when the criteria is already computed.

  • LSAPy logo has been added: README and documentation have been updated to use it (PR #27)

v0.1.0-dev2 (2025-05-25)#

Contributor to this version: Baptiste Hamon (@baptistehamon).

Internal changes#

  • Major changes for documentation (issue #2, PR #9):
    • All public objects are now documented using the NumPy-style.

    • introduction.ipynb has been slip into three different ones: criteria.ipynb, function.ipynb, and lsa.ipynb.

    • The top-level documentation has been updated/created:
      • The format of README and CHANGELOG files is now reStructuredText (RST).

      • A proper README has been created.

      • A CODE_OF_CONDUCT file adopting the Contributor Covenant code of conduct has been added.

      • A CONTRIBUTING.md providing guidelines on how to contribute to the project has been added.

    • FT20250 and UC logos used in the documentation have been added to the repository.

    • The documentation building using Sphinx has been setup:
      • The documentation uses the PyData theme.

      • A User-facing documentation is now available and has been published on Read the Docs.

    • The project dependencies have been updated and made consistent across pyproject.toml and environments.yml files.

v0.1.0-dev1 (2025-05-16)#

Contributor to this version: Baptiste Hamon (@baptistehamon).

New features#

  • Add ruff configuration to the project.

Bug fixes#

  • Fix the fit of MembershipSuitFunction returning the wrong best fit (issue #1, PR #5)

v0.1.0-dev0 (2025-03-12)#

Contributor to this version: Baptiste Hamon (@baptistehamon).

  • First release on PyPI.

New features#

  • SuitabilityFunction to define the function used for suitability computation.

  • SuitabilityCriteria to define criteria to consider in the LSA

  • LandSuitability to conduct LSA.