The languageCode argument has been removed from all Shop API queries, namely product, products, collection and collections. Instead, LanguageCode should be specified as a query param.
languageCode GraphQL arguments have been removed from queries and instead, a "languageCode" query param may be attached to the API URL to specify the language of any translatable entities.Vendure plugins are now defined as Nestjs modules. For existing installations, the VendureConfig will need to be modified so that plugins are not instantiated, but use the static .init() method to pass options to the plugin, e.g.:
// before
plugins: [ new AdminUiPlugin({ port: 3002 }) ],
// after
plugins: [ AdminUiPlugin.init({ port: 3002 }) ],
The generateVariantsForProduct mutation has been removed
The reindex mutation now returns a JobInfo type, which has an id that can then be polled via the new job query as to its progress and status.
This change allows custom fields to be defined on the OrderLine entity. When they are, then the "addItemToOrder" mutation will accept a third argument - "customFields", which matches the fields specified in the config. Additionally, a couple of mutations have been renamed: "removeItemFromOrder" -> "removeOrderLine", "adjustItemQuantity" -> "adjustOrderLine" and their "orderItemId" argument has been renamed to "orderLineId".