CHANGELOG

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.31.0 - 2025-03-01

Changed

  • Changed swagger urls

  • Update the response of the swagger (openapi.jon) endpoint (new keys in info)

0.30.0 - 2025-01-24

Changed

  • Fix resourceManager: to improve concurrent accesses we add a lock to protect sqlite access. Also we do not rely on autocommit anymore by adding our own commit() calls.

0.29.0 - 2024-11-29

Changed

  • Fix profile : if sampling parameter is not provided, the number of (lon,lat) becomes the sampling value

0.28.0 - 2024-10-23

Changed

  • Fix profile : first 2 points returned are the same. Fixed it. The profile algorithm does not use the original points anymore (except for the first and last one)

0.27.0 - 2024-09-02

Changed

  • Fix if sampling value (profile) is lower than the numbers of points proved, then the API must return that exact number of value (sampling value)

0.26.0 - 2024-07-11

Changed

  • Fix pyramids order when requesting for measures

0.25.0 - 2024-04-15

Changed

  • Fix memory leak in InputCoords objects

0.24.0 - 2024-04-03

Changed

  • Fix coordinates sorting when dealing whith lots of points (there was a time issue)

0.23.0 - 2024-03-19

Added

  • Add support for multithreading (via uvicorn) by using SQLite as backend for resource storage

0.22.0 - 2024-02-19

Changed

  • Fix : get resource details return less informations, but at leat good values for source and accuracy

0.21.0 - 2024-02-08

Added

  • A limit of tile to read for a request is defined in the service configuration : if the limit is exceeded, we try to read a lower resolution level in the data pyramid

0.20.0 - 2024-02-06

Changed

  • Get resource details return less informations (about pyramids)

0.19.0 - 2024-01-31

Changed

  • configure swagger endpoint

0.18.32 - 2023-10-13

Changed

  • Update screenshots documentation using the version 1.0 rather than latest

0.18.31 - 2023-10-09

Changed

0.18.30 - 2023-10-06

Changed

  • Update the documentation

0.18.29 - 2023-10-02

Changed

  • Fix resources order (bug fix) when asking for measures

0.18.28 - 2023-09-26

Changed

  • Upgraded rok4 lib 2.0.0

0.18.27 - 2023-09-26

Added

  • Sorted resources by id in get_resources endpoint

0.18.26 - 2023-09-25

Changed

  • Round value (xx.xx) for Z

0.18.25 - 2023-09-25

Changed

  • When input coords are outside the pyramids, return -99999

0.18.25 - 2023-09-25

Changed

  • Update the documentation

0.18.24 - 2023-09-22

Changed

  • Changed measures dict to list

  • Added pyramid’s title for each measure

0.18.23 - 2023-09-13

Changed

  • Upgraded rok4 lib 2.0.0b4 (performance)

0.18.22 - 2023-09-13

Added

  • Cache for Rok4 descriptors

0.18.21 - 2023-09-08

Changed

  • Upgraded rok4 lib (bug fix)

0.18.20 - 2023-09-05

Changed

  • When mapping is used for source, then indicated Dynamic value for source_measure

0.18.19 - 2023-09-05

Changed

  • remove alias from the MappingModel BaseModel and update the definition of the fields

0.18.18 - 2023-09-02

Added

  • add mime_type on ErrorException PlainTextResponse

0.18.17 - 2023-09-01

Added

  • create delete_resource endpoint on resources with and without / final

Changed

  • update parameter definition using Enum in scripts that do not contain endpoints

  • hide resources endpoints except GET

0.18.16 - 2023-08-30

Changed

  • fix bug when reading RASTER tile (col/row inverted)

0.18.15 - 2023-08-30

Changed

  • add unit test when the resource parameter is not provided

  • install the requirements file base.txt in the documentation and development files

0.18.14 - 2023-08-28

Changed

  • manage special characters in the xml responses (& for example)

0.18.13 - 2023-08-21

Changed

  • update parameter definition using Enum

0.18.12 - 2023-08-18

Added

  • add requests package (missing rok4 dependency)

  • create GET endpoints on resources with and without / final

  • create OPTIONS endpoints on resources with and without / final

Changed

  • fix unit tests on OPTIONS endpoints

Changed

  • replace the id attribute of source by _id in the JSON schema of the resource

0.18.11 - 2023-08-17

Added

  • add ExtentModel BaseModel

Changed

  • manage id and _id attributes

  • use ExtentModel BaseModel rather than BboxModel for the extent property

Removed

  • remove source_type and accuracy_type properties

  • remove ROK4_PYRAMID_DESCRIPTOR environment variable

0.18.10 - 2023-08-16

Changed

  • upgrade rok4 package version

  • upgrade fastapi, pydantic, uvicorn package versions

Removed

  • remove use of source_type and accuracy_type in CreateUpdatePyramidRequest model

  • remove unused ROK4_PYRAMID_DESCRIPTOR environment variable

