> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/backend-sdk/backend1n/changelog.md).

# Changelog

### \[4.5.0] \[2026/07/22]

### Added

* Optional JWT authentication, configurable from `config.json` or via environment variables `FACEPHI_BACKEND1N_REST_*`.
* Support for databases `PostgreSQL`.
* Integration test coverage for public and protected endpoints when JWT authentication is enabled.
* Integration test coverage for the MongoDB and PostgreSQL backends.

### \[4.4.0] \[2026/05/13]

### Changed

* Backend update to `selphid/6.20.0`.

### Fixed

* Review of bad requests in input enum values.

### \[4.3.0] \[2026/04/30]

### Changed

* Backend update to `selphid/6.19.0`.

### \[4.2.0] \[2026/03/31]

### Added

* Configuration precedence via environment variables (`FACEPHI_BACKEND1N_REST_*`).

### Changed

* Biometric engine update.

### Fixed

* Malformed Base64 and JSON inputs now return HTTP 400 instead of HTTP 500.
* Docker base image updated to Ubuntu 26.04 to improve security.

### \[4.1.0] \[2026/01/07]

### Changed

* Backend update to `selphid/6.17.0`.
  * Tokens with `futureTimeAllowed`.
  * 1:N galleries with timestamp support (list/delete obsolete templates).

### \[4.0.0] \[2025/11/25]

### Added

* Complete public documentation and swagger.

### Changed

* Use of SelphID `flavor::facial` as a replacement for the biometric engine.
* Simplified Docker image, vulnerability-free.

### \[3.1.0] \[2024/10/29]

### Added

* Helm chart.

### Updated

* Use of `facephi-types/0.2.0`.
* Update to recognition `facephi-recognition/3.20.2`.

### \[3.0.0] \[2024/08/22]

### Added

* First-party extractor implementation.
* First-party 1:N matcher implementation.
* Support for TemplateRawSuper.
* Dual distributions (third-party/first-party) with database compatibility.

### Improved

* Backward database compatibility with Antifraude Backend `2.0.0`.
* The database is updated to the new format `3.0.0` when calling the endpoint `/search`.
  * The old format `pattern.templateRaw` is accepted and updated to TemplateRawSuper.
  * Removed `pattern.faceTemplate`.

### Changed

* `facialTemplate` is no longer returned from the endpoints `/faces/*`.
* The body of `/extract/template` requires the parameter `facialTemplateRaw`, instead of `faceTemplate`.
* The body of `/search/template/{tenantId}` requires the parameter `facialTemplateRaw`, instead of `facialTemplate`.

### \[2.2.0] \[2024/05/16]

### Added

* New endpoint:
  * POST: `/search/template/{ID}`.

### Fixed

* Crash when searching with invalid templates.

### \[2.1.0] \[2024/05/10]

### Added

* Storage of TemplateRaw in MongoDB.
* New endpoints:
  * GET: `/faces`.
  * GET: `/faces/{UUID}`.

### \[2.0.0] \[2024/05/06]

### Added

* Support for MongoDB.
* Endpoints to store data in the database.

### Changed

* The first SelphID-1:N-based endpoints become the final endpoints:
  * POST: `/extract`.
  * POST: `/extract/template`.
  * POST: `/assets/upload`.
  * GET: `/assets/media/{UUID}`.
  * POST: `/faces`.
  * PUT: `/faces/{UUID}`.
  * DELETE: `/faces/{UUID}`.
  * POST: `/search/image/{GALLERY_ID}`.

### \[1.0.0] \[2024/03/13]

* First stable Version.
* Endpoint cloning from SelphID-SDK 1:N.
* Third-party 1:N implementation.
