I am currently on a dev version and I want to put Commerce version 2.12

When I go to the terminal and enter the command :

composer update --with-dependencies

or

composer require 'drupal/commerce:^2.12'

Nothing happens. The update is not done.

With each update of Commerce, I remain stuck on the dev version

How to pass on a stable version ?

{
    "name": "drupal-composer/drupal-project",
    "description": "Project template for Drupal 8 projects with composer",
    "type": "project",
    "license": "GPL-2.0+",
    "authors": [
        {
            "name": "",
            "role": ""
        }
    ],
    "repositories": {
        "0": {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        },
        "algolia.places": {
            "_webform": true,
            "type": "package",
            "package": {
                "name": "algolia/places",
                "version": "1.10.0",
                "type": "drupal-library",
                "extra": {
                    "installer-name": "algolia.places"
                },
                "dist": {
                    "url": "https://registry.npmjs.org/places.js/-/places.js-1.10.0.tgz",
                    "type": "tar"
                },
                "require": {
                    "composer/installers": "~1.0"
                }
            }
        },
        "ckeditor.autogrow": {
            "_webform": true,
            "type": "package",
            "package": {
                "name": "ckeditor/autogrow",
                "version": "4.10.0",
                "type": "drupal-library",
                "extra": {
                    "installer-name": "ckeditor.autogrow"
                },
                "dist": {
                    "url": "https://download.ckeditor.com/autogrow/releases/autogrow_4.10.0.zip",
                    "type": "zip"
                },
                "require": {
                    "composer/installers": "~1.0"
                }
            }
        },
        "ckeditor.codemirror": {
            "_webform": true,
            "type": "package",
            "package": {
                "name": "ckeditor/codemirror",
                "version": "v1.17.7",
                "type": "drupal-library",
                "extra": {
                    "installer-name": "ckeditor.codemirror"
                },
                "dist": {
                    "url": "https://github.com/w8tcha/CKEditor-CodeMirror-Plugin/releases/download/v1.17.7/CKEditor-CodeMirror-Plugin.zip",
                    "type": "zip"
                },
                "require": {
                    "composer/installers": "~1.0"
                }
            }
        },
        "ckeditor.fakeobjects": {
            "_webform": true,
            "type": "package",
            "package": {
                "name": "ckeditor/fakeobjects",
                "version": "4.10.0",
                "type": "drupal-library",
                "extra": {
                    "installer-name": "ckeditor.fakeobjects"
                },
                "dist": {
                    "url": "https://download.ckeditor.com/fakeobjects/releases/fakeobjects_4.10.0.zip",
                    "type": "zip"
                },
                "require": {
                    "composer/installers": "~1.0"
                }
            }
        },
        "ckeditor.image": {
            "_webform": true,
            "type": "package",
            "package": {
                "name": "ckeditor/image",
                "version": "4.10.0",
                "type": "drupal-library",
                "extra": {
                    "installer-name": "ckeditor.image"
                },
                "dist": {
                    "url": "https://download.ckeditor.com/image/releases/image_4.10.0.zip",
                    "type": "zip"
                },
                "require": {
                    "composer/installers": "~1.0"
                }
            }
        },
        "ckeditor.link": {
            "_webform": true,
            "type": "package",
            "package": {
                "name": "ckeditor/link",
                "version": "4.10.0",
                "type": "drupal-library",
                "extra": {
                    "installer-name": "ckeditor.link"
                },
                "dist": {
                    "url": "https://download.ckeditor.com/link/releases/link_4.10.0.zip",
                    "type": "zip"
                },
                "require": {
                    "composer/installers": "~1.0"
                }
            }
        },
        "codemirror": {
            "_webform": true,
            "type": "package",
            "package": {
                "name": "codemirror/codemirror",
                "version": "5.40.0",
                "type": "drupal-library",
                "extra": {
                    "installer-name": "codemirror"
                },
                "dist": {
                    "url": "https://github.com/components/codemirror/archive/5.40.0.zip",
                    "type": "zip"
                },
                "require": {
                    "composer/installers": "~1.0"
                }
            }
        },
        "jquery.inputmask": {
            "_webform": true,
            "type": "package",
            "package": {
                "name": "jquery/inputmask",
                "version": "4.0.0",
                "type": "drupal-library",
                "extra": {
                    "installer-name": "jquery.inputmask"
                },
                "dist": {
                    "url": "https://github.com/RobinHerbots/jquery.inputmask/archive/4.0.0.zip",
                    "type": "zip"
                },
                "require": {
                    "composer/installers": "~1.0"
                }
            }
        },
        "jquery.intl-tel-input": {
            "_webform": true,
            "type": "package",
            "package": {
                "name": "jquery/intl-tel-input",
                "version": "13.0.0",
                "type": "drupal-library",
                "extra": {
                    "installer-name": "jquery.intl-tel-input"
                },
                "dist": {
                    "url": "https://github.com/jackocnr/intl-tel-input/archive/v13.0.0.zip",
                    "type": "zip"
                },
                "require": {
                    "composer/installers": "~1.0"
                }
            }
        },
        "jquery.rateit": {
            "_webform": true,
            "type": "package",
            "package": {
                "name": "jquery/rateit",
                "version": "1.1.1",
                "type": "drupal-library",
                "extra": {
                    "installer-name": "jquery.rateit"
                },
                "dist": {
                    "url": "https://github.com/gjunge/rateit.js/archive/1.1.1.zip",
                    "type": "zip"
                },
                "require": {
                    "composer/installers": "~1.0"
                }
            }
        },
        "jquery.select2": {
            "_webform": true,
            "type": "package",
            "package": {
                "name": "jquery/select2",
                "version": "4.0.5",
                "type": "drupal-library",
                "extra": {
                    "installer-name": "jquery.select2"
                },
                "dist": {
                    "url": "https://github.com/select2/select2/archive/4.0.5.zip",
                    "type": "zip"
                },
                "require": {
                    "composer/installers": "~1.0"
                }
            }
        },
        "jquery.textcounter": {
            "_webform": true,
            "type": "package",
            "package": {
                "name": "jquery/textcounter",
                "version": "0.8.0",
                "type": "drupal-library",
                "extra": {
                    "installer-name": "jquery.textcounter"
                },
                "dist": {
                    "url": "https://github.com/ractoon/jQuery-Text-Counter/archive/0.8.0.zip",
                    "type": "zip"
                },
                "require": {
                    "composer/installers": "~1.0"
                }
            }
        },
        "jquery.timepicker": {
            "_webform": true,
            "type": "package",
            "package": {
                "name": "jquery/timepicker",
                "version": "1.11.13",
                "type": "drupal-library",
                "extra": {
                    "installer-name": "jquery.timepicker"
                },
                "dist": {
                    "url": "https://github.com/jonthornton/jquery-timepicker/archive/1.11.13.zip",
                    "type": "zip"
                },
                "require": {
                    "composer/installers": "~1.0"
                }
            }
        },
        "progress-tracker": {
            "_webform": true,
            "type": "package",
            "package": {
                "name": "progress-tracker/progress-tracker",
                "version": "1.4.0",
                "type": "drupal-library",
                "extra": {
                    "installer-name": "progress-tracker"
                },
                "dist": {
                    "url": "https://github.com/NigelOToole/progress-tracker/archive/v1.4.0.zip",
                    "type": "zip"
                },
                "require": {
                    "composer/installers": "~1.0"
                }
            }
        },
        "signature_pad": {
            "_webform": true,
            "type": "package",
            "package": {
                "name": "signature_pad/signature_pad",
                "version": "2.3.0",
                "type": "drupal-library",
                "extra": {
                    "installer-name": "signature_pad"
                },
                "dist": {
                    "url": "https://github.com/szimek/signature_pad/archive/v2.3.0.zip",
                    "type": "zip"
                },
                "require": {
                    "composer/installers": "~1.0"
                }
            }
        }
    },
    "require": {
        "algolia/places": "1.10.0",
        "ckeditor/autogrow": "4.10.0",
        "ckeditor/codemirror": "v1.17.7",
        "ckeditor/fakeobjects": "4.10.0",
        "ckeditor/image": "4.10.0",
        "ckeditor/link": "4.10.0",
        "codemirror/codemirror": "5.40.0",
        "composer/installers": "^1.2",
        "cweagans/composer-patches": "^1.6",
        "drupal-composer/drupal-scaffold": "^2.2",
        "drupal/admin_toolbar": "^1.19",
        "drupal/back_to_top": "^1.0",
        "drupal/better_exposed_filters": "^3.0",
        "drupal/bootstrap": "3.x-dev",
        "drupal/bootstrap_basic_image_gallery": "^1.3",
        "drupal/bootstrap_languages": "1.x-dev",
        "drupal/captcha": "^1.0",
        "drupal/ckwordcount": "^1.0",
        "drupal/commerce": "2.x-dev",
        "drupal/commerce_autosku": "^2.0",
        "drupal/commerce_license": "^2.0",
        "drupal/commerce_marketplace": "1.x-dev",
        "drupal/commerce_pos": "^2.0",
        "drupal/commerce_pricelist": "^2.0",
        "drupal/commerce_recurring": "1.x-dev",
        "drupal/commerce_reports": "^1.0",
        "drupal/commerce_shipping": "2.x-dev",
        "drupal/commerce_stock": "^1.0",
        "drupal/commerce_stripe": "^1.0",
        "drupal/console": "~1.0",
        "drupal/core": "^8.4",
        "drupal/devel": "^2.0",
        "drupal/diff": "^1.0",
        "drupal/entity_legal": "2.x-dev",
        "drupal/entity_reference_revisions": "^1.6",
        "drupal/eu_cookie_compliance": "^1.0",
        "drupal/facets": "^1.0",
        "drupal/field_validation": "1.x-dev",
        "drupal/flag": "4.x-dev",
        "drupal/flag_search_api": "1.x-dev",
        "drupal/flood_unblock": "^1.5",
        "drupal/gdpr": "^2.0",
        "drupal/geocoder": "^2.0",
        "drupal/geolocation": "2.x-dev",
        "drupal/group": "1.x-dev",
        "drupal/honeypot": "^1.24",
        "drupal/image_delta_formatter": "^1.0",
        "drupal/image_widget_crop": "^2.2",
        "drupal/mailjet": "^2.0",
        "drupal/masquerade": "^2.0",
        "drupal/matomo": "^1.4",
        "drupal/matomo_reporting_api": "^2.0",
        "drupal/message": "^1.0",
        "drupal/message_notify": "^1.0",
        "drupal/message_subscribe": "^1.0",
        "drupal/message_ui": "^1.0",
        "drupal/metatag": "^1.7",
        "drupal/module_filter": "^3.0",
        "drupal/office_hours": "^1.1",
        "drupal/paragraphs": "^1.3",
        "drupal/pathauto": "^1.0",
        "drupal/private_message": "2.x-dev",
        "drupal/private_message_flood": "^1.0",
        "drupal/private_message_nodejs": "^1.0",
        "drupal/profile": "1.x-dev",
        "drupal/redirect": "^1.0",
        "drupal/schema_metatag": "^1.0",
        "drupal/search404": "1.x-dev",
        "drupal/search_api": "^1.5",
        "drupal/search_api_autocomplete": "^1.0",
        "drupal/search_api_location": "^1.0@alpha",
        "drupal/search_api_solr": "^2.4",
        "drupal/shariff": "^1.3",
        "drupal/simple_sitemap": "^3.0",
        "drupal/smart_trim": "^1.1",
        "drupal/super_login": "^1.0",
        "drupal/swiftmailer": "^1.0",
        "drupal/token": "1.x-dev",
        "drupal/twig_tweak": "^2.0",
        "drupal/user_online_status": "^1.0",
        "drupal/views_autorefresh_d8": "^1.1",
        "drupal/views_block_filter_block": "^1.0",
        "drupal/views_bootstrap": "3.x-dev",
        "drupal/views_infinite_scroll": "1.x-dev",
        "drupal/viewsreference": "^1.4",
        "drupal/webform": "^5.0",
        "drupal/webform_views": "^5.0",
        "drupal/yoast_seo": "^2.0",
        "drush/drush": "^9.4",
        "jquery/inputmask": "4.0.0",
        "jquery/intl-tel-input": "13.0.0",
        "jquery/rateit": "1.1.1",
        "jquery/select2": "4.0.5",
        "jquery/textcounter": "0.8.0",
        "jquery/timepicker": "1.11.13",
        "mikehaertl/phpwkhtmltopdf": "~2.1",
        "progress-tracker/progress-tracker": "1.4.0",
        "signature_pad/signature_pad": "2.3.0",
        "tecnickcom/tcpdf": "~6",
        "webflo/drupal-finder": "^1.1",
        "webmozart/path-util": "^2.3"
    },
    "require-dev": {
        "behat/mink": "~1.7",
        "behat/mink-goutte-driver": "~1.2",
        "jcalderonzumba/gastonjs": "~1.0.2",
        "jcalderonzumba/mink-phantomjs-driver": "~0.3.1",
        "mikey179/vfsstream": "~1.2",
        "phpunit/phpunit": ">=4.8.28 <5",
        "symfony/css-selector": "~2.8"
    },
    "conflict": {
        "drupal/drupal": "*"
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "config": {
        "sort-packages": true
    },
    "autoload": {
        "classmap": [
            "scripts/composer/ScriptHandler.php"
        ]
    },
    "scripts": {
        "drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
        "pre-install-cmd": [
            "DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
        ],
        "pre-update-cmd": [
            "DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
        ],
        "post-install-cmd": [
            "DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
        ],
        "post-update-cmd": [
            "DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
        ]
    },
    "extra": {
        "installer-paths": {
            "web/core": [
                "type:drupal-core"
            ],
            "web/libraries/{$name}": [
                "type:drupal-library"
            ],
            "web/modules/contrib/{$name}": [
                "type:drupal-module"
            ],
            "web/profiles/contrib/{$name}": [
                "type:drupal-profile"
            ],
            "web/themes/contrib/{$name}": [
                "type:drupal-theme"
            ],
            "drush/contrib/{$name}": [
                "type:drupal-drush"
            ]
        },
        "patches": {
            "drupal/core": {
                "Fetch User ID from route context views contextual filter for any entity": "https://www.drupal.org/files/issues/fetch_user_id_from_route_for_all-2904908-13.patch"
            },
            "drupal/commerce": {
                "Use a twig template for rendering calculated prices": "https://www.drupal.org/files/issues/2018-06-11/2943579-17.patch"
            },
            "drupal/private_message": {
                "Access denied for administrators on edit/view/delete": "https://www.drupal.org/files/issues/2018-07-31/private_message-access_denied_for_administrators_on_edit_view_delete-2989580-2.patch",
                "PrivateMessageService createRenderablePrivateMessageThreadLink throws an error": "https://www.drupal.org/files/issues/2018-07-09/private-message-2984541-0.patch",
                "Own send messages are shown as new messages": "https://www.drupal.org/files/issues/2019-02-05/private_message-message_count-2977310-8_0.patch"
            },
            "drupal/message_ui": {
                "Broken/missing handler in view Message": "https://www.drupal.org/files/issues/2018-06-21/message_ui-views_plugin_case_2917574-1.patch"
            },
            "drupal/commerce_autosku": {
                "Support for variations in native editing form to be compatible with Commerce 2.10": "https://www.drupal.org/files/issues/2018-10-30/3004550-6.patch"
            },
            "drupal/group": {
                "Add a field to view and edit content's groups": "https://www.drupal.org/files/issues/2019-02-13/group-field_to_view_and_edit_content_groups-2813405-91.patch"
            },
            "drupal/pathauto": {
                "Make sure path has a value before calling purge in pathauto_entity_delete()": "https://www.drupal.org/files/issues/2018-05-21/2939432-21.patch"
            }
        }
    }
}

Comments

zenimagine created an issue. See original summary.

zenimagine’s picture

If I change manually in composer.json

"drupal/commerce": "2.x-dev"

in

"drupal/commerce": "^2.12"

And that I execute the command

composer update --with-dependencies

The update is not done

bojanz’s picture

Status: Active » Closed (duplicate)

Why do you keep opening new issues with the same question? Even though the previous issue is still open and was replied to?

#3032532: Update problem

zenimagine’s picture

The previous one is about dependencies. This question is for the Commerce module

bojanz’s picture

Your question here is the same as https://www.drupal.org/project/commerce/issues/3032532#comment-12969094, which was answered.