Skip to content

Remove deprecated generators (Faker::Twitter and Faker::BossaNova)#3190

Merged
stefannibrasil merged 3 commits into
mainfrom
sb-remove-deprecated-generators-3189
Jan 21, 2026
Merged

Remove deprecated generators (Faker::Twitter and Faker::BossaNova)#3190
stefannibrasil merged 3 commits into
mainfrom
sb-remove-deprecated-generators-3189

Conversation

@stefannibrasil

Copy link
Copy Markdown
Contributor

Faker::Twitter -> Faker::X. Some methods got deprecated as well.
Faker::BossaNova -> Faker::Music::BossaNova

Closes #3189

Comment thread lib/faker/default/x.rb
@@ -1,218 +1,6 @@
# frozen_string_literal: true

module Faker

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should the file name change too?
lib/faker/default/twitter.rb

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh yes, good catch 🦅 Thank you! Renamed it in 017fba3

@thdaraujo thdaraujo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me. Will this be published in a minor release?

Please use Faker::X from now on. And note that
the generator has been updated to match the new
API response.
Please use Faker::Music::BossaNova.
@stefannibrasil
stefannibrasil force-pushed the sb-remove-deprecated-generators-3189 branch from 379ed52 to 017fba3 Compare January 19, 2026 22:07
@stefannibrasil

Copy link
Copy Markdown
Contributor Author

Makes sense to me. Will this be published in a minor release?

Yes, minor is what I am thinking.

@stefannibrasil
stefannibrasil merged commit 3e92702 into main Jan 21, 2026
9 checks passed
@stefannibrasil
stefannibrasil deleted the sb-remove-deprecated-generators-3189 branch January 21, 2026 23:00
stefannibrasil added a commit that referenced this pull request Jan 30, 2026
…3190)

* Remove deprecated Faker::Twitter

Please use Faker::X from now on. And note that
the generator has been updated to match the new
API response.

* Remove deprecated Faker::BossaNova

Please use Faker::Music::BossaNova.

* Rename files referencing twitter to X
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove deprecated generators

2 participants