Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Releases: deanblackborough/php-quill-renderer

New flexible design, finally new features can be added

07 May 23:02
c7d9719
Compare
Choose a tag to compare

I have released v3.00.0 of my PHP Quill renderer; the rewrite only took three weeks, I expected it to take a little longer, but once I put fingers to keyboard, it came together very quickly.

I had a significant head start when I started the rewrite, I had the design down on paper, and I had the unit tests from v2.03.1, it can never be over-stated, when your library has good test coverage working on an almost complete rewrite is a joy.

I'm hoping v3.00.0 will be well received; I've had more emails than I would have expected from other developers asking for progress, raising bugs and thanking me, developers appear to be using it.

The new design is much more flexible than v2.03.1; it should make it simple for me to support the rest of the features in Quill without continually adding hacks, a colleague at work helped pushed me in the right direction.

I now need to work on the v3.01.0 release to tidy up a few issues and then create a simple demo site to show live use; the one-page website will display a Quill editor, the delta after submission and the output in the requested format as well as the PHP code itself.

v3.00.0 supports all the features present in v2.03.1; it fixes the issue with paragraphs sitting next to lists and paragraphs being ignored and includes additional test coverage.

Null insert bug fix

15 Apr 19:27
aeb8e86
Compare
Choose a tag to compare
  • Minor bug fix and test thanks to pdiveris (https://github.com/pdiveris), deals with null inserts.
  • Updated README, feature list incorrect, added v3.0 and also added a message on v1/v2 development.

Minor paragraph fix

03 Mar 01:30
e482b1b
Compare
Choose a tag to compare
  • Updated composer.json, added suggest for PHP7.2.
  • Removed /example folder and updated .gitignore.
  • Added deltas() method to Parser/HTML.php.
  • Added parserLoaded() method to Render.php
  • Reworked tests.
  • Added additional paragraph tests.

Note: The CompositeTest::testMultipleParagraphsWithAttributes test fails, this will pass in version 3.0.

Clean up

01 Oct 18:11
Compare
Choose a tag to compare
  • Updated attribute support table in README.
  • Removed redundant settings method.
  • Removed redundant construct params.
  • Removed commented out code

Refactoring

18 Sep 16:49
Compare
Choose a tag to compare
  • Removed settings code, new parser/renderer should be created to change options.
  • Refactoring, updated method names to better match the containing logic.
  • Updated README, Quill attribute support.

Tests organisation

17 Sep 14:27
Compare
Choose a tag to compare
  • Organised tests by renderer type prior to markdown development.
  • Removed settings tests, settings are being stripped, don't make any sense, better option is to create a new renderer.

Best practices

14 Sep 14:15
Compare
Choose a tag to compare
  • /,idea/ should be ignored via global gitignore

PHP7.1

14 Sep 12:13
Compare
Choose a tag to compare
  • Switched to PHP 7.1 only.
  • Refactored library code, strict types etc.

List after text [Bugfix]

11 Sep 14:01
Compare
Choose a tag to compare
  • If a list follows text the generated HTML is invalid. [Bugfix] (Credit: Carlos https://github.com/sald19
    for finding bug)
  • Switched to preg_split, code was looking for two or more newlines but ever only splitting on two.
  • Moved newline replacement to last possible step.

List support bugfix

04 Sep 18:40
Compare
Choose a tag to compare
  • Attribute incorrect for bullet list (Credit: Carlos https://github.com/sald19) [Bugfix]
  • Only testing against 7.1 going forward.
  • Added credits section to README.