Skip to content

Bump govuk_tech_docs from 4.4.0 to 6.1.0#113

Merged
DanielMurray97 merged 6 commits into
mainfrom
dependabot/bundler/govuk_tech_docs-6.1.0
Jun 23, 2026
Merged

Bump govuk_tech_docs from 4.4.0 to 6.1.0#113
DanielMurray97 merged 6 commits into
mainfrom
dependabot/bundler/govuk_tech_docs-6.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 22, 2026

Copy link
Copy Markdown
Contributor

Bumps govuk_tech_docs from 4.4.0 to 6.1.0.

Release notes

Sourced from govuk_tech_docs's releases.

Release v 6.1.0

What's Changed

Full Changelog: alphagov/tech-docs-gem@v6.0.0...v6.0.1

v6.0.0.beta

What's Changed

Full Changelog: alphagov/tech-docs-gem@v5.2.2...v6.0.0.beta

Release v5.2.2

What's Changed

Potential breaking change

If you have custom ruby classes to override the markdown, you may get an error similar to:

undefined method `link_to' for nil:NilClass (NoMethodError) - scope.link_to(content, link, attributes)

From the middleman community:

In Middleman’s redcarpet renderer, it sets renderer.scope = options[:context] and then renders links via scope.link_to(...). If

options[:context] wasn’t provided by the caller, scope is nil, and your exact error happens. So the “breaking change” you’re seeing between 4.5.1 and 4.6.x is very often: a previously-tolerated/no-link path now hits the link callback and needs context passed correctly.

You can fix this by passing the context correctly. For example:

- markdown_class.new { formatted_text }.render(@app).html_safe 
+ markdown_class.new(context: self) { formatted_text }.render.html_safe

You should check this before updating your Gemfile.lock

New Contributors

... (truncated)

Changelog

Sourced from govuk_tech_docs's changelog.

6.1.0

6.0.1

  • Update version of openapi3_parser allowing support for Ruby 4.0.

Note: openapi3_parser ~> 0.10.1 has a delcares a depndancy on commonmarker >= 1.0 commonmarker >= 1.0 declares required_ruby_version >= 3.3.22 If you are using an older ruby verion this may cause issues in your environment. We recommend upgrading to a version >= 3.

6.0.0.beta

Note: whereas before all tech docs could optionally turn on the new branding, this removes that ability, we're marking it as a major bump.

5.2.2

5.2.1

5.2.0

New features

5.1.1

Fixes

5.1.0

... (truncated)

Commits
  • a5df4d9 Merge pull request #460 from alphagov/release/v6-1-0-beta
  • 6644a97 - lint
  • dfbb8ca - skip liner for now as will look for more detailed eorror handling in future...
  • 702668c - minor change to tests
  • e96f1ff Merge branch 'refs/heads/main' into release/v6-1-0-beta
  • 4017be2 Merge pull request #468 from alphagov/update-changelog
  • 0fc1906 Update CHANGELOG to clarify minimum Ruby version
  • a8919c3 Merge pull request #466 from alphagov/release/6.0.1
  • 2ba089d Release version 6.0.1
  • 1624493 Merge branch 'refs/heads/main' into release/v6-1-0-beta
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Jun 22, 2026
Bumps [govuk_tech_docs](https://github.com/alphagov/tech-docs-gem) from 4.4.0 to 6.1.0.
- [Release notes](https://github.com/alphagov/tech-docs-gem/releases)
- [Changelog](https://github.com/alphagov/tech-docs-gem/blob/main/CHANGELOG.md)
- [Commits](alphagov/tech-docs-gem@v4.4.0...v6.1.0)

---
updated-dependencies:
- dependency-name: govuk_tech_docs
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/bundler/govuk_tech_docs-6.1.0 branch from c16684f to fb92981 Compare June 23, 2026 22:03
@DanielMurray97
DanielMurray97 merged commit ea829b7 into main Jun 23, 2026
2 checks passed
@DanielMurray97
DanielMurray97 deleted the dependabot/bundler/govuk_tech_docs-6.1.0 branch June 23, 2026 23:08
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.

1 participant