This release completes the provider rename to a neutral, third-party naming scheme.
- Repository rename:
- Old:
https://github.com/saarnilauri/wp-mistral-ai-provider - New:
https://github.com/saarnilauri/wp-ai-client-provider-for-mistral
- Old:
- Composer package rename:
- Old:
saarnilauri/wp-mistral-ai-provider - New:
saarnilauri/wp-ai-client-provider-for-mistral
- Old:
- PHP namespace rename:
- Old:
WpMistralProvider\\ - New:
WpAiClientProviderForMistral\\
- Old:
- Class renames:
WpMistralProvider\Provider\MistralProvider->WpAiClientProviderForMistral\Provider\ProviderForMistralWpMistralProvider\Metadata\MistralModelMetadataDirectory->WpAiClientProviderForMistral\Metadata\ProviderForMistralModelMetadataDirectoryWpMistralProvider\Models\MistralTextGenerationModel->WpAiClientProviderForMistral\Models\ProviderForMistralTextGenerationModel
- WordPress plugin slug/text domain rename:
- Old:
wp-mistral-ai-provider/mistral-ai-provider - New:
wp-ai-client-provider-for-mistral/wp-ai-client-provider-for-mistral
- Old:
- Release artifact rename:
- Old:
dist/wp-mistral-ai-provider.zip - New:
dist/wp-ai-client-provider-for-mistral.zip
- Old:
- Update Composer dependency:
composer remove saarnilauri/wp-mistral-ai-provider
composer require saarnilauri/wp-ai-client-provider-for-mistral- Update imports and registration in your PHP code:
use WpAiClientProviderForMistral\Provider\ProviderForMistral;
$registry->registerProvider(ProviderForMistral::class);- If installed as a WordPress plugin, reinstall/rename to the new plugin directory:
wp-content/plugins/wp-ai-client-provider-for-mistral/
- Provider id and API key config are unchanged:
- Provider id:
mistral - API key variable:
MISTRAL_API_KEY
- This project is independent and is not affiliated with, endorsed by, or sponsored by Mistral AI.
- Added a PHPUnit test suite for unit and integration testing in this repository.