Skip to content

Commit 5a3d694

Browse files
committed
blog: pact js updates and pact-php latest release
1 parent 7e6985f commit 5a3d694

File tree

1 file changed

+46
-8
lines changed

1 file changed

+46
-8
lines changed

website/blog/2024-03-22-pact-open-source-update-mar-2024.md website/blog/2024-03-26-pact-open-source-update-mar-2024.md

+46-8
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: Yousaf Nabi
44
authorURL: https://twitter.com/you54f
55
tags: [pact, oss, community]
66
keywords: [pact, oss, community]
7-
date: 2024-03-22
7+
date: 2024-03-26
88
draft: false
99
hide_table_of_contents: false
1010
---
@@ -23,11 +23,11 @@ Pact-PHP: V10 is nearly here. 🚀 This brings the Pact Rust core to Pact-PHP al
2323

2424
Here is a bit of a timeline of activities:
2525

26-
- [`10.0.0-alpha6` release](https://github.com/pact-foundation/pact-php/releases/tag/10.0.0-alpha6) went out middle of March
27-
- Creation of a [`release/9.x`](https://github.com/pact-foundation/pact-php/tree/release/9.x) branch from current `master` branch for anyone who still want to work on Ruby Standalone code.
28-
- Merging of [`ffi`](https://github.com/pact-foundation/pact-php/tree/ffi) branch into `master`
29-
- Track the open [PR](https://github.com/pact-foundation/pact-php/pull/326)
30-
- Official release of Pact-PHP v10
26+
- [`10.0.0-alpha7` release](https://github.com/pact-foundation/pact-php/releases/tag/10.0.0-alpha7) just went live
27+
- Creation of a [`release/9.x`](https://github.com/pact-foundation/pact-php/tree/release/9.x) branch from current `master` branch for anyone who still want to work on Ruby Standalone code.
28+
- Merging of [`ffi`](https://github.com/pact-foundation/pact-php/tree/ffi) branch into `master`
29+
- [PR](https://github.com/pact-foundation/pact-php/pull/326)
30+
- 🔜 Official release of Pact-PHP v10
3131
- `alpha` -> `beta` -> `release`
3232

3333
Once again we want to thank [Tien](https://github.com/tienvx) and [Lewis](https://github.com/Lewiscowles1986) for their efforts in bringing this across the line. It is a testament to open-source collaboration across the globe, and has been really fun to watch. I really hope you enjoy using the new release. Be sure to drop us feedback like [Steve Taylor](https://github.com/slt) did in this [_Github Issue_](https://github.com/pact-foundation/pact-php/issues/377)
@@ -132,6 +132,36 @@ Chat with us in: [#pact-go](https://pact-foundation.slack.com/archives/C9UTHTFFB
132132

133133
#### Pact-JS
134134

135+
##### Pact-JS Features
136+
137+
:::info
138+
Did you know, Pact-JS now supports the V4 Specification via the PactV4 interface. The documentation has been updated to reflect this. Found an issue or gap? Let us know
139+
140+
- [Consumer](https://docs.pact.io/implementation_guides/javascript/docs/consumer#consumer-package)
141+
- [Messaging](https://github.com/pact-foundation/pact-js/blob/master/docs/messages.md)
142+
- [Plugins](https://github.com/pact-foundation/pact-js/blob/master/docs/plugins.md)
143+
- [Changelog](https://github.com/pact-foundation/pact-js/blob/master/CHANGELOG.md#1220-2024-02-09)
144+
145+
:::
146+
147+
Corporate proxy support was delivered by [Zac Poe](https://github.com/zac-poe-vg) in this [pull request](https://github.com/pact-foundation/pact-js/pull/1199)
148+
- feat(corporate proxy [#1188](https://github.com/pact-foundation/pact-js/issues/1188))
149+
150+
In Zac's words
151+
152+
>Add native support of HTTPS_PROXY and HTTP_PROXY for verifier for [#1188](https://github.com/pact-foundation/pact-js/issues/1188)
153+
>
154+
> This change adds two pieces of behavior:
155+
>
156+
> - The verifier's 2 step parse body behavior now uses a proxy request buffer (instead of the 'proxyReq' rewrite behavior) to ensure the request stream is accessible for intermediary agent behavior
157+
> - The verifier natively supports HTTP_PROXY/HTTPS_PROXY config and assigns a proxy http Agent where those values are present
158+
>
159+
> This results in out-of-the-box support for corporate proxies in the js verifier
160+
161+
Thanks Zac 🙌
162+
163+
##### Pact-JS Fixes
164+
135165
[Dany Marques](https://github.com/danymarques) went down the NPM rabbit hole, to investigate the root cause of a very interesting bug, affecting NPM registry proxies, and npm script-jacking!
136166

137167
Some long nights with his detective hat on, saw Dany find a suitable workaround as an interim for the Pact-JS project, as well as upstream fixes to the npm project itself. We cannot thank you enough for your herculean efforts.
@@ -140,6 +170,14 @@ Some long nights with his detective hat on, saw Dany find a suitable workaround
140170
- [Longest Slack thread ever xD - 213 replies!](https://www.linen.dev/s/pact-foundation/t/16633868/hell-all-quick-question-in-the-migration-guide-for-v12-it-s-#100081d7-2fee-4420-8eac-d55858dcc483)
141171
- Read more about manifest confusion in this [medium blog](https://medium.com/checkmarx-security/manifest-confusion-dont-believe-what-you-see-how-attackers-can-trick-developers-c3c6419f3ae4) (You may want to use incognito mode, if you don't have an account)
142172
173+
Matt Fellows fixed an issue where matching rules are not supported in messages: [pact-foundation/pact-js#1183](https://github.com/pact-foundation/pact-js/pull/1183).
174+
175+
If you've been stuck on either of these issues, be sure to give it a re-test!
176+
177+
- [Use matchers when verifying metadata](https://github.com/pact-foundation/pact-js/issues/745)
178+
- [(TypeScript) Cannot use V3 matchers within MessagePact. Types are incompatible.](https://github.com/pact-foundation/pact-js/issues/1133)
179+
180+
143181
Chat with us in: [#pact-js](https://pact-foundation.slack.com/archives/C9VBGLUM9).
144182

145183
#### React/Cypress users
@@ -266,13 +304,13 @@ Big shout outs go to these contributors for their efforts, big and small.
266304
- [Gearóid Ó Treasaig](https://github.com/gotreasa) for a series of PR's to improve the quality and health of our examples.
267305
- [learnautomatedtesting](https://github.com/learnautomatedtesting) for the Pact Broker AWS Fargate project and demo.
268306
269-
No matter the contributions, your work will make a positive impact to end users, who wish to benefit for Pact's feature-set, no matter the language or the tooling. We love seeing users bring fixes, improvements and new features to the Pact stable. We can help support you, if you aren't sure where to start?
307+
No matter the contributions, your work will make a positive impact to end users, who wish to benefit for Pact's feature-set, no matter the language or the tooling. We love seeing users bring fixes, improvements and new features to the Pact stable. We can help support you, if you aren't sure where to start.
270308
271309
What's stopping you?
272310

273311
## Thats a wrap
274312

275-
Want to carry on the conversation? Sign up [here](https://slack.pact.io/) to join our Slack community, where you will be amongst over 5k other users. It's a safe place to ask questions, and a great place to share the awesome work you are doing in the Pact ecosystem.
313+
Want to carry on the conversation? Sign up [here](https://slack.pact.io/) to join our Slack community, where you will be amongst over 5k other users. It's a safe place to ask questions, and a great place to share the awesome work you are doing in the Pact ecosystem.
276314
277315
Whatever you are up to, let us know, and we can look to get you featured in the Pact post.
278316

0 commit comments

Comments
 (0)