0.18.9 - 2023-08-09

Changed

  • remove attribute status not used in resource model

0.18.8 - 2023-08-03

Changed

  • rest routes (like /resources or /resources/id/pyramids) work with ou without trailing ‘/’. Calling a route without a trailing ‘/’ will produce a HTTP 307 (redirect) to the good route.

  • rest OPTIONS verb answer the right allowed verbs

0.18.7 - 2023-08-01

Removed

  • Hide version 2.0

0.18.6 - 2023-07-24

Changed

  • Update the error message associated with the INVALID_RESOURCE response : the list of supported resources is not displayed either

0.18.5 - 2023-07-05

Changed

  • Add param reading from env

0.18.4 - 2023-06-04

Changed

  • Fix sonarqube build for main branch

0.18.3 - 2023-06-02

Changed

  • Fix all unit tests

0.18.2 - 2023-05-18

Changed

  • Remove the latest version

0.18.1 - 2023-05-17

Changed

  • Fix cmd command following the renaming of the api

0.18.0 - 2023-05-17

Added

  • Implementation of an API versioning

0.17.3 - 2023-05-11

Changed

  • Use application/json media_type rather than text/plain in the resources endpoints

0.17.2 - 2023-05-10

Changed

  • Use application/json and application/xml media_type rather than text/plain

0.17.1 - 2023-05-02

Changed

  • Check and validate the content of the ROK4 tile.

0.17.0 - 2023-04-19

Added

  • Add examples for Python and JavaScript languages

0.16.1 - 2023-04-18

Changed

  • Update the responses of the get_ressource and get_ressources endpoints

  • Update the tolerance in the test_ign_set script

  • Update create_update_resource and get_resource methods (content of the saved resources)

0.16.0 - 2023-04-17

Added

  • Add HEAD endpoints

  • Add OPTIONS endpoints

0.15.3 - 2023-04-17

Changed

  • Restrict the versions of the requirements

0.15.2 - 2023-04-14

Added

  • Catch exception for the resource parameter

0.15.1 - 2023-04-13

Changed

  • Fix endpoints and unit tests for the resources/pyramids

0.15.0 - 2023-04-12

Added

  • First version of the documentation

  • Add logger.error for each ErrorException

  • Add responses and tests for invalid request body on resource endpoints

  • Add a test dataset provided by the IGN

0.14.0 - 2023-04-11

Added

  • Add height_differences key to the elevation profile examples

  • Add ElevationModel, MeasureModel, HeightDifferencesModel

  • Use models to get valid schemas in the Swagger documentation

Changed

  • Use version number rather than latest

  • Rename pyramid variable in the get_altitudes_from_points method to fix an error

  • Update the response of the get_resources endpoint

  • Fix the unit tests on the resources endpoints

0.13.0 - 2023-04-05

Added

  • Add profile_mode parameter to the elevation profile endpoints

0.12.1 - 2023-04-04

Added

  • Add error message for profile when two points are specified and these points have the same coordinates

Changed

  • Update the setup.py file to manage the version of gdal according to the operating system

  • Update the README.md file with installation instructions according to the operating system

Removed

  • Remove db and models directories from the coverage omitted files

0.12.0 - 2023-04-03

Added

  • First version of resources endpoints

  • Add models, exceptions, responses, unit tests for these endpoints

Changed

  • Use of the resource parameter as a string and not as an enum

0.11.1 - 2023-04-03

Added

  • Height differences for profile

0.11.0 - 2023-03-31

Added

  • New implementation for profile

0.10.0 - 2023-03-25

Added

  • Logging mecanism

0.9.0 - 2023-03-24

Added

  • First version of the profile

  • Add measures parameter

Changed

  • Fix the content of the error messages

0.8.0 - 2023-03-22

Added

  • Improve the Swagger documentation

0.7.0 - 2023-03-20

Added

  • Customize pydantic message

  • Use Enum typing

Changed

  • Simplify Dockerfile and the CI using python-gdal image

0.6.0 - 2023-03-17

Added

  • First version with a rok4 pyramid

  • Add errors related to the rok4 library

  • Add environment variables for the use of rok4 library

Changed

  • Move settings to .env file

  • Fix gdal install in the CI

  • Fix test configuration in the CI

0.5.0 - 2023-03-14

Added

  • Manage error messages

0.4.0 - 2023-03-09

Added

  • Add docker file

  • Add build stage in the CI

  • Add sonar configuration file

0.3.0 - 2023-03-08

Added

  • Manage json/xml response format

  • Create get_elevation_profile POST endpoint

0.2.1 - 2023-03-06

Removed

  • Remove items associated with sample and the database

0.2.0 - 2023-03-03

Added

  • First implementation of a continuous integration

  • Tooling : formatter, guidelines, git-hooks, linter…

0.1.0 - 2023-03-01

Added

  • First functional version

  • First version of the endpoints

  • Manage all parameters and their constraints

  • Unit tests and coverage