Migrate to null safety#14
Merged
comigor merged 5 commits intocomigor:masterfrom Jan 8, 2021
Merged
Conversation
Contributor
Author
|
n.b. tests are failing since the container uses flutter stable, which only has dart 2.10 (NNBD is enabled in 2.12-dev, which is only available on dev/master IIRC) |
Owner
|
Hello @anirudhb, thank you so much for this PR (and sorry for the late reply)! |
* origin/master: Bump pubspec version Bump version and add changelog Fix tests types Fix analyzer issues Use flutter beta branch Fix linter OMG Bump dependencies, fix CI Improve weighted search results when there is a single key Add an option to ignore tokens smaller than a length when searching Add normalization on key weights in FuzzyOptions Change condition on _computeScore to combine the scores from all keys Add tests to check that weighted search considers all keys in the score Fix bug where the token score average was ignored in the result score Fixes bug where search always returned arrayIndex = -1 Bump version and add changelog Ignore empty tokens after tokenizing the query pattern Add tests for when the query pattern starts or ends with the tokenSeparator
Owner
|
I've updated |
Owner
|
@anirudhb Thanks for the help, it was released as 0.4.0-nullsafety.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrates the fuzzy library to null safety. There are now no dependencies.
package:metais obsolete due to the introduction of therequiredkeyword, andpackage:latinizeseemed to have a dead repo so I just put its code here (so that it is null safe.)I would really like if this null safety prerelease could be published quickly on pub.dev, I'd like to use it for one of my projects. Thanks for making this great library as always!