Releases: punitarani/fli
v0.7.0
- Enhance MCP Server Functionality and CLI Improvements
This commit introduces significant updates to the MCP server and CLI for flight search:
-
MCP Server Enhancements:
- Added
search_datestool for finding cheapest travel dates. - Improved parameter handling in
FlightSearchParamsandDateSearchParamsfor better clarity and usability. - Refactored server to streamline request handling and improve error messaging.
- Added
-
CLI Updates:
- Updated command options to reflect new parameter names and improve user experience.
- Enhanced validation and parsing utilities for better error handling.
- Improved documentation and examples for MCP server integration.
-
Core Utilities:
- Introduced shared parsing and building utilities to reduce code duplication between CLI and MCP.
These changes aim to enhance the overall functionality and user experience of the flight search tools.
- Refactor CLI Commands and Enhance Flight Search Functionality
This commit updates the CLI commands for flight searches, replacing the previous search and cheap commands with flights and dates. Key changes include:
-
CLI Command Updates:
- Renamed commands to better reflect their functionality.
- Updated documentation and examples to align with new command names.
-
New Command Implementations:
- Introduced
dates.pyfor searching the cheapest travel dates. - Implemented
flights.pyfor searching specific flights with enhanced filtering options.
- Introduced
-
Testing Enhancements:
- Added comprehensive tests for both new commands to ensure functionality and reliability.
These changes aim to improve user experience and streamline the flight search process.
-
Bump Package Version to 0.7.0
-
Format
-
Add plotext dependency and integrate sparkline chart in date results display
This commit introduces the plotext library as a new dependency for rendering sparkline charts. The display_date_results function is updated to visualize price trends over dates using a sparkline chart, enhancing the user experience by providing a graphical representation of data alongside the existing table format. The chart includes proper labeling and formatting for clarity.
- Add retry logic for flight search API calls
This commit introduces a new search_with_retry function that implements retry logic for the flight search API, utilizing the tenacity library. The function attempts to search for flights up to three times with exponential backoff if the initial search returns empty results. This enhancement aims to improve the reliability of flight search results in the face of flaky API responses.
v0.6.1
What's Changed
- Fix advanced date search docs by @punitarani in #12
- ci(deps): bump actions/upload-pages-artifact from 3 to 4 by @dependabot[bot] in #7
- ci(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #6
- ci(deps): bump actions/download-artifact from 4 to 5 by @dependabot[bot] in #5
- refactor(tests): replace hardcoded dates with dynamic future date generation by @punitarani in #25
- Add Z0 Airlines by @punitarani in #24
- Fix IndexError in Flight Parsing by @punitarani in #26
- ci(deps): bump astral-sh/setup-uv from 3 to 7 by @dependabot[bot] in #13
- ci(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #20
- ci(deps): bump actions/upload-artifact from 4 to 6 by @dependabot[bot] in #21
- ci(deps): bump actions/download-artifact from 5 to 7 by @dependabot[bot] in #22
- ci(deps): bump actions/cache from 4 to 5 by @dependabot[bot] in #23
- MCP Quality Updates by @punitarani in #17
New Contributors
- @dependabot[bot] made their first contribution in #7
Full Changelog: v0.6.0...v0.6.1
v0.6.0
What's Changed
- Add Examples and Update Docs by @punitarani in #9
- Extend support for python 3.10+ by @punitarani in #10
Full Changelog: v0.5.0...v0.6.0
v0.5.0
v0.4.0
Round trip search is now supported!
Full Changelog: v0.3.0...v0.4.0
v0.3.0
- Add support for
--airlines/-afilter forfli cheap - Update `Update SearchDates.search() to search in chunks.
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Created Streamlit App
Full Changelog: v0.1.0...v0.2.0
v0.1.0
Initial Release