Skip to content

Modify version text formatter to find "moved to"

Marcin Sedlak-Jakubowski requested to merge msj-version-text into master

Description

This changes the introduced_in.rb's regex for discovering version text to also find blockquotes with the "moved to" phrase.

As in previously, the phrase "moved to" (with or without hyperlinks) needs to be directly followed by "GitLab" in order to be noticed.

Before and after screenshots

Before After
image image

Phrases previously found include:

  • Introduced in GitLab x.x.
  • [Introduced](link) in [GitLab Starter](link) x.x.

Phrases that will also be recognized:

  • Feature X [moved](link) to [GitLab Starter](link) in x.x.
  • Feature X moved to GitLab Core in x.x.

Phrases that will not be recognized:

  • `Feature X moved to Core
Edited by 🤖 GitLab Bot 🤖

Merge request reports