Releases: jenkinsci/role-strategy-plugin
Releases Β· jenkinsci/role-strategy-plugin
3.2.0
π New features and improvements
- Support UTF-8 charset in the /strategy/getMatchingJobs API (#151) @weigxnow
- Swap from guava cache to caffeine (#150) @res0nance
- Performance: Use preauth filtering for matching names (#149) @res0nance
π¦ Dependency updates
- Bump bom-2.222.x from 831.v9814430e6383 to 887.vae9c8ac09ff7 (#162) @dependabot
- Use bom to manage dependencies (#159) @res0nance
π Documentation updates
- add code usage for groovy hook script/jenkins script console. (#152) @NagleZhang
π» Maintenance
- Remove usage of guava from the plugin (#157) @res0nance
- Remove unneeded configuration in buildPlugin (#136) @timja
- Switch to GitHub-native Dependabot (#146) @dependabot
- Rename jenkins/jnlp-slave -> jenkins/inbound-agent Docker image in the Unit test (#145) @nwton
3.1 - (Cache invalidation fixes π)
π Major bug fixes
- JENKINS-61470, JENKINS-61508 - Fix cache invalidation for role assign and unassign operations (#142) @blanked
π New features and improvements
- Remove strict dependency on Extended Read Permission plugin (#139) @timja
- Set configuration category for the Manage Jenkins page (#140) @jcoste-orange
- Add tooltips on Assign Role table (#135) @gcuisinier
π» Maintenance
- Update configurations in the CI pipeline, temporarily disable benchmarks (#143) @oleg-nenashev
- Use ExtendedHierarchicalStreamReader to ensure compatibility with upstream XStream versions (#141) @jglick
3.0
This release removes support for dangerous permissions (removed from Jenkins 2.222.1 LTS) and breaking API changes. Breaking changes should not affect user instances if they follow the 2.222.x upgrade guide.
New Role Strategy 2.x versions might be released in the future to deliver fixes to older Jenkins versions.
π¨ Removed
π New features and improvements
- JENKINS-61205 - Read-only Jenkins Configuration support (#124) @timja
- Dark Mode support: Update images to transparent PNGs (#134) @res0nance
π¦ Dependency updates
- Require Jenkins 2.222.x LTS as a minimum version (#131) @timja
- Upgrade the Jenkins Configuration as Code plugin dependency to 1.35 (#122) @timja
- Upgrade the Extended Read Permission plugin dependency from 3.1 to 3.2 (#132) @dependabot
π Documentation updates
- JENKINS-61302 - Remove the old agent terminology reference in README (#126) @oleg-nenashev
- Fix
@since
fields in Javadoc (#120) @res0nance
π» Maintenance
- Use the new Role Strategy APIs with enum in the naming strategy and tests (#120) @res0nance
Role Strategy Plugin 2.16
π New features and improvements
- Cache Role Macros to improve the permission check performance (#115) @res0nance
- JENKINS-56391 - Trim whitespace from user/groups when assigning roles (#112) @MartinCon
- JENKINS-43058 - Replace obsolete slave/project terms in UI (part 2) (#110) @darxriggs
π Bug Fixes
- Prevent errors when saving Role Strategy configurations after being configured with unmodifyable collections by JCasC (#114) @AndrewChubatiuk
π» Maintenance
- Add CODEOWNERS to automate review requests (#117) @oleg-nenashev
- Cleanup old code (#116) @res0nance
Role Strategy Plugin 2.15
Removal of the JQuery UI plugin plugin dependency.
π¦ Dependency updates
- JENKINS-58536 - Remove dependency on deprecated JQuery UI plugin. If you do not use it elsewhere, it is recommended to delete it from your installation (#94) @rdpa
π Documentation updates
- Optimize images in the documentation (#108) @imgbot
- Adjust the GitHub Releases badge text to avoid confusion with the plugin site badge (#107) @oleg-nenashev
π» Maintenance
- Use more common MIT license URL (#106) @darxriggs
Role Strategy Plugin 2.14
Maintenance release (publishing GitHub documentation in the plugin site, test automation for Java 11, etc.). There is no user-facing or bugfixes included in this release.
π Documentation updates
- JENKINS-59172 - Use GitHub as a source of the plugin's documentation on plugins.jenkins.io (#103) @oleg-nenashev
π¦ Dependency updates
- Bump configuration-as-code from 1.21 to 1.29 (#96, #100, #101, #102) @dependabot
π¦ Internal changes
- Cleanup whitespaces in the code (#99) @karnauskas
- Enable Dependabot to keep development tools up to date (#97) @oleg-nenashev
- Delete the obsolete CONTRIBUTORS file (#95) @oleg-nenashev
- Enable Java 11 tests in the pull request builder (#96) @oleg-nenashev
Role Strategy Plugin 2.13
π New features and improvements
- Role-Based Project Naming Strategy: Do not iterate through roles for blank names (#90) @res0nance
- JENKINS-58399 - Performance: Avoid finding implying permissions on each
hasPermission()
call (#83) @AbhyudayaSharma
π Documentation updates
- Move Documentation from Wiki to GitHub (#93) @oleg-nenashev
π¦ Internal changes
- Release Drafter: Add release name to the template (#92) @oleg-nenashev
Role Strategy Plugin 2.12
π New features and improvements
- Performance: Cache RoleMaps produced by
RoleMap#newMatchingRoleMap()
(#81) @AbhyudayaSharma
π Documentation updates
- Create a developer documentation page (#88) @oleg-nenashev
- Add Release reference badges to the README (#84) @oleg-nenashev
π¦ Dependency updates
- Update dependencies to Configuration-as-Code plugin 1.21 (#82) @AbhyudayaSharma
- Bump up Plugin POM to 3.46 (#80) @AbhyudayaSharma
π¦ Internal changes
- Refactor RoleBasedAuthorizationStrategy to use Enum keys (#85) @AbhyudayaSharma
- Use JMH framework from Jenkins Test Harness (#79) @AbhyudayaSharma
- Add support of WebClient-based tests for REST API and Web UI benchmarks (#73) @AbhyudayaSharma
π¦ Tests
- Add new benchmark for RoleMap#newMatchingRoleMap (#77) @AbhyudayaSharma
- Update MaliciousRegexBenchmark to compare page render times and time to check READ permission (#76) @AbhyudayaSharma
- Add a benchmark using a Malicious Regex (#72) @AbhyudayaSharma
- Add Folder benchmark based on Straber's configuration (#71) @AbhyudayaSharma
- Add hasPermission benchmarks for 100, 200 and 500 roles (#70) @AbhyudayaSharma
Role Strategy 2.11
Changes
π New features and improvements
- JENKINS-53931 - Provide JCasC compatibility inside the plugin, Configuration as Code: Support plugin is no longer needed for it (#60) @Casz
π Bug Fixes
- JENKINS-57432 - Pattern preview did not work properly with folders (#61) @dariver
π Documentation updates
- Cleanup the README page (#64) @oleg-nenashev
π¦ Internal changes
- JENKINS-57423 - Add JMH microbenchmark support to the plugin(#63) @AbhyudayaSharma
- JENKINS-57730 - Automatically detect JMH benchmark classes (#69) @AbhyudayaSharma
- JENKINS-57425 - Run benchmarks only when a special Maven profile is defined (#65) @AbhyudayaSharma
- Add a benchmark for RoleMap#hasPermission (#67) @AbhyudayaSharma
- Add a benchmark for creation of ACL objects (#66) @AbhyudayaSharma
- Use Release Drafter for changelog generation @oleg-nenashev
2.10
role-strategy-2.10 [maven-release-plugin] copy for tag role-strategy-2.10