These are the release notes for Snapcraft 3.3.
For general details, including installation instructions, see Snapcraft overview, or take a look at Snapcraft release notes for other Snapcraft releases.
Support for base: core
has been added.
This enables you to take advantage of the many new Snapcraft 3 features while using 16.04 as a base. Previously, you needed to use the 18.04 base.
build-aux/snap
is now supported as an alternative directory for snapcraft.yaml and its assets (i.e.; hooks, gui, …).
To avoid confusion, snapcraft now display what directory it is picking for assets, depending on where the snapcraft.yaml is found. It will only pick build-aux/snap
for assets if the snapcraft.yaml
is found in that path.
Snapcraft now produces a better error when the type detected for the version string is not a string.
A minor fix to bring rebuilding capabilities to projects using the python plugin.
This means the days of seeing messages like the following should be long gone:
You must give at least one requirement to install (maybe you meant "pip install ...")
Expanded schema errors for users of the Go and Python, allowing for early discovery of non-valid uses of these plugins. Most importantly, this eliminates the cryptic error during build time when not using a combination of the source
and <plugin-name>-packages
keywords.
Entries of type string are now supported in package.json
for the bin
keyword (previously, the plugin could only parse dictionary entries), this means that constructs from package.json
, such as the following, will be parsed and interpreted correctly by Snapcraft:
{
"name": "unnamed",
"version": "1.0",
"description": "Using string bin entries.",
"main": "index.js",
"bin": "bin/index.js",
}
Brand stores are a commercial feature of the Snap Store, and it’s now possible to register your snap with one of these stores.
The following syntax is now allowed as part of the register
command:
$ snapcraft register [--store <store>] <snap-name>
The issues and features worked on for 3.3 can be seen on the 3.3 launchpad milestone which are reflected in the following change list:
Sergio Schvezov
Claudio Matsuoka
Facundo Batista
Last updated 5 years ago.