mirror of
https://github.com/Shineii86/AniKotoAPI.git
synced 2026-10-22 19:05:11 +00:00
chore: bump version to 1.7.3
This commit is contained in:
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [1.7.3] - 2026-06-08
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Health endpoint typo: `s` → `seconds` in uptime string formatting
|
||||||
|
- Request counter middleware moved before route registrations (was never executing)
|
||||||
|
- Request counter now properly tracks all API requests and errors
|
||||||
|
|
||||||
## [1.7.2] - 2026-06-08
|
## [1.7.2] - 2026-06-08
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "AniKotoAPI",
|
"name": "AniKotoAPI",
|
||||||
"version": "1.0.0",
|
"version": "1.7.3",
|
||||||
"description": "A restful API to provide all information about anime from anikototv.to",
|
"description": "A restful API to provide all information about anime from anikototv.to",
|
||||||
"main": "./server.js",
|
"main": "./server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -361,7 +361,7 @@ app.get("/api/health", (req, res) => {
|
|||||||
success: true,
|
success: true,
|
||||||
results: {
|
results: {
|
||||||
status: "healthy",
|
status: "healthy",
|
||||||
version: "1.7.2",
|
version: "1.7.3",
|
||||||
uptime: `${hours}h ${minutes}m ${seconds}s`,
|
uptime: `${hours}h ${minutes}m ${seconds}s`,
|
||||||
uptimeSeconds: uptime,
|
uptimeSeconds: uptime,
|
||||||
timestamp: new Date().toISOString(),
|
timestamp: new Date().toISOString(),
|
||||||
@@ -407,7 +407,7 @@ app.get("/api/openapi", (req, res) => {
|
|||||||
info: {
|
info: {
|
||||||
title: "AniKotoAPI",
|
title: "AniKotoAPI",
|
||||||
description: "Free REST API for anime data from anikototv.to",
|
description: "Free REST API for anime data from anikototv.to",
|
||||||
version: "1.7.2",
|
version: "1.7.3",
|
||||||
contact: {
|
contact: {
|
||||||
name: "Shinei Nouzen",
|
name: "Shinei Nouzen",
|
||||||
url: "https://github.com/Shineii86/AniKotoAPI",
|
url: "https://github.com/Shineii86/AniKotoAPI",
|
||||||
|
|||||||
Reference in New Issue
Block a user