From 696059fcdb59de8ac65c0ccb8c5a7ae0f8b6a3d2 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Wed, 8 Feb 2023 20:52:17 +0000 Subject: [PATCH 1/4] #145 - Enable Thread safe in matrix --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9d32727..28975f76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: fail-fast: false matrix: php: [ '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ] - ts: [ 'nts' ] + ts: [ 'ts', 'nts' ] arch: [ 'x64' ] name: From 04d75a005f132c9f18a95256564f725b8aabf8a3 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Wed, 8 Feb 2023 21:14:18 +0000 Subject: [PATCH 2/4] #145 - Enable Thread safe in matrix for Windows --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 28975f76..689e64e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,13 +45,21 @@ jobs: - { name: macos-clang, os: macos-10.15, compiler: clang, ccov: 'ON' } # Windows - { php: '7.0', ts: 'nts', arch: 'x64', name: 'windows2019-vc14', os: 'windows-2019', compiler: 'vc14', ccov: 'OFF' } + - { php: '7.0', ts: 'ts', arch: 'x64', name: 'windows2019-vc14', os: 'windows-2019', compiler: 'vc14', ccov: 'OFF' } - { php: '7.1', ts: 'nts', arch: 'x64', name: 'windows2019-vc14', os: 'windows-2019', compiler: 'vc14', ccov: 'OFF' } + - { php: '7.1', ts: 'ts', arch: 'x64', name: 'windows2019-vc14', os: 'windows-2019', compiler: 'vc14', ccov: 'OFF' } - { php: '7.2', ts: 'nts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2019', compiler: 'vc15', ccov: 'OFF' } + - { php: '7.2', ts: 'ts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2019', compiler: 'vc15', ccov: 'OFF' } - { php: '7.3', ts: 'nts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2019', compiler: 'vc15', ccov: 'OFF' } + - { php: '7.3', ts: 'ts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2019', compiler: 'vc15', ccov: 'OFF' } - { php: '7.4', ts: 'nts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2019', compiler: 'vc15', ccov: 'OFF' } + - { php: '7.4', ts: 'ts', arch: 'x64', name: 'windows2019-vc15', os: 'windows-2019', compiler: 'vc15', ccov: 'OFF' } - { php: '8.0', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } + - { php: '8.0', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } - { php: '8.1', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } + - { php: '8.1', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } - { php: '8.2', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } + - { php: '8.2', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' } steps: - uses: actions/checkout@v3 From a1c168f8b88d16bcfa60f1e37985e6f157c8b3a0 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Wed, 8 Feb 2023 21:26:31 +0000 Subject: [PATCH 3/4] Bump actions to v3 --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 689e64e5..0472dada 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -139,7 +139,7 @@ jobs: # zephir_parser-php-7.3-nts-ubuntu-gcc-x64.zip # zephir_parser-php-7.3-nts-windows2019-vc15-x64.zip - name: Upload Zephir Parser - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: zephir_parser-php-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.name }}-${{ matrix.arch }}.zip path: | @@ -163,7 +163,7 @@ jobs: - name: Upload Code Coverage Report if: matrix.ccov == 'ON' - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} files: ./lcov.info @@ -171,7 +171,7 @@ jobs: - name: Upload Info for Debug on Fail if: failure() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: retention-days: 2 name: debug-zephir_parser-php-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.name }}-${{ matrix.arch }} @@ -242,7 +242,7 @@ jobs: pecl info zephir_parser-pecl.tgz - name: Upload Artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: 'zephir_parser-pecl' path: zephir_parser-pecl.tgz @@ -267,7 +267,7 @@ jobs: - name: Download Zephir Parser build artifacts id: download - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: path: ./build-artifacts From 6119da3e2806063762b86a29607999cef1dbb62a Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Wed, 8 Feb 2023 21:42:51 +0000 Subject: [PATCH 4/4] Bump version to `1.5.3` --- CHANGELOG.md | 7 ++++++- VERSION | 2 +- package.xml | 12 ++++++------ zephir_parser.h | 2 +- 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9475e95..6a8727d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] - xxxx-xx-xx +## [1.5.3] - 2023-02-08 +### Added +- Enabled Thread Safe (TS) builds [#145](https://github.com/phalcon/php-zephir-parser/issues/145) + ## [1.5.2] - 2022-12-27 ### Added - Enabled support of PHP8.2 for Windows [#141](https://github.com/phalcon/php-zephir-parser/issues/141) @@ -193,7 +197,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Added - Initial stable release -[Unreleased]: https://github.com/phalcon/php-zephir-parser/compare/v1.5.2...HEAD +[Unreleased]: https://github.com/phalcon/php-zephir-parser/compare/v1.5.3...HEAD +[1.5.3]: https://github.com/phalcon/php-zephir-parser/compare/v1.5.2...v1.5.3 [1.5.2]: https://github.com/phalcon/php-zephir-parser/compare/v1.5.1...v1.5.2 [1.5.1]: https://github.com/phalcon/php-zephir-parser/compare/v1.5.0...v1.5.1 [1.5.0]: https://github.com/phalcon/php-zephir-parser/compare/v1.4.2...v1.5.0 diff --git a/VERSION b/VERSION index 4cda8f19..8af85beb 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.5.2 +1.5.3 diff --git a/package.xml b/package.xml index 34027211..210cda4b 100644 --- a/package.xml +++ b/package.xml @@ -12,11 +12,11 @@ anton@phalcon.io yes - 2022-12-27 - + 2023-02-08 + - 1.5.2 - 1.5.2 + 1.5.3 + 1.5.3 stable @@ -24,11 +24,11 @@ MIT - Mon, Dec 27, 2022 - Zephir Parser 1.5.2 + Mon, Feb 08, 2023 - Zephir Parser 1.5.3 = Added: - - Enabled support of PHP8.2 for Windows + - Enabled Thread Safe (TS) builds diff --git a/zephir_parser.h b/zephir_parser.h index 74f29739..2b1700d8 100644 --- a/zephir_parser.h +++ b/zephir_parser.h @@ -15,7 +15,7 @@ extern zend_module_entry zephir_parser_module_entry; #define phpext_zephir_parser_ptr &zephir_parser_module_entry #define PHP_ZEPHIR_PARSER_NAME "zephir_parser" -#define PHP_ZEPHIR_PARSER_VERSION "1.5.2" +#define PHP_ZEPHIR_PARSER_VERSION "1.5.3" #define PHP_ZEPHIR_PARSER_AUTHOR "Zephir Team and contributors" #define PHP_ZEPHIR_PARSER_DESCRIPTION "The Zephir Parser delivered as a C extension for the PHP language."