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

Fix deprecation replacements #2964

Closed
gutiory opened this issue Mar 7, 2023 · 1 comment
Closed

Fix deprecation replacements #2964

gutiory opened this issue Mar 7, 2023 · 1 comment
Assignees
Labels
1.2.0 Tickets belonging to 1.1.2

Comments

@gutiory
Copy link
Collaborator

gutiory commented Mar 7, 2023

Some of the deprecation suggestions are not working when running Replace with action in Intellij. This is a bit annoying when we want to replace the deprecated method automatically.

The list of failed replacements is:

Either

Method Working Priority
all zip NO
all YES
bifoldLeft YES
bifoldMap NO
bimap YES
bitraverseNullable NO
bitraverseOption NO
bitraverseValidated NO
bitraverse NO
catchAndFlatten YES
catch YES
combineK YES
combine YES
conditionally YES
contains YES
ensure YES
exists YES
filterOrElse YES
filterOrOther YES
findOrNull YES
foldLeft YES
foldMap NO
fromNullable YES
getOrHandle YES
handleErrorWith YES
handleError YES
isEmpty YES
leftIfNull YES
orNone YES
orNull YES
orNull YES
redeemWith YES
redeem YES
replicate YES
replicate YES
rightIfNotNull YES
rightIfNull NO
sequenceNullable YES
sequenceOption YES
sequenceValidated YES
sequence (list) YES
sequence (option) YES
sequence YES
tapLeft YES
tap YES
toEither NO
traverseNullable NO
traverse NO
traverse NO
void YES
all zips YES

Ior

Method Working Priority
foldLeft YES
foldMap YES
bifoldLeft YES
bimap YES
padNull YES
orNull YES
all YES
exists YES
findOrNull YES
isEmpty YES
isNotEmpty YES
traverseEither YES
traverseOption YES
traverseValidated YES
void YES
getOrElse YES
bisequence NO
bisequenceEither NO
bisequenceOption NO
bisequenceNullable NO
bitraverseValidated NO
replicate YES
replicate - Monoid NO
sequence() NO
sequenceEither YES
sequence( Either ) NO
sequenceOption() YES
sequence( Option ) NO
sequenceNullable() YES
sequence( Nullable ) NO
sequenceValidated() YES
sequence( Validated ) NO
leftWiden() NO
zip (all) NO
bifoldMap NO
toValidated NO
bicrosswalk NO
bicrosswalkMap NO
bicrosswalkNull NO
bitraverse NO
bitraverseEither NO
bitraverseOption NO
bitraverseOption NO
bitraverseNullable NO
bitraverseValidated NO
crosswalk ( List ) NO
crosswalkMap NO
traverse ( List ) NO
traverse ( Either ) NO
traverse ( Option ) NO
traverseNullable NO
traverse ( Validated ) NO
@serras
Copy link
Member

serras commented May 21, 2024

We already released 1.2.x, and the next is 2.0, so this issue is now outdated. Closing as a result.

@serras serras closed this as completed May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.2.0 Tickets belonging to 1.1.2
Projects
None yet
Development

No branches or pull requests

2 participants