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

build(deps): bump fastadapter from 3.0.4 to 4.0.1 #1752

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps fastadapter from 3.0.4 to 4.0.1.

Release notes

Sourced from fastadapter's releases.

v4.0.1

Changes

  • Open all adapter functions #777
  • Use reified functions for extension resolval #780
  • Various code cleanup, and code simplifications applied #782
  • Simplify DiffUtil class a bit #784
  • Introduce Detekt to ensure code quality for PRs #786
  • Force class match in extension factory #788
  • Use delegation in FastItemAdapter #789
  • Introduce more generic typealiases #790
  • Use item from tag in the EventHookUtil #791

Contributors

Big thanks to @​AllanWang for a lot of great contributions in this release

v4.0.0

WARNING

  • This release is fully migrated to kotlin

Changes

  • Full migration to kotlin
  • Split apart into smaller library modules
  • Expandable in different package
  • ModelAdapter is the base
  • Adjustments to interfaces and generic specifications to improve Kotlin usage
  • Kotlin function types instead of interfaces for various cases
  • Extension functions to simplify common usages
  • TypeAlias for generic adapter types
  • ...

Depencencies

The following major dependency versions are required:

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.x.y"
implementation "androidx.appcompat:appcompat:1.x.y"
implementation "androidx.recyclerview:recyclerview:1.x.y"

Migration

v4 is a huge release changing most of the codebase to Kotlin. This comes with many refactors, and as a result of that with many breaking API changes.
We put a lot of focus on type safety with this release, as such this release is a lot more strict and tries to prevent as many potential bad type mixups as possible.

  • As a result of the Kotlin migration the static methods can now be accessed via FastAdapter.Companion. E.g.: FastAdapter.Companion.with(...)
  • The IItem interface now requires a type specification. E.g. IItem<RecyclerView.ViewHolder>
  • The SelectExtension is no longer default enabled and wrapped in the FastAdapter use its API standalone. E.g.: selectExtension.setSelectable(true), ...
  • Extensions can be retrieved via getOrCreateExtension. SelectExtension<?> selectExtension = (SelectExtension<?>) mFastAdapter.getOrCreateExtension(SelectExtension.class)
  • Most API methods which were possible to be chained in the previous releases are now standard properties. So use set / get. E.g.: sampleItem.setSelectable(false), sampleItem.setIdentifier(1), ...
  • FastAdapterDiffUtil no longer directly takes the FastItemAdapter, provide the ItemAdapter or ModelAdapter instead.
... (truncated)
Commits
  • 2c16de8 Merge branch 'release/v4.0.1'
  • 7654b20 * [release] v4.0.1
  • bf6915e * use the "getHolderAdapterItemTag" to retrieve the item from the tag of the ...
  • 92dbfc3 * update to kotlin 1.3.40
  • 452af5b Merge pull request #790 from mikepenz/feature/introduce_new_generic_typealiases
  • 9c3ba58 * introduce some more generic typealiases to simplify generic usage
  • 9c845be Merge branch 'AllanWang-extension-factory-type' into develop
  • bb60200 * minimal code formatting
  • 3878e51 Merge branch 'extension-factory-type' of https://github.com/AllanWang/FastAda...
  • 8ebd3f6 Merge pull request #789 from mikepenz/feature/fix_781
  • Additional commits viewable in compare view

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 ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@ci-reporter
Copy link

ci-reporter bot commented Jun 24, 2019

The build is failing

✨ Good work on this PR so far! ✨ Unfortunately, the Circle CI build is failing as of 0121994. Here's the output:

Run Tests

I'm sure you can fix it! If you need help, don't hesitate to ask a maintainer of the project!


Failed build for d861e57
Run Tests

Failed build for d861e57
Run Tests


This comment was automagically generated by ci-reporter. If you see a problem, open an issue here.

@mariobehling
Copy link
Member

@ShridharGoel Please help with getting this PR merge ready.

@dependabot-preview
Copy link
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot-preview dependabot-preview bot deleted the dependabot/gradle/com.mikepenz-fastadapter-4.0.1 branch July 5, 2019 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants