Skip to content

Commit

Permalink
update changelog, dependencies, migration for 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
geritwagner committed Apr 6, 2022
1 parent 0699a08 commit 85351c8
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 5 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0).

### Fixed

### [0.4.0] - 2022-04-06

### Added

- Extract functionality: ReviewDataset, Process
- Developed LocalIndex, EnvironmentManager, OpenSearch
- Curation model, including Resource installation and a "correction path"
- Search operation (reintegrating paper_feed and local_paper_index)
- Prep exclusion based on languages

### Changed

- Object-oriented refactoring of the whole codebase
- Use Zotero translators (instead of bibutils) for imports
- Duplicate identification (add FP safeguards based on LocalIndex, add a procedure for small samples)
- Consistent PDF path handling
- Structured data extraction based on csv

### Fixed

- Loggers
- Performance issues in prep and status

### [0.3.0] - 2022-02-05

### Added
Expand Down
12 changes: 9 additions & 3 deletions colrev_core/review_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,11 +307,17 @@ def migrate_0_3_0(self) -> bool:
return True
return False

def migrate_0_4_0(self) -> bool:

return True

# next version should be:
# {'from': '0.3.0', "to": '0.4.0', 'script': migrate_0_3_0}
# {'from': '0.4.0', "to": upcoming_version, 'script': migrate_0_4_0}
# ...
# {'from': '0.4.0', "to": '0.5.0', 'script': migrate_0_4_0}
# {'from': '0.5.0', "to": upcoming_version, 'script': migrate_0_5_0}
migration_scripts: typing.List[typing.Dict[str, typing.Any]] = [
{"from": "0.3.0", "to": upcoming_version, "script": migrate_0_3_0}
{"from": "0.3.0", "to": "0.4.0", "script": migrate_0_3_0},
{"from": "0.4.0", "to": upcoming_version, "script": migrate_0_4_0},
]

while current_version in [x["from"] for x in migration_scripts]:
Expand Down
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@
"beautifulsoup4==4.10.0",
"Click==8.0.1",
"click_completion==0.5.2",
"crossrefapi==1.5.0",
"cx_Freeze==6.10",
"daff==1.3.46",
"dictdiffer==0.8.1",
"docker==5.0.3",
"docker_py==1.10.6",
"GitPython==3.1.24",
"ImageHash==4.2.0",
"lingua-language-detector==1.0.1",
"lingua==4.15.0",
"lxml==4.5.0",
"nameparser==1.0.6",
"opensearch-py==1.1.0",
Expand All @@ -33,6 +34,8 @@
"pdfminer.six==20211012",
"pdf2image==1.16.0",
"spacy==3.2.2",
"pathos==0.2.8",
"pandasql==0.7.3",
"PyPDF2==1.26.0",
"PyYAML==6.0",
"p_tqdm==1.3.3",
Expand Down

0 comments on commit 85351c8

Please sign in to comment.