Skip to content

Releases: UrbanMonastics/Source-Text-Parser

v1.1.1

03 Apr 18:34

Choose a tag to compare

Forgot to bump the version number in the script file.

v1.1

03 Apr 18:28

Choose a tag to compare

  • Add support for en & em dashes using -- and --- when surounded by spaces or alphanumeric characters excluding the beginning and end of a line.
  • Fix: the selah term is now correctly wrapped when using the wrapLines feature.

v1.0.1

16 Feb 12:33

Choose a tag to compare

Fix to the liturgical Small Caps where words earlier in the string starting with the same letter could be transformed into small caps even though they did not match the defined word. Added a new test of Psalm 110 in french to verify.

v1.0.0

03 Dec 16:15
78e5e90

Choose a tag to compare

This release makes the Source Text Parser feature complete! With this update the Source Text Parser has added:

  • Support for PHP 8.1, 8.2, 8.3, 8.4 and up
  • Updated PHPUnit to version 11
  • Added support for Line Wrapping (setWrapLines( true )) that will wrap each line in its own div tag, and includes classes .paragraph-start .paragraph-end .indent .indent-x2
  • Refactored setSmallCapsText( 'lord' ) to receive text instead of a boolean value. This now looks for the exact term instead of any all-caps string longer than 3 chars to mark as AllCaps.
  • Fixed a mistake in the Responsory formating where the middle responses included the portion before the midpoint.
  • Updates to the ReadMe

v0.4.4

11 May 03:30

Choose a tag to compare

Fix a typo when parsing intentions for the Intercessions.

v0.4.3

30 Jan 03:49
b87738b

Choose a tag to compare

A minor improvement that correctly correctly ignores the extra intentions abbreviation.

v0.4.2

25 Sep 16:47
4f6902c

Choose a tag to compare

Bump the version number in the parser itself. Add the replace attribute to the compose.json file.

v0.4.1 - Refocus on Text Parsing

25 Sep 16:07
a0d6d3c

Choose a tag to compare

We have made the decision to split the library into two pieces. This one will focus on the extended markdown parsing, while the other will manage the various libraries of texts that are included, and finding the correct text/version/section to parse.

v0.4 - Renamed Library and Namespace

25 Sep 13:23
2fbf673

Choose a tag to compare

This is a breaking change. The library and namespace have been renamed to SourceTextParser

The composer project has also been updated

composer require UrbanMonastics/SourceTextParser

Example of usage with new naming

$SourceTextParser = new /UrbanMonastics/SourceTextParser();

echo $SourceTextParser->text("Hello *Source Parser*!");  # prints: <p>Hello <em>Source Parser</em>!</p>

v0.3

08 Aug 17:45
1d1809b

Choose a tag to compare

This release adds support for:

  • Including Small Caps of words over 3 characters [enable seperate]
  • Including wrapping the term Selah for custom styling [enable seperate]
  • Including suppression of the term Alleluia (definable in your language) [enable seperate]