Skip to content

Commit ae91573

Browse files
committed
Bump versions for 0.7.2 release
1 parent d3962c1 commit ae91573

5 files changed

Lines changed: 21 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 0.7.2
4+
5+
### Added
6+
- **Anthropic Messages API support**`x-api-key` auth style with `anthropic-version` header, top-level `system` parameter, `content[0].text` response parsing.
7+
- **Configurable `max_tokens`** — new field on `Core::Ai::Config` (default 4096), sent to both OpenAI and Anthropic APIs.
8+
- **Copy response button** on all AI result sections (schema review, migration risk, optimization, describe query, rewrite, index advisor, root cause, anomaly detection).
9+
- **Dark mode contrast fixes** for AI result sections — proper CSS classes with dark-mode variants replace hardcoded light-mode inline styles.
10+
- **`capability?(:standalone_header)`** guard hides the dashboard header when rendered inside a layout that already provides one.
11+
312
## 0.7.1
413

514
Lockstep version bump with `mysql_genius-core 0.7.1` which fixes missing ERB templates in the gem package.

gems/mysql_genius-core/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 0.7.2
4+
5+
### Added
6+
- **Anthropic Messages API support** in `Core::Ai::Client` — detects `:x_api_key` auth style, sends `x-api-key` + `anthropic-version` headers, uses top-level `system` parameter and `content[0].text` response parsing.
7+
- **`max_tokens` field** on `Core::Ai::Config` (default 4096) — sent in both OpenAI and Anthropic request bodies.
8+
- **Copy response button** on all AI result sections in the shared dashboard template.
9+
- **Dark mode CSS classes** for AI result sections (`mg-ai-section`, `mg-ai-danger`, `mg-ai-warning`, `mg-ai-info`) replacing hardcoded inline styles.
10+
- **`capability?(:standalone_header)`** guard on the dashboard heading — hides it when the rendering adapter provides its own header.
11+
312
## 0.7.1
413

514
### Fixed

gems/mysql_genius-core/lib/mysql_genius/core/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module MysqlGenius
44
module Core
5-
VERSION = "0.7.1"
5+
VERSION = "0.7.2"
66
end
77
end

lib/mysql_genius/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module MysqlGenius
4-
VERSION = "0.7.1"
4+
VERSION = "0.7.2"
55
end

mysql_genius.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ Gem::Specification.new do |spec|
3030
spec.require_paths = ["lib"]
3131

3232
spec.add_dependency("activerecord", ">= 6.0", "< 9")
33-
spec.add_dependency("mysql_genius-core", "~> 0.7.0")
33+
spec.add_dependency("mysql_genius-core", "~> 0.7.2")
3434
spec.add_dependency("railties", ">= 6.0", "< 9")
3535
end

0 commit comments

Comments
 (0)