Yii2: Packagist release 2.0.31 contains latest commit (2.0.32-dev)

Created on 19 Dec 2019  路  7Comments  路  Source: yiisoft/yii2

What steps will reproduce the problem?

composer require yiisoft/yii2
OR
composer create-project yiisoft/yii2-advanced-app advanced

What is the expected result?

Yii2 is installed and reports its own version as 2.0.31

What do you get instead?

Yii2 is installed, and reports it own version as 2.0.32-dev

Additional info

I was working on upgrading a project ot hte latest depenencies, including Yii 2.0.31, and had been looking for a while why Composer was installing 2.0.32-dev.

Intially I though composer was resolving the depencies to the wrong versions.
but according to composer.lock, version 2.0.31 is installed.
Reading further composer.lock specifies reference b9fa3d184b41fb847aa7ae8b447d59b243c72d45 for both source and dist.
Yii 2.0.31 was released with commit 0329b2db8bbf9719b1add17d6defd2d6045b4f09.

Yii2 commit: release version 2.0.31
Yii2 commit: prepare for next release

Looking through the changes from the 'prepare for next release' commit, that is the version I got, as CHANGELOG.md also already includes the new _2.0.32 under development_ section (which did not exist in the previous commit).

| Q | A
| ---------------- | ---
| Yii version | 2.0.31 (expected)
| PHP version | 7.2.4
| Operating system | Windows 10 Version 1909 Professional 64-bit

Most helpful comment

All 7 comments

I updated Yii to 2.0.31 but files inside from 596bcff instead d97a160
Looks like packagist glitch.

Could be. Anyway, tags are correct and I see nothing we can do to fix your issue.

BTW: it already happened in the past: https://forum.yiiframework.com/t/yii-2-0-18-released/125842

Aha!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MUTOgen picture MUTOgen  路  3Comments

schmunk42 picture schmunk42  路  3Comments

chaintng picture chaintng  路  3Comments

jpodpro picture jpodpro  路  3Comments

sobit picture sobit  路  3Comments