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

Bump org.codenarc:CodeNarc from 3.4.0 to 3.5.0-groovy-4.0 #29

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 8, 2024

Bumps org.codenarc:CodeNarc from 3.4.0 to 3.5.0-groovy-4.0.

Release notes

Sourced from org.codenarc:CodeNarc's releases.

v3.5.0

See the Release Notes.

Changelog

Sourced from org.codenarc:CodeNarc's changelog.

CodeNarc Change Log

NOTE: CodeNarc now provides a separate 3.x.x-groovy-4.x version for use with Groovy 4.x.

Version 3.5.0 (July 2024)

New Rules

  • New Jenkins ruleset with 7 new rules. By default, these apply only to 'Jenkinsfile' (Daniel Zänker):
    • #771: ParameterOrReturnTypeNotSerializable rule: Every parameter and return type has to implement the Serializable interface in Jenkins
    • #770: ObjectOverrideOnlyNonCpsMethods rule: Overridden methods of the standard library (e.g. from java.lang.Object) are often called from there and therefore must not be CPS transformed in Jenkins.
    • #769: ForbiddenCallInCpsMethod rule: Some methods from the standard library cannot be CPS transformed and therefore must not be called from CPS transformed methods in Jenkins.
    • #768: ExpressionInCpsMethodNotSerializable rule: Every expression/variable in a CPS transformed method in Jenkins can potentially be serialized and should therefore implement the Serializable interface.
    • #767: CpsCallFromNonCpsMethod rule: CPS transformed methods may not be called from non CPS transformed methods in Jenkins.
    • #766: ClosureInGString rule: Closures are CPS transformed in Jenkins and will cause an error at runtime when used in GStrings. Typically, they can be replaced by variable interpolation.
    • #765: ClassNotSerializable rule: Classes in Jenkins pipeline libraries and Jenkinsfiles should generally implement the Serializable interface because every expression/variable used in a CPS transformed method can potentially be serialized.
  • #772: New NonSerializableFieldInSerializableClass rule: All fields of a class that implements Serializable should also implement it. (Daniel Zänker).

Updated/Enhanced Rules and Bug Fixes

  • #777: Speed up UnusedImport rule (Iulian Dragos).
  • #762: BooleanMethodReturnsNull rule: Analyze contained closure expressions within their own context, not as part of outer method context.
  • #781: DuplicateNumberLiteral rule: Fix duplicateNumberMinimumValue handling for Long and BigDecimal values.
  • #695: Refactor directory-handling in results. (Ulrich Eckhardt)
Commits

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [org.codenarc:CodeNarc](https://github.com/CodeNarc/CodeNarc) from 3.4.0 to 3.5.0-groovy-4.0.
- [Release notes](https://github.com/CodeNarc/CodeNarc/releases)
- [Changelog](https://github.com/CodeNarc/CodeNarc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/CodeNarc/CodeNarc/commits)

---
updated-dependencies:
- dependency-name: org.codenarc:CodeNarc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 8, 2024
@markjschreiber
Copy link
Contributor

@dependabot ignore this minor version

@dependabot dependabot bot closed this Jul 9, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 9, 2024

OK, I won't notify you about version 3.5.x again, unless you re-open this PR.

@dependabot dependabot bot deleted the dependabot/gradle/org.codenarc-CodeNarc-3.5.0-groovy-4.0 branch July 9, 2024 03:55
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.

1 participant