diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 776ebc0..aead8ef 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -16,7 +16,7 @@ Please include a summary of the change and include relevant motivation and conte ## Type of change: -- [ ] Bug fix (non-breaking change which fixes an issue) → The patch number in the VERSION file has been increased. +- [ ] Minor non-breaking change (e.g., bug fix, dependencies updates) → The patch number in the VERSION file has been increased. - [ ] New feature (non-breaking change which adds functionality) → The minor number in the VERSION file has been increased. - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) → The major number in the VERSION file has been increased. - [ ] Automation. diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index b10b1d3..69de846 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -43,7 +43,7 @@ jobs: - name: List php modules using "no php ini" mode run: php -m -n - name: Cache module - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.composer/cache/ key: composer-cache diff --git a/Makefile b/Makefile index 491ded8..9ae178b 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,9 @@ # This file is part of tc-lib-pdf software library. # ---------------------------------------------------------------------------------------------------------------------- +SHELL=/bin/bash +.SHELLFLAGS=-o pipefail -c + # Project owner OWNER=tecnickcom @@ -112,6 +115,10 @@ help: .PHONY: all all: help +# Full build and test sequence +.PHONY: x +x: buildall + # Full build and test sequence .PHONY: buildall buildall: deps diff --git a/RELEASE b/RELEASE index d00491f..573541a 100644 --- a/RELEASE +++ b/RELEASE @@ -1 +1 @@ -1 +0 diff --git a/VERSION b/VERSION index 18e527a..cc22b78 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.0.59 +8.0.60 diff --git a/composer.json b/composer.json index 7ab0f44..a12dc9d 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "php": ">=8.0", "ext-date": "*", "ext-pcre": "*", - "tecnickcom/tc-lib-barcode": "^2.1", + "tecnickcom/tc-lib-barcode": "^2.2", "tecnickcom/tc-lib-color": "^2.0", "tecnickcom/tc-lib-pdf-image": "^2.0", "tecnickcom/tc-lib-pdf-font": "^2.2", diff --git a/resources/debian/control b/resources/debian/control index 19522c4..ca71eed 100644 --- a/resources/debian/control +++ b/resources/debian/control @@ -10,6 +10,6 @@ Vcs-Git: https://github.com/~#VENDOR#~/~#PROJECT#~.git Package: ~#PKGNAME#~ Provides: php-~#PROJECT#~ Architecture: all -Depends: php (>= 8.0.0), php-date, php-tecnickcom-tc-lib-barcode (<< 2.0.0), php-tecnickcom-tc-lib-barcode (>= 2.1.4), php-tecnickcom-tc-lib-color (<< 2.0.0), php-tecnickcom-tc-lib-color (>= 2.0.7), php-tecnickcom-tc-lib-pdf-image (<< 2.0.0), php-tecnickcom-tc-lib-pdf-image (>= 2.0.11), php-tecnickcom-tc-lib-pdf-font (<< 2.0.0), php-tecnickcom-tc-lib-pdf-font (>= 2.1.1), php-tecnickcom-tc-lib-file (<< 2.0.0), php-tecnickcom-tc-lib-file (>= 2.0.10), php-tecnickcom-tc-lib-pdf-encrypt (<< 2.0.0), php-tecnickcom-tc-lib-pdf-encrypt (>= 2.1.1), php-tecnickcom-tc-lib-unicode-data (<< 2.0.0), php-tecnickcom-tc-lib-unicode-data (>= 2.0.10), php-tecnickcom-tc-lib-unicode (<< 2.0.0), php-tecnickcom-tc-lib-unicode (>= 2.0.10), php-tecnickcom-tc-lib-pdf-page (<< 3.0.0), php-tecnickcom-tc-lib-pdf-page (>= 4.0.7), php-tecnickcom-tc-lib-pdf-graph (<< 2.0.0), php-tecnickcom-tc-lib-pdf-graph (>= 2.0.11), ${misc:Depends} +Depends: php (>= 8.0.0), php-date, php-tecnickcom-tc-lib-barcode (<< 2.0.0), php-tecnickcom-tc-lib-barcode (>= 2.2.1), php-tecnickcom-tc-lib-color (<< 2.0.0), php-tecnickcom-tc-lib-color (>= 2.0.8), php-tecnickcom-tc-lib-pdf-image (<< 2.0.0), php-tecnickcom-tc-lib-pdf-image (>= 2.0.12), php-tecnickcom-tc-lib-pdf-font (<< 2.0.0), php-tecnickcom-tc-lib-pdf-font (>= 2.2.3), php-tecnickcom-tc-lib-file (<< 2.0.0), php-tecnickcom-tc-lib-file (>= 2.0.11), php-tecnickcom-tc-lib-pdf-encrypt (<< 2.0.0), php-tecnickcom-tc-lib-pdf-encrypt (>= 2.1.2), php-tecnickcom-tc-lib-unicode-data (<< 2.0.0), php-tecnickcom-tc-lib-unicode-data (>= 2.0.11), php-tecnickcom-tc-lib-unicode (<< 2.0.0), php-tecnickcom-tc-lib-unicode (>= 2.0.11), php-tecnickcom-tc-lib-pdf-page (<< 3.0.0), php-tecnickcom-tc-lib-pdf-page (>= 4.0.8), php-tecnickcom-tc-lib-pdf-graph (<< 2.0.0), php-tecnickcom-tc-lib-pdf-graph (>= 2.0.12), ${misc:Depends} Description: PHP Barcode library This library includes PHP classes to generate PDF documents. diff --git a/resources/rpm/rpm.spec b/resources/rpm/rpm.spec index edb63c2..c3630d5 100644 --- a/resources/rpm/rpm.spec +++ b/resources/rpm/rpm.spec @@ -20,25 +20,25 @@ Requires: php(language) >= 8.0.0 Requires: php-date Requires: php-pcre Requires: php-composer(%{c_vendor}/tc-lib-barcode) < 2.0.0 -Requires: php-composer(%{c_vendor}/tc-lib-barcode) >= 2.1.4 +Requires: php-composer(%{c_vendor}/tc-lib-barcode) >= 2.2.1 Requires: php-composer(%{c_vendor}/tc-lib-color) < 2.0.0 -Requires: php-composer(%{c_vendor}/tc-lib-color) >= 2.0.7 +Requires: php-composer(%{c_vendor}/tc-lib-color) >= 2.0.8 Requires: php-composer(%{c_vendor}/tc-lib-pdf-image) < 2.0.0 -Requires: php-composer(%{c_vendor}/tc-lib-pdf-image) >= 2.0.11 +Requires: php-composer(%{c_vendor}/tc-lib-pdf-image) >= 2.0.12 Requires: php-composer(%{c_vendor}/tc-lib-pdf-font) < 2.0.0 -Requires: php-composer(%{c_vendor}/tc-lib-pdf-font) >= 2.1.1 +Requires: php-composer(%{c_vendor}/tc-lib-pdf-font) >= 2.2.3 Requires: php-composer(%{c_vendor}/tc-lib-file) < 2.0.0 -Requires: php-composer(%{c_vendor}/tc-lib-file) >= 2.0.10 +Requires: php-composer(%{c_vendor}/tc-lib-file) >= 2.0.11 Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 2.0.0 -Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 2.1.1 +Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 2.1.2 Requires: php-composer(%{c_vendor}/tc-lib-unicode-data) < 2.0.0 -Requires: php-composer(%{c_vendor}/tc-lib-unicode-data) >= 2.0.10 +Requires: php-composer(%{c_vendor}/tc-lib-unicode-data) >= 2.0.11 Requires: php-composer(%{c_vendor}/tc-lib-unicode) < 2.0.0 -Requires: php-composer(%{c_vendor}/tc-lib-unicode) >= 2.0.10 +Requires: php-composer(%{c_vendor}/tc-lib-unicode) >= 2.0.11 Requires: php-composer(%{c_vendor}/tc-lib-pdf-page) < 3.0.0 -Requires: php-composer(%{c_vendor}/tc-lib-pdf-page) >= 4.0.7 +Requires: php-composer(%{c_vendor}/tc-lib-pdf-page) >= 4.0.8 Requires: php-composer(%{c_vendor}/tc-lib-pdf-graph) < 2.0.0 -Requires: php-composer(%{c_vendor}/tc-lib-pdf-graph) >= 2.0.11 +Requires: php-composer(%{c_vendor}/tc-lib-pdf-graph) >= 2.0.12 Provides: php-composer(%{c_vendor}/%{gh_project}) = %{version} Provides: php-%{gh_project} = %{version} @@ -64,5 +64,5 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) %{_configpath}* %changelog -* Fri Jun 10 2016 Nicola Asuni 8.0.0-1 +* Fri Jun 10 2024 Nicola Asuni 8.0.0-1 - Initial commit