<commit_before>## Master

##### Breaking

* None.

##### Enhancements

* Invalidate cache when Swift patch version changes.  
  [<NAME>](https://github.com/norio-nomura)

* Add `private_action` opt-in rule which warns against public
  @IBAction methods.  
  [Ornithologist Coder](https://github.com/ornithocoder)
  [#1931](https://github.com/realm/SwiftLint/issues/1931)

* Add `yoda_condition` opt-in rule which warns to avoid Yoda conditions.  
  [<NAME>](https://github.com/dirtydanee)
  [#1924](https://github.com/realm/SwiftLint/issues/1924)

##### Bug Fixes

* Fix false positives in `control_statement` rule when methods with keyword
  names are used.  
  [<NAME>](https://github.com/marcelofabri)
  [#1946](https://github.com/realm/SwiftLint/issues/1946)

## 0.24.0: Timed Dry
<commit_msg>Further describe the yoda_condition changelog entry<commit_after>## Master

##### Breaking

* None.

##### Enhancements

* Invalidate cache when Swift patch version changes.  
  [<NAME>](https://github.com/norio-nomura)

* Add `private_action` opt-in rule which warns against public
  @IBAction methods.  
  [Ornithologist Coder](https://github.com/ornithocoder)
  [#1931](https://github.com/realm/SwiftLint/issues/1931)

* Add `yoda_condition` opt-in rule which warns when Yoda conditions are used.
  That is, when the constant portion of the expression is on the left side of a
  conditional statement.  
  [<NAME>](https://github.com/dirtydanee)
  [#1924](https://github.com/realm/SwiftLint/issues/1924)

##### Bug Fixes

* Fix false positives in `control_statement` rule when methods with keyword
  names are used.  
  [<NAME>](https://github.com/marcelofabri)
  [#1946](https://github.com/realm/SwiftLint/issues/1946)

## 0.24.0: Timed Dry

{'fraction_non_alphanumeric': 0.14580941446613088, 'fraction_numerical': 0.03214695752009185, 'mean_word_length': 4.314024390243903, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7503209', 'n_tokens_mistral': 653, 'n_tokens_neox': 593, 'n_words': 140}