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

deprecate: Raise deprecation levels of API elements #2208

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

bog-walk
Copy link
Member

Description

Summary of the change: Raise the deprecation levels of API from more than 3 releases ago.

Detailed description:

  • How:

The following elements had most recent level change in release 0.46.0 (January 2024) ->

Raise from WARNING to ERROR:

  • FieldSet.select(where)
  • FieldSet.selectBatched()
  • FieldSet.selectAllBatched()
  • Query.adjustSlice()
  • ColumnSet.slice()

The following elements had most recent level change in release 0.50.0 (April 2024) ->

Raise from WARNING to ERROR:

  • Database.connectPool()
  • DatabaseConfig.defaultRepetitionAttempts and Transaction.repetitionAttempts
  • DatabaseConfig.defaultMinRepetitionDelay and Transaction.minRepetitionDelay
  • DatabaseConfig.defaultMaxRepetitionDelay and Transaction.maxRepetitionDelay

Currently HIDDEN, now removed:

  • ExposedDatabaseMetadata interface property currentScheme

Additional:
The original buildSrc/Versions object was also raised to ERROR in release 0.50.0 (April 2024). It has now been removed.


Type of Change

Please mark the relevant options with an "X":

  • Bump deprecation levels

Affected databases:

  • All

Checklist

  • The build is green (including the Detekt check)

Related Issues

The following elements had most recent level change in release 0.46.0 (January 2024).

Raise from WARNING to ERROR:
- FieldSet.select(where)
- FieldSet.selectBatched()
- FieldSet.selectAllBatched()
- Query.adjustSlice()
- ColumnSet.slice()

The following elements had most recent level change in release 0.50.0 (April 2024).

Raise from WARNING to ERROR:
- Database.connectPool()
- DatabaseConfig.defaultRepetitionAttempts and Transaction.repetitionAttempts
- DatabaseConfig.defaultMinRepetitionDelay and Transaction.minRepetitionDelay
- DatabaseConfig.defaultMaxRepetitionDelay and Transaction.maxRepetitionDelay

Currently HIDDEN, now removed:
- ExposedDatabaseMetadata interface property currentScheme

Additional:
The original buildSrc/Versions object was also raised to ERROR in release 0.50.0
(April 2024). It has now been removed.
@bog-walk bog-walk requested review from e5l and joc-a August 20, 2024 02:17
@bog-walk bog-walk merged commit ade2a16 into main Aug 20, 2024
4 of 5 checks passed
@bog-walk bog-walk deleted the bog-walk/bump-deprecation-levels branch August 20, 2024 14:09
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