Version 5.0.1

June 29, 2024
  • Added a feature where pdf can have page counter and total variables to show a page counter in pdf file.

Version 5.0.0

March 27, 2024
  • Upgraded plugin to support Craft 5.

Version 2.0.2.5

May 19, 2023
  • Solved a bug where strict syntax of PHP classes want allowing to set $dompdf as null. #17

Version 2.0.2.4

May 17, 2023
  • Solved a bug where looping data to create multiple pdf creates only 1 pdf due to variable not reseting. #17

Version 2.0.2.3

March 24, 2023
  • Solved a bug where yii2 head, body and footer comments were added in PDF HTML #11

Version 2.0.2.2

March 9, 2023
  • Fix the issue where clear cache was clearing main folder instead of sub folder.
  • Fix the issue where Preview file was creating main folder path instead of sub folder path. that was throwing file not found error.

Version 2.0.2.1

January 23, 2023
  • Deprecated streamContext variable.
  • Introducing new httpContext variable that accepts and set that array as DomPdf httpContext. In most cases, it will be just to replace variable from streamContext to httpContext in config/super-pdf.php file.
  • Solved a bug where all this variables streamContext, encrypt, print, modify, copy, add, password, adminPassword were using object pointer instead of array and due to that none of it was working. #12

Version 2.0.2

September 30, 2022

For "url" type, PDF code will return object instead of URL. Code will not break but advisable to use {{ object.getUrl() }} instead {{ object }}.

New Settings section added to give user more control over PDF behaviour. Make sure to review and change settings according to your needs.

  • Adding Settings to give user more control over the plugin.
  • Introducing filesystems so user can store pdfs outside of storage folder.
  • Depending on the settings, We can now set wether we want to regenerate file on each page load, override it or ignore new file creation.
  • Type "url" is deprecated. Use "object" instead.
  • Object can be use with variables or methods to get the URL or other meta data from the file. For example:
    {% set object = craft.superpdf.template("pdf-template", settings, vars) %}
    <!-- File URL -->
    {{ object }}
    {{ object.url }}
    {{ object.getUrl() }}
    <!-- File PATH -->
    {{ object.path }}
    {{ object.getPath() }}
    <!-- Filename -->
    {{ object.filename }}
    {{ object.getFilename() }}
    <!-- Meta data -->
    {{ object.kind }}
    {{ object.size }}
    {{ object.dateModified|date("m/d/Y H:i:s") }}
    <!-- Returns craft assets element. Only if PDF is stored in craft assets volumes instead of storage folder. -->
    {{ object.asset }}
    {{ object.getAsset() }}
    

Version 2.0.1

August 3, 2022

Super PDF now requires DomPdf v2.0.0 or newer.

Version 2.0.0

May 10, 2022
  • Upgraded to support craft cms 4.

Super PDF now requires PHP 8.0.2 or newer.

Super PDF now requires Craft CMS 4.0.0 or newer.

Version 1.0.7

March 9, 2022
  • Added new setting streamContext where user can pass any HTTP Context. For example:
    'streamContext' => [
      'ssl' => [
          'allow_self_signed'=> TRUE,
          'verify_peer' => FALSE,
          'verify_peer_name' => FALSE,
      ]
    ]
    

Version 1.0.6

November 2, 2021
  • Added Option to clear pdf cache in craft cms's clear cache utility.

Version 1.0.5

April 23, 2021

Super PDF now requires PHP 7.2.5 or newer.

Super PDF now requires Craft CMS 3.6.0 or newer.

If Craft Commerce is installed, Super PDF now requires Craft Commerce 3.3.0 or newer due to DomPdf version upgrade in commerce.

Version 1.0.4

January 8, 2021
  • Solved issue where URL pdf type was only working for logged in members.

Version 1.0.3

October 28, 2020
  • Solved Error where Craft v3.5+ throws an error while generating pdf.

Version 1.0.2

April 15, 2020
  • Solved Error where PHP 7.4 shows deprecated error (Invalid characters passed for attempted conversion).
  • Fix Bug with Super PDF where in devMode off, PDF was not rendered.

Version 1.0.1

March 11, 2020
  • Change default Paper Orientation to "portrait".
  • Minor fixes.

Version 1.0.0

March 7, 2020
  • Initial release.