v1.0.0 (Legacy Support)
Added
- Initial stable release of the Rubricate String component.
- Introduced
AbstractEncoderStrto isolate low-level character encoding logic.
Refactored
- Modernized legacy code structure for clean PHP 5.4+ compatibility (short array syntax
[], strict visibility modifiers). - Moved
utf8UriEncodetoAbstractEncoderStrand changed its visibility toprotectedfor better encapsulation. - Standardized all method arguments to consistently use
$string.
Changed (API Clean up)
Renamed several methods to improve semantics, consistency, and eliminate redundancy:
clean->strip(explicitly states it strips HTML tags).autoLinkUrl->linkUrlautoLinkEmail->linkEmailautoLink->linkencodeHtmlTag->encodeEntities(focused on HTML entities conversion).stripIndentation->flattenSpace(accurately describes flattening block text).