Skip to content
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

Changelog and upgrade guide for 2.332.1 #4960

Merged
merged 6 commits into from
Mar 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
281 changes: 281 additions & 0 deletions content/_data/changelogs/lts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6672,6 +6672,287 @@
message: |-
Launch only one agent to satisfy cloud agent requests that use label expressions.

- version: "2.332.1"
date: 2022-03-09
lts_predecessor: "2.319.3"
lts_baseline: "2.332"
changes: # compared to lts_baseline 2.332 - extracted from the RC commit(s)

- type: rfe
category: rfe
issue: 41218
authors:
- basil
message: |-
Switch Linux installers from System V init to systemd.

- type: rfe
category: rfe
pull: 6180
issue: 67674
authors:
- Wadeck
- daniel-beck
pr_title: "[JENKINS-67674] Update bundled dependencies after the advisory"
references:
- pull: 6180
- issue: 67674
- url: https://www.jenkins.io/security/advisory/2022-01-12/
title: 2022-01-12 security advisory
message: |-
Update the bundled Matrix Project plugin from 1.18 to 1.20.

- type: rfe
category: rfe
pull: 6305
issue: 67885
authors:
- jtnord
pr_title: "[JENKINS-67885] update the bundled `display-url-api` plugin"
message: |-
Update bundled Display URL API plugin to prevent issues starting the mailer plugin for offline installations.

- type: bug
category: bug
pull: 6184
issue: 67496
authors:
- benebsiny
pr_title: "[JENKINS-67496] Drag & drop is messed up, drag placeholders always\
\ have tiny size"
message: |-
Keep the same height when dragging and dropping a component (regression in 2.277).

- type: bug
category: bug
pull: 6225
issue: 67627
authors:
- daniel-beck
pr_title: "[JENKINS-67627] Have expandable text boxes expand into multiple\
\ lines"
message: |-
Correctly render expandable text boxes into multiple lines (regression in 2.197 and 2.176.4).

- type: bug
category: bug
pull: 6206
issue: 67662
authors:
- daniel-beck
pr_title: "[JENKINS-67662] Do not show wrong feature name in tooltips"
message: |-
Show correct feature name in tooltips of help links (regression in 2.179).

- type: bug
category: regression
pull: 6193
issue: 67635
authors:
- NivKeidan
pr_title: JENKINS-67635 consider agent label expressions when applying trimLabels
message: |-
Launch only one agent to satisfy cloud agent requests that use label expressions.

- type: bug
category: bug
pull: 6234
issue: 67689
authors:
- timja
pr_title: JENKINS-67689 Don't hide cancel button with long build names
message: |-
Truncate long build names again (regression in 2.332).

- type: bug
category: bug
pull: 6264
issue: 67753
authors:
- NotMyFault
pr_title: '[JENKINS-67753] Overwrite "grey" balls with modern build status'
message: |-
Overwrite grey balls icon with the modern "not built" status.

- type: bug
category: regression
pull: 6261
authors:
- dependabot[bot]
pr_title: "[JENKINS-67000] Bump remoting from 4.11.2 to 4.12"
references:
- pull: 5983
- issue: 67000
- url: https://github.com/jenkinsci/remoting/releases/tag/remoting-4.11.2
title: Remoting 4.11.2 changelog
- url: https://github.com/jenkinsci/remoting/releases/tag/remoting-4.12
title: Remoting 4.12 changelog
message: |-
Update remoting from 4.11 to 4.12 to allow Java web start agents to connect (regression in 2.318).

- type: bug
category: bug
issue: 56219
authors:
- basil
message: |-
Restart systemd service when the controller exits unexpectedly.

- type: bug
category: bug
issue: 65809
authors:
- basil
message: |-
Restart the Jenkins service after plugin updates on Debian 11 (bullseye).

lts_changes: # compared to lts_predecessor 2.319.3 (selected by personal review)

# Agent to controller subsystem is now always enabled

- type: major rfe
category: major rfe
pull: 5885
issue: 67173
authors:
- daniel-beck
pr_title: "[JENKINS-67173] Remove Callable allowlist and FilePath agent-to-controller\
\ support"
message: |-
Always enable the agent-to-controller security subsystem.
Remove the admin-customizable allowlists for callables and file paths.
Remove the ability to access some files on the controller from agents.
Use the Plugin Manager to upgrade incompatible plugins.
references:
- pull: 5885
- issue: 67173
- url: https://issues.jenkins.io/issues/?jql=%22Epic%20Link%22%20%3D%20JENKINS-67173
title: the issue tracker

# Modernise Jenkins components

