-
v1.2.2 Stable
released this
2021-01-23 16:17:40 +01:00 | 3 commits to master since this release- Fixed the return types on the validators from
Booleantoboolean. - The TypeScript target is now
ES2019, becausees6does not support theArray.prototype.includes()-method we were using. - Improve error message (@tobiasdiez).
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Fixed the return types on the validators from
-
v1.2.1 Stable
released this
2020-09-11 15:31:33 +02:00 | 10 commits to master since this release- Fixed a logical error where activating strict mode would actually use the loose mode while parsing a single citation.
- Fixed a problem where citation parts with no commas after the citekey would be reported as false and hence not parsed correctly.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
v1.2.0 Stable
released this
2020-07-04 23:03:55 +02:00 | 11 commits to master since this release- Refactored the code base to be more maintainable and streamlined.
- Added better tests to achieve 100 % code coverage.
- Changed signature of
extractCitationsutility function. It now also accepts astrictflag (default: false) to retain strict behaviour. Citr.parseSingle()now respects the strict-flag internally when validating the provided citation ID of a full square-bracket-citation (see the changelog for 1.1.0 on what this means).
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
released this
2019-10-26 00:28:11 +02:00 | 19 commits to master since this release- Changed signature of
validateCitationIDutility function. As of now, it will validate against a broader set of characters that requires the encoding to be set to UTF-8, as it will now also see as valid Unicode characters from non-latin scripts, such as Ethiopian, Japanese, or Chinese. This will make the citation IDs more vulnerable to encoding errors, but is to be preferred (see the reasoning of John McFarlane here). Additionally, Citr is meant as a pivot between any Markdown citation representations and a citeproc processor, such asciteproc-jsorpandoc-citeproc. That means Citr shouldn't focus too much on validating the IDs themselves, as much as making sure that it can process the citations and convert them to CSL JSON. To restore the old behaviour, you need to call the functions using the legacy flag ("strict" as it will accept less characters as valid). See README for implementation details.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Changed signature of
-
released this
2019-07-07 16:24:53 +02:00 | 25 commits to master since this releaseparseSinglenow accepts single citekey-only citations (such as@Autor2015) without the need to enclose them in square-brackets.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
released this
2019-07-07 16:19:21 +02:00 | 27 commits to master since this releaseparseSinglenow accepts single citekey-only citations (such as@Autor2015) without the need to enclose them in square-brackets.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
released this
2019-06-10 21:45:13 +02:00 | 29 commits to master since this releaseDownloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
released this
2019-06-10 19:15:28 +02:00 | 31 commits to master since this releaseInitial Release.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)