Skip to content

Commit

Permalink
Update CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jspaaks authored Aug 30, 2023
1 parent 6500cbe commit af4420a
Showing 1 changed file with 44 additions and 3 deletions.
47 changes: 44 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,49 @@
# 3.0.0 (Unreleased)

- added pre-commit git hook with id `validate-cff`
- entity authors get exported as `Organization` when converting to `schema.org` or `codemeta` (was `Person`)
- CFF key `name` takes precedence over `alias` when converting entity authors (was the other way around)
## CLI

1. Long outputs, for example those resulting from validation errors, are now truncated by default, but this behavior can be disabled using `--verbose` flag
1. `cffconvert` exits with non zero code when something went wrong converting or validating
1. Added "Star on GitHub" footnote in CLI

## Library

1. Added conversion and validation behavior for CFF 1.3
1. Converted metadata now includes information from CFF 1.3 key `contributors` for target formats that support it
1. Converted metadata now includes relation type such as `citedBy`, `compiles`, `isSupplementTo` etc using CFF 1.3 key `relation` on elements in `identifiers` for target formats that support it
1. Converted metadata now uses author `email` for target formats that support it [https://github.com/citation-file-format/cffconvert/issues/285](https://github.com/citation-file-format/cffconvert/issues/285)
1. `entity` authors get exported as `Organization` when converting to `schema.org` or `codemeta` (was `Person`)
1. CFF key `name` takes precedence over `alias` when converting entity authors (was the other way around)
1. `schema.org` and `codemeta` conversion export an affiliation name as `name` (was `legalName`) [https://github.com/citation-file-format/cffconvert/issues/272](https://github.com/citation-file-format/cffconvert/issues/272)
1. Added `"upload_type": "software"` when exporting to Zenodo from CFF files that use schema versions 1.0.x or 1.1.x
1. Apalike conversion now uses "and" or ", and" to concatenate author names when there are 2 or more authors
1. Bibtex conversion now uses braces to protect names of entity authors
1. Library now explicitly exports Citation and nothing else
1. Requests to GitHub now use versioned API
1. Requests to GitHub can now be authenticated via environment variable CFFCONVERT_API_TOKEN for higher rate limit
1. Requests to GitHub now use the target repo's default branch if user leaves branch unspecified

## Development

1. Changed the repo name from `cff-converter-python` to just `cffconvert`
1. Moved to a `src/` directory layout
1. Clearer separation between `cli` parts and `lib` parts
1. Replaced `setup.cfg` and `setup.py` with `pyproject.toml`
1. Added `pytest` markers for `apalike`, `bibtex`, `codemeta`, `endnote`, `ris`, `schemaorg`, `zenodo` tests
1. Refactored testing directory layout/naming to facilitate testing subparts of the test tree
1. Consistent styling now enforced with ruff
1. Added linting via `pre-commit` (`cffconvert`, `isort`, `pyroma`, `ruff`, `prospector`)
1. Updated `jsonschema` dependency to a wider range, now includes 4.x
1. Updated python versions used in CI
1. Added tests to verify that behavior maps such as those for authors or URLs implement all possible keys, that there are no extra keys, and that there are no extra methods. [https://github.com/citation-file-format/cffconvert/issues/300](https://github.com/citation-file-format/cffconvert/issues/300)
1. Added missing `codemeta` tests to `1.2.0/author-creators`
1. Fixed bug with YAML parsing related to testing order [https://github.com/citation-file-format/cffconvert/issues/343](https://github.com/citation-file-format/cffconvert/issues/343)
1. Fixed invalid CFF in one of the tests [https://github.com/citation-file-format/cffconvert/issues/297](https://github.com/citation-file-format/cffconvert/issues/297)

## Other

1. `cffconvert` is now available as a `pre-commit` hook with id `validate-cff`
1. Updated the Dockerfile to use latest version of cffconvert and recent version of Alpine

# 2.0.0

Expand Down

0 comments on commit af4420a

Please sign in to comment.