Skip to content

1.8.1 release#26

Merged
gonzyui merged 4 commits intomainfrom
dev
Mar 5, 2026
Merged

1.8.1 release#26
gonzyui merged 4 commits intomainfrom
dev

Conversation

@gonzyui
Copy link
Owner

@gonzyui gonzyui commented Mar 5, 2026

No description provided.

gonzyui added 4 commits March 5, 2026 13:32
- Migrate biome.json config (schema, files.includes, assist)
- Auto-fix import sorting and remove unused imports
- Fix unused variables in Vue component and tests
- Update .gitattributes to exclude generated files from GitHub stats
Added 53 unit tests covering media, thread, studio, character,
staff, user, metadata, batch, paginate and cache lifecycle methods.
Raised coverage thresholds to 90/85/90/90.
Bug fixes:
- chunk() infinite loop when size <= 0 (now throws RangeError)
- Non-JSON response crash in executeRequest (502/503 HTML pages)
- throw undefined after exhausting retries in fetchWithRetry
- RedisCache.invalidate() string pattern now uses substring matching
- getUserMediaList throws TypeError instead of AniListError for validation

Type improvements:
- MediaTag.isAdult field added
- PageInfo fields tightened (only total remains nullable)

Cleanup:
- Remove dead _lastFetchCall helper from tests
- Update CONTRIBUTING.md biome version example
- Add 1.8.1 changelog entry
- Update API reference for getUserMediaList TypeError
- 12 new unit tests for audit fixes (230 total)
- Add test for logger.error + onError hook on non-JSON response
- Mark unreachable defensive throw with v8 ignore
- Fixes codecov/patch coverage gap
@vercel
Copy link

vercel bot commented Mar 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ani-client Ready Ready Preview, Comment Mar 5, 2026 1:06pm

@codecov
Copy link

codecov bot commented Mar 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@gonzyui gonzyui merged commit 1478d63 into main Mar 5, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant