From c706f360d93f0d605a56a85f8b8bf6fd7ddfc266 Mon Sep 17 00:00:00 2001 From: "M.P. Korstanje" Date: Fri, 11 Nov 2022 10:55:57 +0100 Subject: [PATCH] perl: Use version range for messages We did not specify a version range for the Cucumber::Messages dependency. This wasn't a problem before, every version of message was usable. However once https://github.com/cucumber/common/pull/1741 was merged this was no longer true. Fixes #48 --- CHANGELOG.md | 3 ++- perl/cpanfile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2dbd231bc..e752edb62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,8 @@ This document is formatted according to the principles of [Keep A CHANGELOG](htt ## [Unreleased] ### Fixed -- Link to the correct repository in various package meta-data. +- Link to the correct repository in various package meta-data. +- [Perl] Specify version range for `Cucumber::Messages` dependency ## [25.0.2] - 2022-11-09 ### Fixed diff --git a/perl/cpanfile b/perl/cpanfile index bbca501c0..0a0d3a1d2 100644 --- a/perl/cpanfile +++ b/perl/cpanfile @@ -2,7 +2,7 @@ requires "perl", "5.14.0"; requires "Cpanel::JSON::XS"; requires "Class::XSAccessor"; -requires "Cucumber::Messages"; +requires "Cucumber::Messages", ">= 19.0.0, < 20.0.0"; requires "Data::UUID"; requires "Getopt::Long", "2.36";