Release v0.1.0 🚀 - #1
Merged
Merged
Conversation
- Added base 'vinted_api_kit' package with core modules(client, models, services) - Updated README.md - Successfully built wheel and sdist
- Added pyproject.toml - Added basic ruff config in pyproject.toml - Added .pre-commit-config.yaml with basic config - Integrated ruff checks in pre-commit hooks
- Added mypy config to enforce type checking - Started annotating codebase with type hints where hints missing
…e 82.8% coverage - Installed and configured pytest and related modules for testing - Added foundational unit tests and reusable fixtures for client, service, models and facade - Improved VintedApi facade by replacing *args and **kwargs with explicit arguments for clarity - Fixed CatalogItem to correctly handle incorrect date parsing and edge cases - Updated pyproject.toml to include test config and coverage settings - Achived 82.8% code coverega across core modeles with tests
…lures - Add complete cookie clearing and fresh token acquisition on 401/403 errors - Implement proactive token expiration checking to reduce failed requests - Optimize performance with cookie persistence and reuse between requests - Replace unreliable HEAD-based refresh with full GET request to homepage This resolves authentication loop issues and improves request success rate from ~50% to near 100% while maintaining good performance characteristics.
- Replace HEAD with GET request mocks in refresh tests - Add clear_all_cookies test coverage - Fix cookie mocking for auth header updates - Use AsyncMock for proper async method testing - Align tests with new complete cookie clearing workflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release v0.1.0 🚀
This PR merges the first stable release of vinted-api-kit.
What's New
Checklist
Post-merge actions