Skip to content

Bump pipeline-model-definition.version from 1.7.2 to 1.8.3 #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 4, 2021

Bumps pipeline-model-definition.version from 1.7.2 to 1.8.3.
Updates pipeline-model-extensions from 1.7.2 to 1.8.3

Release notes

Sourced from pipeline-model-extensions's releases.

v1.8.2 🌈

🐛 Bug Fixes

  • [JENKINS-37984] Improved output for local variable declarations with script splitting @bitwiseman (#413)

v1.8.1 🌈

🐛 Bug Fixes

  • Check statement type before casting to ExpressionStatement @dwnusbaum (#412)

v1.8.0 🌈

Potentially Breaking Changes

Dependency on docker-workflow removed

Previously, pipeline-model-definition had a dependency on docker-workflow to supply agent docker and agent dockerfile definitions. As of docker-workflow v1.22, the definitions for for these were moved to the {{docker-workflow}} plugin, which added an optional dependency on pipeline-model-definition.

With this release of pipeline-model-definition you must have docker-workflow v1.22 or greater installed in order to use agent docker and agent dockerfile. If you do not, those directives will not work.

Improved "Script splitting" (still experimental)

If you have used sufficiently complex Declarative Pipelines you may have run into JENKINS-37984 - Method code too large!. There is no way to detect this issue before it occurs and it has nothing to do with the size of the Jenkinsfile text. The issue stems from a limitation of Java Class File structure. Any sufficiently large Groovy script can encounter this issue, but Declarative pipeline is much more likely to hit this due the amount of code generation it does. It is particularly easy to hit this limit using matrix directive.

As part of the release of matrix in v1.7.0, we added an experimental feature that could be activated by setting SCRIPT_SPLITTING_TRANSFORMATION=true that mitigated this issue by changing the structure of the code generated by Declarative pipeline. With this release, we were able to further improve that experimental "script splitting" behavior to cover more scenarios. The trade-off required to achieve this was that any local declared variable must be changed to class members by adding a @Field annotation.

Changes

  • [JENKINS-37984] - Allow better script splitting in more scenarios @bitwiseman (#405)
  • In validation and elsewhere, prefer metasteps to other non-step descriptors @abayer (#411)
  • [JENKINS-58732] Remove docker-workflow dependency (refiled) @jglick (#393)
  • Use bom for more dependencies including Jackson @chriskilding (#399)
  • [JENKINS-56379] Switch to f:hetero-list @jsoref (#317)
  • [JENKINS-64508] Add extension point for globally defined when conditions @abayer (#409)
  • Allow ModelParser to be run outside of a Jenkins instance @abayer (#406)
  • Support Declarative Pipeline Syntax Within Jenkins Templating Engine @steven-terrana (#403)
  • JENKINS-62808 Fix tests when using tables to divs @timja (#402)
Commits
  • c9526d3 [maven-release-plugin] prepare release pipeline-model-definition-1.8.3
  • b508fb8 Merge pull request #414 from Benjaminvdv/hotfix/JENKINS-34987
  • 1ef737c Remove space from environment variable
  • 763b731 [maven-release-plugin] prepare for next development iteration
  • 6712a81 [maven-release-plugin] prepare release pipeline-model-definition-1.8.2
  • 2d2dbb7 Merge pull request #413 from bitwiseman/task/declaration-output
  • 7328248 Improved output for local variable declarations with script splitting
  • 3ebd553 [maven-release-plugin] prepare for next development iteration
  • 13d2ac7 [maven-release-plugin] prepare release pipeline-model-definition-1.8.1
  • a7c0abb Merge pull request #412 from dwnusbaum/fix-unchecked-cast
  • Additional commits viewable in compare view

Updates pipeline-model-definition from 1.7.2 to 1.8.3

Release notes

Sourced from pipeline-model-definition's releases.

v1.8.2 🌈

🐛 Bug Fixes

  • [JENKINS-37984] Improved output for local variable declarations with script splitting @bitwiseman (#413)

v1.8.1 🌈

🐛 Bug Fixes

  • Check statement type before casting to ExpressionStatement @dwnusbaum (#412)

v1.8.0 🌈

Potentially Breaking Changes

Dependency on docker-workflow removed

Previously, pipeline-model-definition had a dependency on docker-workflow to supply agent docker and agent dockerfile definitions. As of docker-workflow v1.22, the definitions for for these were moved to the {{docker-workflow}} plugin, which added an optional dependency on pipeline-model-definition.

With this release of pipeline-model-definition you must have docker-workflow v1.22 or greater installed in order to use agent docker and agent dockerfile. If you do not, those directives will not work.

Improved "Script splitting" (still experimental)

If you have used sufficiently complex Declarative Pipelines you may have run into JENKINS-37984 - Method code too large!. There is no way to detect this issue before it occurs and it has nothing to do with the size of the Jenkinsfile text. The issue stems from a limitation of Java Class File structure. Any sufficiently large Groovy script can encounter this issue, but Declarative pipeline is much more likely to hit this due the amount of code generation it does. It is particularly easy to hit this limit using matrix directive.

As part of the release of matrix in v1.7.0, we added an experimental feature that could be activated by setting SCRIPT_SPLITTING_TRANSFORMATION=true that mitigated this issue by changing the structure of the code generated by Declarative pipeline. With this release, we were able to further improve that experimental "script splitting" behavior to cover more scenarios. The trade-off required to achieve this was that any local declared variable must be changed to class members by adding a @Field annotation.

Changes

  • [JENKINS-37984] - Allow better script splitting in more scenarios @bitwiseman (#405)
  • In validation and elsewhere, prefer metasteps to other non-step descriptors @abayer (#411)
  • [JENKINS-58732] Remove docker-workflow dependency (refiled) @jglick (#393)
  • Use bom for more dependencies including Jackson @chriskilding (#399)
  • [JENKINS-56379] Switch to f:hetero-list @jsoref (#317)
  • [JENKINS-64508] Add extension point for globally defined when conditions @abayer (#409)
  • Allow ModelParser to be run outside of a Jenkins instance @abayer (#406)
  • Support Declarative Pipeline Syntax Within Jenkins Templating Engine @steven-terrana (#403)
  • JENKINS-62808 Fix tests when using tables to divs @timja (#402)
Commits
  • c9526d3 [maven-release-plugin] prepare release pipeline-model-definition-1.8.3
  • b508fb8 Merge pull request #414 from Benjaminvdv/hotfix/JENKINS-34987
  • 1ef737c Remove space from environment variable
  • 763b731 [maven-release-plugin] prepare for next development iteration
  • 6712a81 [maven-release-plugin] prepare release pipeline-model-definition-1.8.2
  • 2d2dbb7 Merge pull request #413 from bitwiseman/task/declaration-output
  • 7328248 Improved output for local variable declarations with script splitting
  • 3ebd553 [maven-release-plugin] prepare for next development iteration
  • 13d2ac7 [maven-release-plugin] prepare release pipeline-model-definition-1.8.1
  • a7c0abb Merge pull request #412 from dwnusbaum/fix-unchecked-cast
  • Additional commits viewable in compare view

Updates pipeline-model-definition from 1.7.2 to 1.8.3

Release notes

Sourced from pipeline-model-definition's releases.

v1.8.2 🌈

🐛 Bug Fixes

  • [JENKINS-37984] Improved output for local variable declarations with script splitting @bitwiseman (#413)

v1.8.1 🌈

🐛 Bug Fixes

  • Check statement type before casting to ExpressionStatement @dwnusbaum (#412)

v1.8.0 🌈

Potentially Breaking Changes

Dependency on docker-workflow removed

Previously, pipeline-model-definition had a dependency on docker-workflow to supply agent docker and agent dockerfile definitions. As of docker-workflow v1.22, the definitions for for these were moved to the {{docker-workflow}} plugin, which added an optional dependency on pipeline-model-definition.

With this release of pipeline-model-definition you must have docker-workflow v1.22 or greater installed in order to use agent docker and agent dockerfile. If you do not, those directives will not work.

Improved "Script splitting" (still experimental)

If you have used sufficiently complex Declarative Pipelines you may have run into JENKINS-37984 - Method code too large!. There is no way to detect this issue before it occurs and it has nothing to do with the size of the Jenkinsfile text. The issue stems from a limitation of Java Class File structure. Any sufficiently large Groovy script can encounter this issue, but Declarative pipeline is much more likely to hit this due the amount of code generation it does. It is particularly easy to hit this limit using matrix directive.

As part of the release of matrix in v1.7.0, we added an experimental feature that could be activated by setting SCRIPT_SPLITTING_TRANSFORMATION=true that mitigated this issue by changing the structure of the code generated by Declarative pipeline. With this release, we were able to further improve that experimental "script splitting" behavior to cover more scenarios. The trade-off required to achieve this was that any local declared variable must be changed to class members by adding a @Field annotation.

Changes

  • [JENKINS-37984] - Allow better script splitting in more scenarios @bitwiseman (#405)
  • In validation and elsewhere, prefer metasteps to other non-step descriptors @abayer (#411)
  • [JENKINS-58732] Remove docker-workflow dependency (refiled) @jglick (#393)
  • Use bom for more dependencies including Jackson @chriskilding (#399)
  • [JENKINS-56379] Switch to f:hetero-list @jsoref (#317)
  • [JENKINS-64508] Add extension point for globally defined when conditions @abayer (#409)
  • Allow ModelParser to be run outside of a Jenkins instance @abayer (#406)
  • Support Declarative Pipeline Syntax Within Jenkins Templating Engine @steven-terrana (#403)
  • JENKINS-62808 Fix tests when using tables to divs @timja (#402)
Commits
  • c9526d3 [maven-release-plugin] prepare release pipeline-model-definition-1.8.3
  • b508fb8 Merge pull request #414 from Benjaminvdv/hotfix/JENKINS-34987
  • 1ef737c Remove space from environment variable
  • 763b731 [maven-release-plugin] prepare for next development iteration
  • 6712a81 [maven-release-plugin] prepare release pipeline-model-definition-1.8.2
  • 2d2dbb7 Merge pull request #413 from bitwiseman/task/declaration-output
  • 7328248 Improved output for local variable declarations with script splitting
  • 3ebd553 [maven-release-plugin] prepare for next development iteration
  • 13d2ac7 [maven-release-plugin] prepare release pipeline-model-definition-1.8.1
  • a7c0abb Merge pull request #412 from dwnusbaum/fix-unchecked-cast
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 4, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Feb 15, 2021

Superseded by #29.

@dependabot dependabot bot closed this Feb 15, 2021
@dependabot dependabot bot deleted the dependabot/maven/pipeline-model-definition.version-1.8.3 branch February 15, 2021 07:04
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants