Skip to content

Commit 78ac2f5

Browse files
authored
build: Release v6.5.6 (#1785)
* build: bump version to 6.5.6 * chore: update NEWS.md for v6.5.6 [ci skip] * docs: update RELEASING.md [ci skip]
1 parent 0dd35ae commit 78ac2f5

File tree

3 files changed

+58
-12
lines changed

3 files changed

+58
-12
lines changed

NEWS.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# News
22

3+
## 6.5.6 (October 22, 2025)
4+
5+
* Fix: Enforce association override precedence over trait foreign keys by @JinOketani in [#1768](https://github.com/thoughtbot/factory_bot/pull/1768)
6+
* Build: Add ostruct as a development dependency by @ydah in [#1778](https://github.com/thoughtbot/factory_bot/pull/1778)
7+
* Build: Bump standard from v1.44.0 to v1.51.1 by @ydah in [#1779](https://github.com/thoughtbot/factory_bot/pull/1779)
8+
* Build: Add Ruby 3.4 to CI matrix by @ydah in [#1780](https://github.com/thoughtbot/factory_bot/pull/1780)
9+
* Build: Remove unnecessary development dependencies by @ydah in [#1781](https://github.com/thoughtbot/factory_bot/pull/1781)
10+
* Build: update gem versions and dependencies by @ydah in [#1782](https://github.com/thoughtbot/factory_bot/pull/1782)
11+
* Build: revert removal of mutex_m by @vburzynski in [#1784](https://github.com/thoughtbot/factory_bot/pull/1784)
12+
* Refactor: factory calculator cleanup by @vburzynski in [#1770](https://github.com/thoughtbot/factory_bot/pull/1770)
13+
* Chore(ci): Bump actions/checkout from 4 to 5 by @dependabot[bot] in [#1765](https://github.com/thoughtbot/factory_bot/pull/1765)
14+
* Chore(specs): tag slow specs by @vburzynski in [#1776](https://github.com/thoughtbot/factory_bot/pull/1776)
15+
* Docs: Update RELEASING.md by @vburzynski in [#1763](https://github.com/thoughtbot/factory_bot/pull/1763)
16+
* Docs: Update link to FactoryGirl upgrade guide by @imRohan in [#1769](https://github.com/thoughtbot/factory_bot/pull/1769)
17+
* Docs: Fix some typos by @ydah in [#1783](https://github.com/thoughtbot/factory_bot/pull/1783)
18+
* Docs(yard): resolve yard doc warnings by @vburzynski in [#1764](https://github.com/thoughtbot/factory_bot/pull/1764)
19+
* Docs(yard): ruby syntax highlighting in yard docs by @djbender in [#1777](https://github.com/thoughtbot/factory_bot/pull/1777)
20+
321
## 6.5.5 (August 15, 2025)
422

523
* Feat: Adds developer console features (CodeMeister)

RELEASING.md

Lines changed: 39 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,57 @@
11
# Releasing
22

33
1. Create a release branch using the naming scheme `release-x.x.x`
4+
5+
```shell
6+
git checkout main
7+
git pull
8+
git checkout -b release-x.x.x
9+
```
10+
411
2. Bump the `VERSION` inside `lib/factory_bot/version.rb`
12+
513
3. Run `bundle install` to ensure the `Gemfile.lock` file is up to date.
6-
4. Update `NEWS.md` to reflect the changes since last release.
7-
A useful GitHub URL to compare the changes is:
8-
`https://github.com/thoughtbot/factory_bot/compare/vLAST_VERSION...main`
9-
5. Commit the changes.
14+
15+
4. Generate release notes using [GitHub's New Release](https://github.com/thoughtbot/factory_bot/releases/new) feature.
16+
17+
1. Click the tags drop down and select "Create new tag"
18+
2. Fill in the create new tag modal and select "Create"
19+
Note: This is a safe step as the tag will not be created unless the release is published
20+
3. Click the "Generate release notes" button
21+
4. Copy the generated text from the "What's Changed" section, for use when updating `NEWS.md` in the next step.
22+
23+
5. Update `NEWS.md` to reflect the changes since last release.
24+
25+
1. Add a heading with the version number and date
26+
2. Paste the release notes you copied from the previous step
27+
Note: A useful GitHub URL to compare the changes is:
28+
`https://github.com/thoughtbot/factory_bot/compare/vLAST_VERSION...main`
29+
30+
6. Commit the changes.
1031
Note: As there shouldn't be code changes, CI doesn't need to run.
1132
You can add `[ci skip]` to the commit message to skip it.
12-
6. Create a Pull Request, get it reviewed, and merge it to the `main` branch once approved.
13-
7. Back on your machine, switch to the `main` branch and tag the latest commit with the release version: `git tag -s vVERSION`
33+
34+
7. Create a Pull Request, get it reviewed, and merge it to the `main` branch once approved.
35+
36+
8. Back on your machine, switch to the `main` branch and tag the latest commit with the release version: `git tag -s vVERSION`
37+
1438
- We recommend the [_quick guide on how to sign a release_] from git ready.
15-
8. Push your changes: `git push && git push --tags`
16-
9. If you haven't already, add yourself as an owner of the `factory_bot` gem on [rubygems.org](https://rubygems.org/) using [the guide in the thoughtbot handbook](https://github.com/thoughtbot/handbook/blob/main/operations/services/rubygems.md#managing-rubygems)
17-
10. Build and publish the gem:
39+
40+
9. Push your changes: `git push && git push --tags`
41+
42+
10. If you haven't already, add yourself as an owner of the `factory_bot` gem on [rubygems.org](https://rubygems.org/) using [the guide in the thoughtbot handbook](https://github.com/thoughtbot/handbook/blob/main/operations/services/rubygems.md#managing-rubygems)
43+
44+
11. Build and publish the gem:
1845

1946
```bash
2047
gem build factory_bot.gemspec
2148
gem push factory_bot-VERSION.gem
2249
```
2350

24-
11. On GitHub, add a new release using the recent `NEWS.md` as the content. Sample
51+
12. On GitHub, add a new release using the recent `NEWS.md` as the content. Sample
2552
URL: `https://github.com/thoughtbot/factory_bot/releases/new?tag=vVERSION`
26-
12. Announce the new release, making sure to say "thank you" to the contributors who helped shape this version!
53+
54+
13. Announce the new release, making sure to say "thank you" to the contributors who helped shape this version!
2755
thoughtbotters can refer to the handbook for announcements guidelines.
2856

2957
[_quick guide on how to sign a release_]: http://gitready.com/advanced/2014/11/02/gpg-sign-releases.html

lib/factory_bot/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module FactoryBot
2-
VERSION = "6.5.5".freeze
2+
VERSION = "6.5.6".freeze
33
end

0 commit comments

Comments
 (0)