Plugin Directory

Changeset 3236940


Ignore:
Timestamp:
02/08/2025 12:09:28 PM (14 months ago)
Author:
giucu91
Message:

update to 3.2.1

Location:
woocommerce-pdf-invoices
Files:
917 added
1 deleted
21 edited

Legend:

Unmodified
Added
Removed
  • woocommerce-pdf-invoices/trunk/bootstrap.php

    r3236733 r3236940  
    44 * Plugin URI:              https://wordpress.org/plugins/woocommerce-pdf-invoices
    55 * Description:             Automatically generate and attach customizable PDF Invoices to WooCommerce emails and connect with Dropbox, Google Drive, OneDrive or Egnyte.
    6  * Version:                 3.2.0
     6 * Version:                 3.2.1
    77 * Author:                  George Ciobanu
    88 * License:                 GPL-2.0+
     
    1515defined( 'ABSPATH' ) || exit;
    1616
    17 define( 'WPI_VERSION', '3.2.0' );
     17define( 'WPI_VERSION', '3.2.1' );
    1818
    1919/**
  • woocommerce-pdf-invoices/trunk/composer.json

    r3236733 r3236940  
    2020  ],
    2121  "require": {
     22    "psr/log" : "1.1",
    2223    "mpdf/mpdf": "v8.2.5"
    2324  },
  • woocommerce-pdf-invoices/trunk/readme.txt

    r3236733 r3236940  
    55Tested up to: 6.7
    66Requires PHP: 7.4
    7 Stable tag: 3.2.0
     7Stable tag: 3.2.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2929- Mark invoices as paid.
    3030
    31 > **Invoices for WooCommerce Premium**<br /><br />
    32 > This plugin offers a premium version which comes with the following features:<br /><br />
    33 > - Attach PDF invoices to many more email types including third party plugins<br />
    34 > - Send credit notes and cancelled PDF invoices<br />
    35 > - Fully customize PDF invoice table content by modifying line item columns and total rows<br />
    36 > - Automatically send a reminder email configurable within a specific period of time and display a payment due date<br />
    37 > - Bulk generate PDF invoices<br />
    38 > - Bulk export and/or download PDF invoices<br />
    39 > - Bill periodically by generating and sending global invoices<br />
    40 > - Let customers decide to generate a PDF invoice on checkout<br />
    41 > - Change the font of the PDF invoices<br />
    42 > - Add additional PDF files to PDF invoices<br />
    43 > - Send customer invoices directly to multiple recipients<br />
    44 > - Compatible with [WooCommerce Subscriptions](http://www.woothemes.com/products/woocommerce-subscriptions) plugin emails.<br /><br />
    45 > [Upgrade to Invoices for WooCommerce Premium >>](http://wcpdfinvoices.com)
     31**Invoices for WooCommerce Premium**<br /><br />
     32This plugin offers a premium version which comes with the following features:<br /><br />
     33- Attach PDF invoices to many more email types including third party plugins<br />
     34- Send credit notes and cancelled PDF invoices<br />
     35- Fully customize PDF invoice table content by modifying line item columns and total rows<br />
     36- Automatically send a reminder email configurable within a specific period of time and display a payment due date<br />
     37- Bulk generate PDF invoices<br />
     38- Bulk export and/or download PDF invoices<br />
     39- Bill periodically by generating and sending global invoices<br />
     40- Let customers decide to generate a PDF invoice on checkout<br />
     41- Change the font of the PDF invoices<br />
     42- Add additional PDF files to PDF invoices<br />
     43- Send customer invoices directly to multiple recipients<br />
     44- Compatible with [WooCommerce Subscriptions](http://www.woothemes.com/products/woocommerce-subscriptions) plugin emails.<br /><br />
     45- [Upgrade to Invoices for WooCommerce Premium >>](http://wcpdfinvoices.com)
    4646
    4747#### Support
     
    344344
    345345== Changelog ==
     346
     347= 3.2.1 - February 8. 2025 =
     348- Downgrade psr/log to 1.1 in order to ensure compatibility with php 7.4.x and some plugins like WooCommerce PayPal Payments.
    346349
    347350= 3.2.0 - February 7. 2025 =
  • woocommerce-pdf-invoices/trunk/vendor/composer/autoload_psr4.php

    r3236733 r3236940  
    88return array(
    99    'setasign\\Fpdi\\' => array($vendorDir . '/setasign/fpdi/src'),
    10     'Psr\\Log\\' => array($vendorDir . '/psr/log/src'),
     10    'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
    1111    'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'),
    1212    'Mpdf\\PsrLogAwareTrait\\' => array($vendorDir . '/mpdf/psr-log-aware-trait/src'),
  • woocommerce-pdf-invoices/trunk/vendor/composer/autoload_static.php

    r3236733 r3236940  
    4141        'Psr\\Log\\' =>
    4242        array (
    43             0 => __DIR__ . '/..' . '/psr/log/src',
     43            0 => __DIR__ . '/..' . '/psr/log/Psr/Log',
    4444        ),
    4545        'Psr\\Http\\Message\\' =>
  • woocommerce-pdf-invoices/trunk/vendor/composer/installed.json

    r3236733 r3236940  
    138138        {
    139139            "name": "mpdf/psr-log-aware-trait",
    140             "version": "v3.0.0",
    141             "version_normalized": "3.0.0.0",
     140            "version": "v2.0.0",
     141            "version_normalized": "2.0.0.0",
    142142            "source": {
    143143                "type": "git",
    144144                "url": "https://github.com/mpdf/psr-log-aware-trait.git",
    145                 "reference": "a633da6065e946cc491e1c962850344bb0bf3e78"
    146             },
    147             "dist": {
    148                 "type": "zip",
    149                 "url": "https://api.github.com/repos/mpdf/psr-log-aware-trait/zipball/a633da6065e946cc491e1c962850344bb0bf3e78",
    150                 "reference": "a633da6065e946cc491e1c962850344bb0bf3e78",
    151                 "shasum": ""
    152             },
    153             "require": {
    154                 "psr/log": "^3.0"
    155             },
    156             "time": "2023-05-03T06:19:36+00:00",
     145                "reference": "7a077416e8f39eb626dee4246e0af99dd9ace275"
     146            },
     147            "dist": {
     148                "type": "zip",
     149                "url": "https://api.github.com/repos/mpdf/psr-log-aware-trait/zipball/7a077416e8f39eb626dee4246e0af99dd9ace275",
     150                "reference": "7a077416e8f39eb626dee4246e0af99dd9ace275",
     151                "shasum": ""
     152            },
     153            "require": {
     154                "psr/log": "^1.0 || ^2.0"
     155            },
     156            "time": "2023-05-03T06:18:28+00:00",
    157157            "type": "library",
    158158            "installation-source": "dist",
     
    179179            "support": {
    180180                "issues": "https://github.com/mpdf/psr-log-aware-trait/issues",
    181                 "source": "https://github.com/mpdf/psr-log-aware-trait/tree/v3.0.0"
     181                "source": "https://github.com/mpdf/psr-log-aware-trait/tree/v2.0.0"
    182182            },
    183183            "install-path": "../mpdf/psr-log-aware-trait"
     
    357357        {
    358358            "name": "psr/log",
    359             "version": "3.0.2",
    360             "version_normalized": "3.0.2.0",
     359            "version": "1.1.0",
     360            "version_normalized": "1.1.0.0",
    361361            "source": {
    362362                "type": "git",
    363363                "url": "https://github.com/php-fig/log.git",
    364                 "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3"
    365             },
    366             "dist": {
    367                 "type": "zip",
    368                 "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3",
    369                 "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3",
    370                 "shasum": ""
    371             },
    372             "require": {
    373                 "php": ">=8.0.0"
    374             },
    375             "time": "2024-09-11T13:17:53+00:00",
     364                "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd"
     365            },
     366            "dist": {
     367                "type": "zip",
     368                "url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
     369                "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
     370                "shasum": ""
     371            },
     372            "require": {
     373                "php": ">=5.3.0"
     374            },
     375            "time": "2018-11-20T15:27:04+00:00",
    376376            "type": "library",
    377377            "extra": {
    378378                "branch-alias": {
    379                     "dev-master": "3.x-dev"
    380                 }
    381             },
    382             "installation-source": "dist",
    383             "autoload": {
    384                 "psr-4": {
    385                     "Psr\\Log\\": "src"
     379                    "dev-master": "1.0.x-dev"
     380                }
     381            },
     382            "installation-source": "dist",
     383            "autoload": {
     384                "psr-4": {
     385                    "Psr\\Log\\": "Psr/Log/"
    386386                }
    387387            },
     
    393393                {
    394394                    "name": "PHP-FIG",
    395                     "homepage": "https://www.php-fig.org/"
     395                    "homepage": "http://www.php-fig.org/"
    396396                }
    397397            ],
     
    404404            ],
    405405            "support": {
    406                 "source": "https://github.com/php-fig/log/tree/3.0.2"
     406                "source": "https://github.com/php-fig/log/tree/master"
    407407            },
    408408            "install-path": "../psr/log"
     
    410410        {
    411411            "name": "setasign/fpdi",
    412             "version": "v2.6.2",
    413             "version_normalized": "2.6.2.0",
     412            "version": "v2.6.3",
     413            "version_normalized": "2.6.3.0",
    414414            "source": {
    415415                "type": "git",
    416416                "url": "https://github.com/Setasign/FPDI.git",
    417                 "reference": "9e013b376939c0d4029f54150d2a16f3c67a5797"
    418             },
    419             "dist": {
    420                 "type": "zip",
    421                 "url": "https://api.github.com/repos/Setasign/FPDI/zipball/9e013b376939c0d4029f54150d2a16f3c67a5797",
    422                 "reference": "9e013b376939c0d4029f54150d2a16f3c67a5797",
     417                "reference": "67c31f5e50c93c20579ca9e23035d8c540b51941"
     418            },
     419            "dist": {
     420                "type": "zip",
     421                "url": "https://api.github.com/repos/Setasign/FPDI/zipball/67c31f5e50c93c20579ca9e23035d8c540b51941",
     422                "reference": "67c31f5e50c93c20579ca9e23035d8c540b51941",
    423423                "shasum": ""
    424424            },
    425425            "require": {
    426426                "ext-zlib": "*",
    427                 "php": "^5.6 || ^7.0 || ^8.0"
     427                "php": "^7.1 || ^8.0"
    428428            },
    429429            "conflict": {
     
    431431            },
    432432            "require-dev": {
    433                 "phpunit/phpunit": "~5.7",
     433                "phpunit/phpunit": "^7",
    434434                "setasign/fpdf": "~1.8.6",
    435435                "setasign/tfpdf": "~1.33",
    436436                "squizlabs/php_codesniffer": "^3.5",
    437                 "tecnickcom/tcpdf": "~6.2"
     437                "tecnickcom/tcpdf": "^6.2"
    438438            },
    439439            "suggest": {
    440440                "setasign/fpdf": "FPDI will extend this class but as it is also possible to use TCPDF or tFPDF as an alternative. There's no fixed dependency configured."
    441441            },
    442             "time": "2024-12-10T13:12:19+00:00",
     442            "time": "2025-02-05T13:22:35+00:00",
    443443            "type": "library",
    444444            "installation-source": "dist",
     
    473473            "support": {
    474474                "issues": "https://github.com/Setasign/FPDI/issues",
    475                 "source": "https://github.com/Setasign/FPDI/tree/v2.6.2"
     475                "source": "https://github.com/Setasign/FPDI/tree/v2.6.3"
    476476            },
    477477            "funding": [
  • woocommerce-pdf-invoices/trunk/vendor/composer/installed.php

    r3236733 r3236940  
    22    'root' => array(
    33        'name' => 'be/woocommerce-pdf-invoices',
    4         'pretty_version' => '1.0.0+no-version-set',
    5         'version' => '1.0.0.0',
    6         'reference' => null,
     4        'pretty_version' => 'dev-main',
     5        'version' => 'dev-main',
     6        'reference' => '3ed890911ea62848e781b81f0c0e2be3ff732ac5',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'be/woocommerce-pdf-invoices' => array(
    14             'pretty_version' => '1.0.0+no-version-set',
    15             'version' => '1.0.0.0',
    16             'reference' => null,
     14            'pretty_version' => 'dev-main',
     15            'version' => 'dev-main',
     16            'reference' => '3ed890911ea62848e781b81f0c0e2be3ff732ac5',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
     
    3939        ),
    4040        'mpdf/psr-log-aware-trait' => array(
    41             'pretty_version' => 'v3.0.0',
    42             'version' => '3.0.0.0',
    43             'reference' => 'a633da6065e946cc491e1c962850344bb0bf3e78',
     41            'pretty_version' => 'v2.0.0',
     42            'version' => '2.0.0.0',
     43            'reference' => '7a077416e8f39eb626dee4246e0af99dd9ace275',
    4444            'type' => 'library',
    4545            'install_path' => __DIR__ . '/../mpdf/psr-log-aware-trait',
     
    7575        ),
    7676        'psr/log' => array(
    77             'pretty_version' => '3.0.2',
    78             'version' => '3.0.2.0',
    79             'reference' => 'f16e1d5863e37f8d8c2a01719f5b34baa2b714d3',
     77            'pretty_version' => '1.1.0',
     78            'version' => '1.1.0.0',
     79            'reference' => '6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd',
    8080            'type' => 'library',
    8181            'install_path' => __DIR__ . '/../psr/log',
     
    8484        ),
    8585        'setasign/fpdi' => array(
    86             'pretty_version' => 'v2.6.2',
    87             'version' => '2.6.2.0',
    88             'reference' => '9e013b376939c0d4029f54150d2a16f3c67a5797',
     86            'pretty_version' => 'v2.6.3',
     87            'version' => '2.6.3.0',
     88            'reference' => '67c31f5e50c93c20579ca9e23035d8c540b51941',
    8989            'type' => 'library',
    9090            'install_path' => __DIR__ . '/../setasign/fpdi',
  • woocommerce-pdf-invoices/trunk/vendor/composer/platform_check.php

    r3236733 r3236940  
    55$issues = array();
    66
    7 if (!(PHP_VERSION_ID >= 80000)) {
    8     $issues[] = 'Your Composer dependencies require a PHP version ">= 8.0.0". You are running ' . PHP_VERSION . '.';
     7if (!(PHP_VERSION_ID >= 70200)) {
     8    $issues[] = 'Your Composer dependencies require a PHP version ">= 7.2.0". You are running ' . PHP_VERSION . '.';
    99}
    1010
  • woocommerce-pdf-invoices/trunk/vendor/mpdf/psr-log-aware-trait/composer.json

    r3236733 r3236940  
    44    "type": "library",
    55    "require": {
    6         "psr/log": "^3.0"
     6        "psr/log": "^1.0 || ^2.0"
    77    },
    88    "license": "MIT",
  • woocommerce-pdf-invoices/trunk/vendor/mpdf/psr-log-aware-trait/src/MpdfPsrLogAwareTrait.php

    r3236733 r3236940  
    1313    protected $logger;
    1414
    15     public function setLogger(LoggerInterface $logger): void
     15    public function setLogger(LoggerInterface $logger)
    1616    {
    1717        $this->logger = $logger;
  • woocommerce-pdf-invoices/trunk/vendor/mpdf/psr-log-aware-trait/src/PsrLogAwareTrait.php

    r3236733 r3236940  
    1313    protected $logger;
    1414
    15     public function setLogger(LoggerInterface $logger): void
     15    public function setLogger(LoggerInterface $logger)
    1616    {
    1717        $this->logger = $logger;
  • woocommerce-pdf-invoices/trunk/vendor/psr/log/README.md

    r3236733 r3236940  
    3939            $this->logger->info('Doing work');
    4040        }
    41            
    42         try {
    43             $this->doSomethingElse();
    44         } catch (Exception $exception) {
    45             $this->logger->error('Oh no!', array('exception' => $exception));
    46         }
    4741
    4842        // do something useful
  • woocommerce-pdf-invoices/trunk/vendor/psr/log/composer.json

    r3236733 r3236940  
    88        {
    99            "name": "PHP-FIG",
    10             "homepage": "https://www.php-fig.org/"
     10            "homepage": "http://www.php-fig.org/"
    1111        }
    1212    ],
    1313    "require": {
    14         "php": ">=8.0.0"
     14        "php": ">=5.3.0"
    1515    },
    1616    "autoload": {
    1717        "psr-4": {
    18             "Psr\\Log\\": "src"
     18            "Psr\\Log\\": "Psr/Log/"
    1919        }
    2020    },
    2121    "extra": {
    2222        "branch-alias": {
    23             "dev-master": "3.x-dev"
     23            "dev-master": "1.0.x-dev"
    2424        }
    2525    }
  • woocommerce-pdf-invoices/trunk/vendor/setasign/fpdi/composer.json

    r3236733 r3236940  
    1616    },
    1717    "require": {
    18         "php": "^5.6 || ^7.0 || ^8.0",
     18        "php": "^7.1 || ^8.0",
    1919        "ext-zlib": "*"
    2020    },
     
    3838    },
    3939    "require-dev": {
    40         "phpunit/phpunit": "~5.7",
     40        "phpunit/phpunit": "^7",
    4141        "setasign/fpdf": "~1.8.6",
    42         "tecnickcom/tcpdf": "~6.2",
     42        "tecnickcom/tcpdf": "^6.2",
    4343        "setasign/tfpdf": "~1.33",
    4444        "squizlabs/php_codesniffer": "^3.5"
  • woocommerce-pdf-invoices/trunk/vendor/setasign/fpdi/src/Fpdi.php

    r3236733 r3236940  
    3131     * @string
    3232     */
    33     const VERSION = '2.6.2';
     33    const VERSION = '2.6.3';
    3434}
  • woocommerce-pdf-invoices/trunk/vendor/setasign/fpdi/src/GraphicsState.php

    r3236733 r3236940  
    2727     * @param Matrix|null $ctm
    2828     */
    29     public function __construct($ctm = null)
     29    public function __construct(?Matrix $ctm = null)
    3030    {
    3131        if ($ctm === null) {
    3232            $ctm = new Matrix();
    33         } elseif (!($ctm instanceof Matrix)) {
    34             throw new \InvalidArgumentException('$ctm must be an instance of Fpdi\\Matrix or null');
    3533        }
    3634
  • woocommerce-pdf-invoices/trunk/vendor/setasign/fpdi/src/PdfParser/Type/PdfDictionary.php

    r3236733 r3236940  
    107107     * @throws PdfTypeException
    108108     */
    109     public static function get($dictionary, $key, $default = null)
     109    public static function get($dictionary, $key, ?PdfType $default = null)
    110110    {
    111         if ($default !== null && !($default instanceof PdfType)) {
    112             throw new \InvalidArgumentException('Default value must be an instance of PdfType or null');
    113         }
    114111        $dictionary = self::ensure($dictionary);
    115112
     
    118115        }
    119116
    120         return $default === null
    121             ? new PdfNull()
    122             : $default;
     117        return $default ?? new PdfNull();
    123118    }
    124119
  • woocommerce-pdf-invoices/trunk/vendor/setasign/fpdi/src/PdfParser/Type/PdfStream.php

    r3236733 r3236940  
    3636     * @throws PdfTypeException
    3737     */
    38     public static function parse(PdfDictionary $dictionary, StreamReader $reader, $parser = null)
    39     {
    40         if ($parser !== null && !($parser instanceof PdfParser)) {
    41             throw new \InvalidArgumentException('$parser must be an instance of PdfParser or null');
    42         }
     38    public static function parse(PdfDictionary $dictionary, StreamReader $reader, ?PdfParser $parser = null)
     39    {
    4340        $v = new self();
    4441        $v->value = $dictionary;
  • woocommerce-pdf-invoices/trunk/vendor/setasign/fpdi/src/PdfReader/PdfReader.php

    r3236733 r3236940  
    220220
    221221                if ($type->value === 'Pages') {
    222                     $readPages(PdfDictionary::get($object->value, 'Kids'), PdfDictionary::get($object->value, 'Count'));
     222                    $readPages(
     223                        PdfType::resolve(PdfDictionary::get($object->value, 'Kids'), $this->parser),
     224                        PdfType::resolve(PdfDictionary::get($object->value, 'Count'), $this->parser)
     225                    );
    223226                } else {
    224227                    $this->pages[] = $object;
  • woocommerce-pdf-invoices/trunk/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php

    r3236733 r3236940  
    4747     * @string
    4848     */
    49     const VERSION = '2.6.2';
     49    const VERSION = '2.6.3';
    5050
    5151    /**
  • woocommerce-pdf-invoices/trunk/vendor/setasign/fpdi/src/Tfpdf/Fpdi.php

    r3236733 r3236940  
    2929     * @string
    3030     */
    31     const VERSION = '2.6.2';
     31    const VERSION = '2.6.3';
    3232}
Note: See TracChangeset for help on using the changeset viewer.