Releases: sillsdev/scripture
Releases · sillsdev/scripture
v2.0.0
BREAKING CHANGES
-
The output of
JSON.stringify
on aVerseRef
has changed to be more human readable:- before
const vref = new VerseRef(1, 2, 3, ScrVers.Septuagint); console.log(JSON.stringify(vref)); // '{"versification":{"name":"Septuagint","_type":2},"rtlMark":"","_bookNum":1,"_chapterNum":2,"_verseNum":3}'
- after
const vref = new VerseRef(1, 2, 3, ScrVers.Septuagint); console.log(JSON.stringify(vref)); // '{"book":"GEN","chapterNum":2,"verseNum":3,"versificationStr":"Septuagint"}'
- before
-
Removed deprecated static
parse
function fromVerseRef
:- before
const vref = VerseRef.parse('...');
- after
const vref = new VerseRef('...'); // OR const { verseRef } = VerseRef.tryParse('...');
- before
What's Changed
- Bump vite from 4.5.2 to 4.5.3 by @dependabot in #16
- improve JSON.stringify by @irahopkinson in #17
Full Changelog: v1.4.3...v2.0.0
v1.4.3
v1.4.2
What's Changed
- Bump @babel/traverse from 7.22.5 to 7.23.2 by @dependabot in #11
- Improve VerseRef test coverage by @irahopkinson in #12
Full Changelog: v1.4.1...v1.4.2
v1.4.1
What's Changed
- Bump postcss from 8.4.24 to 8.4.31 by @dependabot in #9
- Improve
VerseRef.internalValid()
by @irahopkinson in #10
New Contributors
- @dependabot made their first contribution in #9
Full Changelog: v1.4.0...v1.4.1
v1.4.0
What's Changed
- Add bbbcccvvv support to VerseRef constructor by @pmachapman in #7
- Bump version for release by @irahopkinson in #8
New Contributors
- @pmachapman made their first contribution in #7
Full Changelog: v1.3.0...v1.4.0
v1.3.0
v1.2.0
What's Changed
- Add more
VerseRef
constructor options by @irahopkinson in #1 - Setup Codecov by @irahopkinson in #2
- Deprecate
static parse
by @irahopkinson in #3 - Add codecov badge by @irahopkinson in #4
- Improve docs by @irahopkinson in #5
New Contributors
- @irahopkinson made their first contribution in #1
Full Changelog: v1.1.2...v1.2.0
v1.1.2
Full Changelog: v1.1.1...v1.1.2
v1.1.1
Full Changelog: v1.1.0...v1.1.1
Package for CommonJS as well as ESM
Full Changelog: v1.0.0...v1.1.0