A new minor version with a couple of new features. Notably, you can now merge reports from different OpenAlex profiles. Currently, this functionality is only available through the API, but I plan to enable it in the application as soon as I can find a good UX way to do it 😬.
Some researchers requested the ability to generate reports with a specific citations period. The new filters will make this possible :partying_face: and allow for more versatile report generation.
New features are on the way. I sincerely appreciate all the comments and insights provided. If you have any suggestions, the [discussion section](https://github.com/alejandrgaspar/pub-analyzer/discussions) is open and we'll be looking forward to hearing from you.
Added
- Now `make_author_report` allows additional profiles. With this it is possible to merge multiple Author OpenAlex entities into a unified report. This feature is not available in the app (yet), but can be used in the API.
- Analog case for the `make_institution_report` function.
- New collapsible widget for report filters with improved date suggestion.
- New `cited_from_date` and `cited_to_date` filters for reports. This allows you to obtain only the cites obtained in a range of dates.
Fixed
- Fixed date input regex validator that now differentiates between long months, short months, and February. That regex is totally worth checking out. It took me a couple of hours, but it's extremely elegant.
- Fixed buttons text align.
Changed
- Now the `make_author_report` function uses the new `FromDate` and `ToDate` types to avoid mistyping errors.
- Now authors and institutions models, uses Type Alias for the OpenAlex IDs.
Dependencies updates
**Main dependencies.**
- Upgrade textual from 0.35.1 to 0.41.0.
- Upgrade httpx from 0.24.1 to 0.25.1.
- Upgrade pydantic from 2.3.0 to 2.4.2.
- Upgrade typst from 0.7.0 to 0.8.0.
**Dev dependencies.**
- Upgrade textual-dev from 1.1.0 to 1.2.1.
- Upgrade pre-commit from 3.4.0 to 3.5.0.
- Upgrade mypy from 1.5.1 to 1.6.1.
- Upgrade ruff from 0.0.287 to 0.1.3.
- Upgrade pytest from 7.4.1 to 7.4.3.
**Docs dependencies.**
- Upgrade mkdocs from 1.5.2 to 1.5.3.
- Upgrade mkdocs-material from 9.2.8 to 9.4.7.
- Upgrade mkdocstrings-python from 1.6.1 to 1.7.3.
**Full Changelog**: https://github.com/alejandrgaspar/pub-analyzer/compare/v0.1.2...v0.2.0