73 Commits
Author SHA1 Message Date
Steve Kim 26c3a6e246 regression labeler fix (#123) 2026-07-30 14:17:19 -07:00
Dmitriy Musatkin 10cd5e838e change stale issue and discussion handling to run once a week (#120) 2025-08-01 10:19:31 -07:00
Dengke Tang 711fa6635f Fix segfaults -- CRC64NVME on machines with disabled AVX and uri parsing corner case (#119) 2025-01-28 15:22:11 -08:00
Ashish DhingraandJoseph Klix 3e1e4c8f6b chore: Modified bug issue template to add checkbox to report potential regression. (#114)
Co-authored-by: Joseph Klix <[email protected]>
2024-10-25 22:58:58 +00:00
Dengke Tang ad7d9de082 Update CI action (#118) 2024-10-23 10:49:44 -07:00
Remi Collet ca53fa4933 Fix out of sources tree (#117) 2024-10-23 09:55:52 -07:00
Waqar Ahmed Khan d71d9906c7 latest submodules (#116) v1.2.7 2024-10-18 15:15:13 -07:00
Michael Graeb c67be51497 clang-format 18 (#113) 2024-06-14 10:39:21 -07:00
Michael Graeb a63485b65b aws-crt-ffi v0.3.7 -> v0.3.8 (#112)
Also: replace uses of `aws_promise` (removed in https://github.com/awslabs/aws-c-common/pull/1110) with `aws_future`
v1.2.6
2024-06-13 10:21:28 -07:00
Waqar Ahmed Khan 0ea1f04ec5 Remove crypto function (#111) v1.2.5 2024-04-19 14:30:56 -07:00
Michael Diodone eb0c6e4e14 Fix deprecated use of ${var} in Encoding.php (#108) v1.2.4 2023-11-08 00:42:13 +00:00
Dengke Tang b2db8ca161 Hard-code the maintainers information to the helper script (#107) 2023-10-16 15:20:42 -07:00
Dengke Tang 5545a4fa31 update submodules (#106)
fixing sigv4a for MacOS 14+
v1.2.3
2023-10-16 13:10:06 -07:00
ed1a708b48 added workflow for handling answerable discussions (#104)
* added workflow for handling answerable discussions

* add extra line

---------

Co-authored-by: shailja <[email protected]>
Co-authored-by: Talby <[email protected]>
Co-authored-by: Joseph Klix <[email protected]>
2023-08-25 09:45:52 +02:00
Joseph Klix 444415435b fix permissions for stale issue bot (#103) 2023-08-09 15:03:26 -07:00
Joseph Klix ea0d11bde3 update time to ancient (#100) 2023-08-09 20:09:44 +00:00
Ying-Shan LinandWaqar Ahmed Khan 2f1dc7b7ed fix: Undefined function 'AWS\CRT\HTTP\InvalidArgumentException' (#102)
Co-authored-by: Waqar Ahmed Khan <[email protected]>
v1.2.2
2023-07-20 09:49:55 -07:00
Joseph Klix 99fb0daec7 Issue templates (#99)
* add github templates and bots

* Delete ---bug-report.md

* Delete ---feature-request.md

* Delete ---questions-help.md

* Update bug-report.yml

* Update config.yml
2023-04-14 14:17:12 -07:00
Dengke TangandRemi Collet 1926277fc7 [Replicate] compatibility with PHP 5.x (#97)
original: https://github.com/awslabs/aws-crt-php/pull/96

- Make sure run the test... Run the test for php5.5
- Add readme section about the mismatch of libcrypto from php and awscrt. 

---------

Co-authored-by: Remi Collet <[email protected]>
v1.2.1
2023-03-24 13:22:19 -07:00
Dengke Tang ed3f8ca16d mark release as stable and updates php requirement (#94) v1.2.0 2023-03-16 14:08:44 -07:00
Dengke Tang c4ea24d822 PECL release follow up (#90) v1.1.0 2023-03-15 16:52:00 -07:00
Dengke Tang 46e0ca0c81 support cross version phpunit (#92) 2023-03-09 16:44:10 -08:00
Dengke Tang 5334110e8b Intructions update (#89)
- add .gitattributes to cut down the composer package size.
- Update README for instruction to install from package managers and build from source for windows.
2023-03-01 16:18:25 -08:00
Dengke Tang 442f3850bd Fix PECL publish and windows CI (#85) 2023-03-01 14:56:36 -08:00
Waqar Ahmed Khan 56009e8c03 Latest Submodules (#73) 2023-02-06 19:00:30 -08:00
Waqar Ahmed Khan f5c64ee7c5 Fixing a low severity issue with parsing certificate Common Name (CN) (#84) v1.0.4 2023-01-31 15:08:25 -08:00
Waqar Ahmed Khan 78c5260ba4 Update s2n (#81) v1.0.3 2023-01-26 17:45:16 -08:00
Dengke Tang 904942197d fix win build (#72) 2022-11-23 09:41:25 -08:00
Michael Graeb 541b3c8952 Fix it so CI runs on branches with '/' in name (#62) 2022-04-15 11:10:11 -07:00
Michael Graeb 09a84b7a52 Update phpunit for security fixes (#61) 2022-04-06 16:31:22 -07:00
SamRemis 3942776a8c removed conflict (#48) v1.0.2 2021-09-03 15:57:30 -07:00
Justin Boswell 2f8d2ee756 Made PHP extension compile with openssl by default (#41)
* Made PHP extension compile with openssl

* Use catchsegv to dump a callstack

* Updated to use aws_crt_crypto_share()

* Much faster builds by making cmake parallel if supported

* Make sure all CRT threads shutdown prior to cleanup

* USE_OPENSSL should be the path to openssldir

* Updated to aws-crt-ffi v0.2.4
1.0.1 v1.0.1
2021-08-30 13:36:54 -07:00
Justin Boswell 0af673491a Removed FFI support (#45)
* Removed FFI support

* run_tests and ci-test.sh should never have differed. Fixing now

* run_tests can now update composer
2021-08-17 19:06:14 -07:00
Justin Boswell fb4814c4e1 re-applied changes to makefile that were SOMEHOW lost 2021-08-17 22:56:53 +00:00
ilevyorandItamar Levy-Or e4f5b52d6a php qol Sam asked for (#44)
Co-authored-by: Itamar Levy-Or <[email protected]>
2021-08-06 14:01:30 -04:00
Justin Boswell e5ffe9d63d Added validation for signing/signing config (#43)
* Imported aws-crt-ffi/validation

* Exposed Signing::testVerifySigV4ASigning

* Updated to aws-crt-ffi v0.2.3
2021-08-03 19:12:28 +00:00
Damian Vicino 02b25687c8 Adding scripts for release to PECL (#36)
Adding scripts for release to PECL
2021-08-03 14:55:08 -04:00
Justin Boswell 8d76d4fac3 Added logging support from aws-crt-ffi (#42)
* Added logging support from aws-crt-ffi

* Updated to aws-crt-ffi v0.2.1
2021-08-03 09:25:52 -07:00
Justin Boswell 92724b8d51 Implemented SigV4A (#40)
* Implemented should_sign_header callback

* Added SigV4A to SigningAlgorithm

* Added SigV4A test

* Added debugging info to README

* Fixed memory leak from argument vectors

* Fixed memory leak of stream read buffers

* Added support for callables as option values

* Added should_sign_header support and test

* Fixed ELG type bug exposed by aws-crt-ffi change

* Updated to aws-crt-ffi v0.2.0
2021-07-28 12:54:37 -07:00
Justin Boswell 3f77a01fbf Updated to aws-crt-ffi v0.1.6, updated http API (#39)
* Updated to aws-crt-ffi v0.1.6, updated http API

* clang-format
2021-07-08 12:57:07 -04:00
Justin Boswell 1feba3eb6a Updated aws-crt-ffi to v0.1.5 to get CRC32/CRC32C (#32) v1.0.0 2021-06-18 15:46:52 -07:00
Justin BoswellandItamar Levy-Or ebfb91f562 Crc32 (#31)
* broken

* crc tests

* ffi changes

* large buffer test

* ffi cmake fix

* formatting

* laws-checksums config.m4

* broken

* crc tests

* ffi changes

* large buffer test

* ffi cmake fix

* formatting

* laws-checksums config.m4

* Fixed aws-crt-ffi after rebase of main

* Regenerated awscrt_arginfo.h

* merge fix

* Fixed arginfo

* try forcing memory limit higher

* mem_limit set

* newline

Co-authored-by: Itamar Levy-Or <[email protected]>
2021-06-18 18:04:56 -04:00
Justin Boswell 078df4825c Windows build (#29)
* Added build instruction updates for Windows to README

* Added composer to requirements
2021-06-17 09:21:00 -07:00
Justin Boswell f6f9a6b349 Restored FFI to working order (#28)
* Restored FFI to working order

* Disabled incompatible tests, fixed string conversion

* Use extension_loaded instead of checking PHP version

* Added better checks for FFI

* Do not build FFI deps if no FFI is present
2021-06-16 11:26:31 -07:00
Justin Boswell d2546e616d Only shim expectException if necessary (#27)
* Only shim expectException if necessary

* Added missing entries to gitignore
2021-06-08 09:56:32 -07:00
Justin Boswell 7d47316a7d Implemented async callbacks to PHP regardless of thread model, Sigv4 signing (#24)
* Updated to get latest aws-crt-ffi

* Added implementation for signing_result

* Added main thread queue and callback queueing to signing process

* Updated to get support for date on signing_config_aws

* added date support to SigningConfigAWS, fixed up reference issues on http message signing

* Broke C code into separate files, moved common stuff to php_aws_crt.h

* Use a unity build to make PHP do the right thing with our lib

* Updated aws-crt-ffi to v0.1.3 to get sigv4 changes

* Added CRT::isAvailable for safe runtime detection of CRT

* Fixed up test resource safety, added tests to prove it

* Added CI jobs for every version of PHP on linux (#26)
2021-06-08 00:34:42 +00:00
Justin Boswell a99fdeb9d3 Added bindings for Signable, SigningConfig, Signing (#23)
* Added bindings for Signable, SigningConfig, Signing

* Fixed PHP5.6 argument vector madness

* Added SigningConfigAWS implementation and lifetime tests

* Updated .gitignore

* Added impl for Signing::signRequestAws(), laid out sigv4 test
2021-05-18 14:06:26 -07:00
Justin Boswell beda2f5376 Updated aws-crt-ffi to v0.1.2 (#22) 2021-05-05 14:02:13 -07:00
Justin Boswell 7e925c92fb Cleanup pass based on prior PRs (#21)
* Updates to stub generation

* More idiomatic fixes from PHP team

* Moved tests from src/tests -> tests, got rid of extension-only tests

* fixed up test paths, regenerated arginfo
2021-05-05 13:37:47 -07:00
Justin Boswell 531330e1b2 Idiomatic fixes from previous PRs (#20)
* Various idiomatic feedback from PHP team

* Additional fixes after debugging tests
2021-03-25 15:13:23 -04:00