0.5.0b4
Pre-release
Pre-release
[0.5.0b4] - 2025-07-08 (Pre-release)
π New Features
DataSource Plugin Support
-
New DataSource Plugin System: Introduced a DataSource plugin system for RAG 2.0, supporting various types of data sources:
- Website crawler data sources like Firecrawl (
WebsiteCrawlDatasource) - Online document data sources such as Notion and Google Docs (
OnlineDocumentDatasource) - Online drive data sources like Google Drive and Dropbox (
OnlineDriveDatasource)
- Website crawler data sources like Firecrawl (
Tool OAuth Support
-
OAuth Protocol Support: Added a complete OAuth authentication flow for Tool Providers
-
New OAuth-related methods added to the
ToolProviderbase class:oauth_get_authorization_url()β Get the authorization URLoauth_get_credentials()β Retrieve access credentials
-
-
OAuth Configuration Schema: Introduced the
OAuthSchemaclass to support client and credential configuration -
OAuth Route Registration: Added OAuth-related endpoints in plugin routing:
get_oauth_authorization_urlβ Get the authorization URLget_oauth_credentialsβ Retrieve credentials
-
GitHub OAuth Example: Provided a complete implementation example for GitHub OAuth, including:
- OAuth authorization flow
- Access token exchange
- Credential validation
π Documentation and Examples
- GitHub Plugin Example: Updated GitHub plugin example to demonstrate OAuth integration
π Backward Compatibility
- All existing Tool and Model plugins remain fully compatible
- The new OAuth functionality is optional and does not affect existing plugins, which continue to use API_KEY by default