- added APA output (PR #149; thanks @wleoncio)
- added support for validation and conversion of
CITATION.cff
files withcff-version: 1.2.0
- argument
--outputformat
was renamed to--format
- argument
-ig
,--ignore-suspect-keys
was removed - argument
--verbose
was removed - argument
--show-trace
was added
- added APA output (PR #149; thanks @wleoncio)
- added support for validation and conversion of
CITATION.cff
files withcff-version: 1.2.0
- simplified the
Citation
class and its interface cli
is no longer part of the public interface of the library- URLs are now constructed from
identifiers
,repository
,repository-artifact
,repository-code
, orurl
, with a transparent mechanism to choose what to use given the data that is available from a givenCITATION.cff
file - Authors are now constructed from
given-names
,family-names
(includingname-particle
andname-suffix
),alias
,name
,affiliation
andorcid
, with a transparent mechanism to choose what to use given the data that is available from a givenCITATION.cff
file
- switched to static configuration (setup.cfg over setup.py)
- dependencies are now in
setup.cfg
as opposed torequirements[-dev].txt
- updated version ranges for dependencies
- tests are no longer
unittest.TestCase
based, but pytest with fixtures - added jsonschema based validation for CITATION.cff files with
cff-version: 1.2.0
- implemented State pattern for
Citation
to help it deal with multiple behaviors under past and future versions of the Citation File Format. - switched from TravisCI to GitHub Actions workflows, added linting and publishing workflows
- CI is now testing against Python 3.6, 3.7, 3.8, and 3.9 on Mac, Linux and Windows
- copies of the relevant schemas are now bundled with the package
- organized the tests to be more orthogonal to each other / less overlap between tests
- With recent changes to the release process, the schema will be in a different place than before. This release fixes citation-file-format#119).
- the ruamel.yaml dependency was not specified tightly enough,
requirements.txt
has been updated as have the notes for maintainers.
- 'cff-version: 1.0.3' is now interpreted as 1.0.3-1 (the latest
schema version that implements the spec 1.0.3). This will fix some
problems with the list of SPDX license abbreviations. These
additional licenses should now work:
AGPL-3.0-only
AGPL-3.0-or-later
BSD-1-Clause
BSD-2-Clause-Patent
CDLA-Permissive-1.0
CDLA-Sharing-1.0
EPL-2.0
EUPL-1.2
GFDL-1.1-only
GFDL-1.1-or-later
GFDL-1.2-only
GFDL-1.2-or-later
GFDL-1.3-only
GFDL-1.3-or-later
GPL-1.0-only
GPL-1.0-or-later
GPL-2.0-only
GPL-2.0-or-later
GPL-3.0-only
GPL-3.0-or-later
LGPL-2.0-only
LGPL-2.0-or-later
LGPL-2.1-only
LGPL-2.1-or-later
LGPL-3.0-only
LGPL-3.0-or-later
- added schema.org converter method
- added documentation for the Google Cloud Function interface
- setup.py no longer includes test dependencies as install dependencies
- corrected an error where cffconvert could not raise an error during validation (citation-file-format#94).
- replaced pykwalifire with its parent pykwalify
- now works for python 3.7 (refs #80)
- not using PyYAML anymore (but it still comes along with pykwalify for some reason)
- added a function that can be used as Google Cloud function
- hopefully fixed parsing of strings that should have been entered as dates (the new validator does not find that offensive, hence I had to fix it myself)
- replaced PyYAML dependency with ruamel.yaml
- security bugfix by updating requests from 2.18.4 to 2.20.0
- fixed bug citation-file-format#82 (warnings on stdout)
- fixed bug citation-file-format#73 (orcid format in zenodo export)
- first stable release
- solved bug
citation-file-format#59
(cffconvert creates local file
data.yaml
andschema.yaml
on validate)
- Minor changes
- added optional validation of CITATION.cff files using pykwalifire
(
--validate
) - added printing the CITATION.cff contents from the command line
- added unit tests for command line interface
- added integration with sonarcloud code quality monitoring
- removed shorthand command line argument
-v
(represented both--validate
and --verbose) - added showing its own version (
--version
) - command line argument
--ignore-suspect-keys
no longer needs to be assigned a value, it's simply a flag