Functions 0.4.10307 (1.0.0-beta1-10307)
Pre-release
Pre-release
mathewc
released this
15 Jul 00:46
·
3291 commits
to dev
since this release
Main things in this release are called out below. You can also review the raw commits since the last release.
- Lots of bug fixes (See the issues we closed out in this milestone)
- Function Exclusion : added the ability to exclude functions via new function level “excluded” metadata property
- set the
excluded: true
function metadata property to have the host completely ignore a function and not load it. It will not be invokable, even via the portal - this differs from the existing
disabled: true
function property, which tells the host to load the function, just not automatically trigger it, and only make it accessible via the portal (not regular requests)
- set the
- Changes to
rand-guid
binding parameter (Breaking)- previously you would use
%rand-guid%
(e.g. in a blob pathmycontainer/%rand-guid%
) - syntax has changed to
{rand-guid}
(e.g. in a blob pathmycontainer/{rand-guid}
)
- previously you would use
- Support for multiple Function exports
- added a new function level metadata property
entryPoint
which allows a function to explicitly declare its entry point - if a function has multiple named exports and no
entryPoint
property is specified, and there is an export namedrun
by convention, it is used. If there is only a single named export, it is used. - e.g. this allows a Node function to export multiple functions to aid in testability
- similarly, for C# the function code can include multiple functions (same logic as above)
- added a new function level metadata property
- Large refactoring of the binding pipeline for extensibility