zend-captcha icon indicating copy to clipboard operation
zend-captcha copied to clipboard

BC break introduced with 2.7 ?

Open marek-pietrzak-tg opened this issue 8 years ago • 3 comments

Seems like 2.7 introduced BC breaks. We experiences a failure (Public key not found) with updating from 2.6 to 2.7. Basically we had in our composer.json:

"zendframework/zend-captcha": "^2.6",
"zendframework/zendservice-recaptcha": "^2.0.1",

We switched back to 2.6 for now until we make sure we can go ahead with zendservice-recaptcha v3.

marek-pietrzak-tg avatar Apr 07 '17 15:04 marek-pietrzak-tg

@mheki an example failure would help

Ocramius avatar Apr 07 '17 15:04 Ocramius

@Ocramius I debugged further. We got this exception:

ZendService\ReCaptcha\Exception: Missing public key in C:\Apache24\htdocs\www\vendor\zendframework\zendservice-recaptcha\library\ZendService\ReCaptcha\ReCaptcha.php on line 380

because of: v2.6: https://github.com/zendframework/zend-captcha/blob/release-2.6.0/src/ReCaptcha.php#L129-L134 vs v2.7 https://github.com/zendframework/zend-captcha/blob/release-2.7.0/src/ReCaptcha.php#L167-L180

We've been passing $options['private_key' => ..., 'public_key' => ...] obviously.

marek-pietrzak-tg avatar Apr 10 '17 11:04 marek-pietrzak-tg

This repository has been closed and moved to laminas/laminas-captcha; a new issue has been opened at https://github.com/laminas/laminas-captcha/issues/3.

weierophinney avatar Dec 31 '19 21:12 weierophinney