Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Sep 12, 2025

Bumps ruby_llm from 1.3.1 to 1.7.1.

Release notes

Sourced from ruby_llm's releases.

1.7.1

RubyLLM 1.7.1: Generator Fixes & Enhanced Upgrades 🔧

Bug fixes and improvements for Rails generators, with special focus on namespaced models and automatic migration of existing apps.

🐛 Critical Fixes

Namespaced Model Support

The generators now properly handle namespaced models throughout:

# Now works correctly with namespaced models
rails g ruby_llm:install chat:LLM::Chat message:LLM::Message model:LLM::Model
rails g ruby_llm:upgrade_to_v1_7 chat:Assistant::Chat message:Assistant::Message

Fixed issues:

  • Invalid table names like :assistant/chats:assistant_chats
  • Model migration failures with namespaced models ✅
  • Foreign key migrations now handle custom table names correctly ✅
  • Namespace modules automatically created with table_name_prefix

✨ Automatic acts_as API Migration

The upgrade generator now automatically converts from the old acts_as API to the new one:

# BEFORE running upgrade generator (OLD API)
class Conversation < ApplicationRecord
  acts_as_chat message_class: 'ChatMessage', tool_call_class: 'AIToolCall'
end
class ChatMessage < ApplicationRecord
acts_as_message chat_class: 'Conversation', chat_foreign_key: 'conversation_id'
end
AFTER running upgrade generator (NEW API)
class Conversation < ApplicationRecord
acts_as_chat messages: :chat_messages, message_class: 'ChatMessage', model: :model
end
class ChatMessage < ApplicationRecord
acts_as_message chat: :conversation, chat_class: 'Conversation', tool_calls: :ai_tool_calls, tool_call_class: 'AIToolCall', model: :model
end

The generator:

  • Converts from old *_class parameters to new association-based parameters
  • Adds the new model association to all models

... (truncated)

Commits
  • 6ee02d0 Updated appraisal gemfiles
  • cd3dfc5 Bump version to 1.7.1
  • 939d532 Add automatic acts_as declaration updates to upgrade generator
  • 1a5ad13 Remove git LFS support from pipelines
  • 552732c Improve upgrade generator and add troubleshooting docs
  • ecc8afa Fix namespaced models in Model migration and foreign key migrations (#399)
  • c811173 Reorganize generators to follow Rails conventions
  • ad036e1 Fix namespaced model table names in upgrade generator (#398)
  • 3d57b9e Bust README gem cache
  • 7f00d26 Updated appraisal gemfiles
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ruby_llm](https://github.com/crmne/ruby_llm) from 1.3.1 to 1.7.1.
- [Release notes](https://github.com/crmne/ruby_llm/releases)
- [Commits](crmne/ruby_llm@1.3.1...1.7.1)

---
updated-dependencies:
- dependency-name: ruby_llm
  dependency-version: 1.7.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Sep 12, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Sep 15, 2025

Superseded by #49.

@dependabot dependabot bot closed this Sep 15, 2025
@dependabot dependabot bot deleted the dependabot/bundler/ruby_llm-1.7.1 branch September 15, 2025 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants