Release Notes
We have two ways to generate release notes for the AI module - the AI Release Notes project is the preferred method because it tags all credit holders for the release, not just code contributors, but you can also use Drupal Module Release Notes if the other option turns out to be too difficult.
Using the AI Release Notes project
- Visit https://github.com/ivanboring/ai-release-notes and clone the repository.
- Run
composer installto install the dependencies. - Create a complete list of all issue numbers included in the release. See the project's readme for more details on how to do this. You can use GitLab or
git logto get the commit messages between two tags and extract the issue numbers into a text file. - Run the script to get release notes from Drupal.org -
php generate_release_notes.php. This might take some time, because it retrieves data from Drupal.org via a browser. - Write the release notes in plain text format using
php write_release_notes.php ai <previous_version>, replacing<previous_version>with the most recent release version. If you want HTML format instead, addtrueas a third argument - so it would bephp write_release_notes.php ai <previous_version> true. - The release notes will be printed to the console. Copy them and use them when creating the tag.
- If there are any issues tagged Breaking Changes, or
(BC), ensure you add a section highlighting them as Breaking Changes - Ensure the release notes are represented in CHANGELOG.md
Using Drupal Module Release Notes (simple)
- Go to https://drupal-mrn.dev/ and enter in the project name (ai), previous version, and new version.
- Click on "Generate Release Notes".
- Copy the generated release notes in plain text format and use them when creating the tag or copy the HTML version by clicking "Source" instead of "Preview".
- If there are any issues tagged Breaking Changes, or
(BC), ensure you add a section highlighting them as Breaking Changes - Ensure the release notes are represented in CHANGELOG.md
Example
The following is an example of Release Notes built for the AI Module...
Issues resolved since 1.2.0-rc2: 6
Contributors
marcus_johansson (6), a.dmitriiev (2), abhisekmazumdar (2), maxilein (1), jurgenhaas (1), yautja_cetanu (1), littlepixiez (1), valthebald (2), svendecabooter (2), mrdalesmith (1), wouters_f (1), rhristov (1), annmarysruthy (1), apmsooner (1)
New Features
- #3549153 Translate: use prompt entities instead of custom configurations
Bugs
- #3550934 API Explorer should set structured json schema on input not provider.
- #3550929 AI Logging should output the raw output on streaming
- #3551753 The tool explorer doesn't update when required fields are not set
- #3550366 When upgrading to this module from AI Core - ECA models with a chat action are deleted without warning.
- #3503980 The translation submodule does not respect the content translation module permissions
Upgrade Path
- #123456 AI Banana module is a new dependency. Run
composer update drupal/ai -Wto resolve dependencies across the the AI moduleOrganizations
FreelyGive (6), 1xINTERNET (2), Dropsolid (4), LakeDrops (1), Zoocha (1), Sven Decabooter (2), EntityOne (2), Make It Fly (2), Calibrate (1), Bulcode (1), QED42 (1), Drupal India Association (1)
Stats
Amount of contributors: 14
Amount of organizations: 12
Amount of issues: 6