Skip to content

Release v0.1.0 🚀 - #1

Merged
vlymar1 merged 28 commits into
mainfrom
release/v0.1.0
Aug 7, 2025
Merged

Release v0.1.0 🚀#1
vlymar1 merged 28 commits into
mainfrom
release/v0.1.0

Conversation

@vlymar1

@vlymar1 vlymar1 commented Aug 7, 2025

Copy link
Copy Markdown
Owner

Release v0.1.0 🚀

This PR merges the first stable release of vinted-api-kit.

What's New

  • ✅ Asynchronous Vinted API client
  • ✅ Professional import structure
  • ✅ Comprehensive tests
  • ✅ Complete documentation

Checklist

  • All tests passing
  • Version updated to 0.1.0
  • CHANGELOG.md updated
  • Successfully published to TestPyPI
  • Manual testing completed

Post-merge actions

  • Publish to PyPI
  • Create GitHub Release

vlymar1 added 28 commits July 26, 2025 23:02
- 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
@vlymar1
vlymar1 merged commit 474f817 into main Aug 7, 2025
12 checks passed
@vlymar1
vlymar1 deleted the release/v0.1.0 branch August 8, 2025 08:58
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