Changelog

All of the changes to the Kirby Copilot plugin are listed here.

Where to Find the Latest Version?

If you have installed the plugin via Composer, you can update it by running the following command in your terminal:

composer update

If you have downloaded the plugin as a ZIP file, you can download the latest version from the releases page on GitHub.

What's New?

v1.8.1

July 15, 2024

🐞 Bug Fixes

  • Provider validation for anthropic.

v1.8.0

July 10, 2024

🚀 Features

To use Claude Sonnet models, add the configuration for the anthropic provider:

config.php
return [
    'johannschopplich.copilot' => [
        'provider' => 'anthropic',
        'providers' => [
            'anthropic' => [
                'apiKey' => 'YOUR_API_KEY',
                'model' => 'claude-3-5-sonnet-20240620'
            ]
        ]
    ]
];

v1.7.1

June 27, 2024

🚀 Features

  • Section option size to alter the button size. Use md for the same height as Kirby text fields.

v1.7.0

June 18, 2024

🚀 Features

  • New license management that allows activating licenses directly in the Panel.
  • Deprecated the private Composer repository in favor of Packagist.
Prior to v1.7, the plugin was published on a private Composer repository. It is now available on Packagist and can be installed without authentication. Your license key remains the same and is still required in production environments. To migrate your license key to the new location, follow these steps:
  • Remove the repo.kirby.tools private repository configuration from your composer.json file and run composer update to install the latest version of the plugin.
  • Open a Panel page that contains the Copilot section.
  • Your license key is automatically migrated from the auth.json file in your root directory to the new location in the /site/config/.kirby-tools-licenses file.
  • Update your .gitignore file to exclude the new license file.
You can now delete the auth.json file from the root directory.

v1.6.1

June 1, 2024

🚀 Features

Released in May 2024, GPT-4o is the new flagship model from OpenAI. The model is now available in Kirby Copilot as the default OpenAI model. The gpt-4o model is a successor to the GPT-4 Turbo model and offers improved performance and capabilities.

To use the GPT-4o model in your Kirby Copilot configuration, update the model option to gpt-4o:

return [
    'johannschopplich.copilot' => [
        'providers' => [
            'openai' => [
-                'model' => 'gpt-4-turbo'
+                'model' => 'gpt-4o'
            ]
        ]
    ]
];

It is also set as the default model.

v1.6.0

April 29, 2024

🚨 Breaking Changes

As of April 2024, OpenAI has added vision capabilities to the GPT-4 Turbo model. Following this change, the configuration for the OpenAI provider has been simplified to only include the model name.

To update your configuration from Kirby Copilot v1.5 and earlier to the latest version, reduce the model configuration to only include the model name:

return [
    'johannschopplich.copilot' => [
        'providers' => [
            'openai' => [
-                'model' => [
-                    'default' => 'gpt-4-turbo-preview',
-                    'vision' => 'gpt-4-vision-preview'
-                ]
+                'model' => 'gpt-4-turbo'
            ]
        ]
    ]
];

🚀 Features

  • Migrate from ModelFusion to Vercel AI Core.
  • Set gpt-4-turbo as default OpenAI model.

v1.5.1

March 28, 2024

🚀 Features

v1.5.0

March 21, 2024

🚀 Features

v1.4.2

March 3, 2024

🚀 Features

  • Provider option baseUrl to define the base URL of a custom Mistral API instance.

v1.4.1

February 22, 2024

🐞 Bug Fixes

  • Better help text positioning on file model pages.

v1.4.0

February 21, 2024

🚀 Features

  • files: auto on a file model copilot section to automatically use the current file (image or PDF) as context source.
  • logLevel section property, i.e. to debug system and user prompts.

v1.3.2

January 29, 2024

🐞 Bug Fixes

  • Canceling text generation didn't work properly in certain cases.

v1.3.1

January 29, 2024

🐞 Bug Fixes

  • Clone plugin asset collection to avoid errors when saving changed content.

v1.3.0

January 27, 2024

🚀 Features

  • Support adding PDF files to prompt – the text will be extracted from each PDF and appended to the prompt.
  • Set gpt-4-turbo-preview as default OpenAI model.

🐞 Bug Fixes

  • Prefer .js plugin asset extension instead of .mjs for better hosting provider compatibility.

v1.2.0

January 26, 2024

🏎 Performance

  • Externalize ModelFusion library to plugin's assets directory for smaller section component bundle size.

v1.1.0

January 24, 2024

This version marks the official release! 🎉

🚀 Features

  • Support Mistral AI models.

🐞 Bug Fixes

  • Remove k-navigate component usage.
  • Limit image context file types to PNG, JPEG, WEBP, and non-animated GIF.

v1.0.0

January 18, 2024

  • Initial internal release! 🌈🦄
  • Implemented the base of the section plugin.