Skip to content

Conversation

basil
Copy link
Member

@basil basil commented May 9, 2023

See JENKINS-70906. Jenkins core currently uses Prototype 1.7, released on November 15, 2010. The latest version is Prototype 1.7.3, released on September 22, 2015. When an attempt was made to upgrade to 1.7.3 in 2018 in JENKINS-49319, the change had to be reverted. Since this library has been unmaintained for the past 8 years, this PR removes any usages of it in favor of native JavaScript APIs. To test this, I installed this plugin on a custom build of Jenkins that had Prototype ripped out (a local project branch), created a Freestyle project with the trigger from this plugin, and then put a breakpoint in my browser's JavaScript console and stepped through the changed lines to make sure they worked correctly.

@KostyaSha KostyaSha merged commit 96567a0 into jenkinsci:master May 9, 2023
@basil
Copy link
Member Author

basil commented May 18, 2023

@KostyaSha Thanks! Could this please be released? A release would help the Jenkins core developers prepare for the upcoming removal of Prototype from Jenkins core.

@KostyaSha
Copy link
Member

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants