Skip to content

Add platformVersion parameter to all Spring Initializr links #186

@jzheaux

Description

@jzheaux

Several guides have an outdated Spring Initalizr platformVersion query parameter in their link. Some don't have a platformVersion parameter at all.

The problem with having an outdated one is that Initalizr errors, stating that's not a supported version. The problem with having none at all is Initialzr picking a newer platform version than the guide is written for. There is also the potential issue that the value gets out of sync with the version the guide is built against.

One way to address this is to list the major-minor pair, like so: platformVersion=4.0. Since minor and major updates are manual, then we can ensure the value gets bumped as part of the upgrade process.

Another way would be to enhance guides-rendered to be able to replace the version in the link with whatever Boot version the guide is using.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions