Skip to content

Releases: erykjj/linkture

v2.3.0

10 Apr 21:42
Compare
Choose a tag to compare

Changed

  • Standardized <a> tag prefix/suffix for commandline and function
    • If no prefix or suffix is provided, both return a skeleton <a> tag; to get a proper tag, add a prefix and suffix as required (see README for an example)

v2.2.0

04 Mar 17:59
Compare
Choose a tag to compare

PLEASE REPORT ANY ISSUES ;-)

Added

  • Re-added unidecode for latin-based languages only
    • Now Chinese, Japanese, etc. work correctly

Changed

  • Another major code reduction and optimization
    • re-using previously processed results to imporove functionality
  • Decoding expands into combined strings

Fixed

  • Fixed tags on pre-tagged scriptures were being removed if the scripture was not recognized (another language, etc.)

v2.1.1

27 Feb 13:42
Compare
Choose a tag to compare

Fixed

  • Restricted greediness of parser
  • Don't add space if no chapter(s)/verse(s) follow book name

v2.1.0

26 Feb 01:56
Compare
Choose a tag to compare

Added

  • Added option (-u) for capitalization (upper-case) of book names

Changed

  • Much code clean-up/optimization
  • Providing prefix and suffix for linking from commandline is optional
    • -l provides a default prefix and suffix
  • Links always rewritten (--full by default)

Fixed

  • Fixed variour edge-case in link re-writing

Removed

  • Removed unidecode dependence
    • already handled by regex

v2.0.2

15 Feb 01:50
Compare
Choose a tag to compare

Fixed

  • Fixed: books with numbers that were't supposed to be rewritten were actually rewritten without a space (eg. '1 Timothy' was turned into '1Timothy')

v2.0.1

09 Feb 00:44
Compare
Choose a tag to compare

Changed

  • Renamed internal variables
  • Separated parsing from tagging

Fixed

  • Fixed linking and translation not working well together
  • Fixed linking whole book (eg., '2 John')

v2.0.0

08 Feb 01:05
Compare
Choose a tag to compare

Added

  • BIG CODE REWRITE to include parser and validation
    • you will need to adjust your code

Changed

  • Moved constant resources (book names and ranges) to SQLite db instead of json
    • custom.json is still there for easier modification

v1.5.0

25 Jan 18:51
Compare
Choose a tag to compare

Added

  • Additional languages
    • Now recognizing: Chinese, Danish, Dutch, English, French, German, Greek, Italian, Japanese, Korean, Norwegian, Polish, Portuguese, Russian, and Spanish
  • Added translation to/from any of the above languages

Changed

  • Split off 'non-official' Bible book variants into a separate custom.json
    • Note: if you've modified the books.json with your own variants, make sure to transfer these to the custom.json files (follow the formatting as in the file); the books.json will be over-written by the 'official' variants in the available languages

Fixed

  • Processing of accented characters
    • not tested fully with non-Latin characters (Russian, Chinese, etc.)

v1.4.3

25 Jan 01:40
Compare
Choose a tag to compare

Changed

  • Added UTF-8 specification on opened files

v1.4.2

20 Jan 19:46
Compare
Choose a tag to compare

Fixed

  • Skip rewriting of incorrectly formatted/unrecognized scriptures