- type: major rfe
category: major rfe
pull: 5707
authors:
- basil
references:
- pull: 5707
- issue: 36779
- url: https://github.com/jenkinsci/jep/tree/master/jep/233
title: JEP-233
- url: https://guava.dev/
title: Guava web site
- url: https://github.com/google/guava/releases/tag/v31.0.1
title: Guava 31.0.1 changelog
pr_title: "[JEP-233] Upgrade Guava from 11.0.1 to latest"
message: |-
Upgrade the Guava library from 11.0.1 (released on January 9, 2012) to 31.0.1 (released on September 27, 2021).
Plugins have already been prepared to support the new version of Guava.
Use the Plugin Manager to upgrade all plugins before <u>and</u> after upgrading Jenkins.

# UI improvements

- type: rfe
category: rfe
pull: 5851
authors:
- janfaracik
pr_title: Modernise the table design
references:
- pull: 5851
- pull: 5925
- pull: 5842
- pull: 6055
- pull: 5916
- pull: 5358
- issue: 65113
message: |-
Modernise the table design.
Add support for Ionicons.
Improve the usability and layout of the 'Plugin Manager' page with better controls and a 'Report an issue' link for each plugin.
Update the 'New view', 'New node', 'About', 'System Info', and 'Log Recorder' pages.
- type: rfe
category: rfe
pull: 5862
issue: 4814
authors:
- slide
pr_title: 'feat: Add ability to upload a plugin via URL [JENKINS-4814]'
message: |-
Allow the plugin manager to upload by URL in addition to upload by file name.
- type: rfe
category: rfe
pull: 6096
authors:
- daniel-beck
pr_title: Make env-vars.html nicer and actually localizable
message: |-
Improve visualization of the 'Environment Variables' page.
- type: rfe
category: rfe
pull: 5889
authors:
- zbynek
pr_title: Improve artifact list readability in dark theme
message: |-
Improve artifact list readability in dark theme.
- type: rfe
category: rfe
pull: 5871
authors:
- zbynek
pr_title: Use CSS animation for console progress
message: |-
Use CSS animation for console progress.

# JRuby support removed

- type: rfe
category: rfe
pull: 6103
authors:
- dependabot[bot]
pr_title: "[JEP-7] Remove `jruby` support from Stapler"
references:
- pull: 6103
- url: https://github.com/jenkinsci/jep/tree/master/jep/7#jep-7-deprecation-of-ruby-and-python-plugin-runtimes
title: "JEP-7: Deprecation of Ruby and Python plugin runtimes"
- url: https://www.jenkins.io/blog/2021/12/22/deprecated-ruby-runtime/
title: Deprecating non-Java plugins (blog post)
- url: https://github.com/jenkinsci/stapler
title: Stapler repository
- url: https://www.jruby.org/
title: JRuby project
message: |-
Remove support for plugins written in JRuby or Jython.
JRuby support has been removed from the Stapler web framework used in Jenkins core.
Plugins written in JRuby and Jython have not been distributed by update center since January 22, 2022.

- type: rfe
category: developer
pull: 5524
authors:
- basil
- timja
references:
- pull: 5524
- url: https://asm.ow2.io/
title: ObjectWebASM web site
pr_title: Stop bundling unnecessary copy of ASM 5
message: |-
Developer: Provide a stable version of <code>ObjectWebASM</code> (currently 9.1) on the classpath.

- type: rfe
category: developer
pull: 5856
authors:
- basil
- timja
pr_title: Unfork `AntClassLoader`
message: |-
Developer: Use the upstream version of <code>AntClassLoader</code> without custom patches.

# DO NOT EDIT THIS FILE DIRECTLY
# ALL CHANGES MUST GO THROUGH PULL REQUESTS
# MALFORMED FILE CONTENTS WILL BREAK THE SITE BUILD
20 changes: 20 additions & 0 deletions content/_data/upgrades/2-332-1.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
==== JRuby removed

JRuby support has been removed from Jenkins core.
A small number of JRuby-based plugins are affected.
See the link:/blog/2021/12/22/deprecated-ruby-runtime/[JRuby removal blog post] for migration notes.

==== ASM 5 removed

A repackaged version of ObjectWebASM 5 and the upstream version of ASM were both included in Jenkins core.
Jenkins core no longer provides the repackaged version of ASM 5.
Users of SCM API must upgrade SCM API to the latest version prior to upgrading Jenkins.
Plugins that use the repackaged version of ASM 5 must be updated to use the upstream version of ASM instead.

==== Guava upgraded

The Guava library from Google is bundled in Jenkins core.
Jenkins has upgraded the Guava library from 11.0.1 (released on January 9, 2012) to 31.0.1 (released on September 27, 2021).
Plugins have already been prepared to support the new version of Guava in link:https://github.com/jenkinsci/jep/blob/master/jep/233/README.adoc[JEP-233].
Use the Plugin Manager to upgrade all plugins before and after upgrading to Jenkins 2.332.1.
See the link:/blog/2021/11/09/guava-upgrade/[Guava upgrade blog post] for more details.