Repository navigation
v0.3.2
Added
-
plugin validate'svalue-typescheck reads a deprecated type'sreplacedBy(): it refuses a pointer on a type
whose class is not@Deprecated, one naming the type itself or another deprecated type, one on a type that is
neither a call nor an enum (nothing to map), one naming an enum for a call or a call for an enum (Studio pairs
only like with like), and one naming a type no plugin on the classpath lists in
types()(compared by name); a@Deprecateddeclared type with no pointer passes with a note. -
plugin validatereads a plugin's own parameters (ManagedValue.param). It checks that a generic one starts
as a value of its type. -
A plugin may change a managed value's shape between releases. Nothing checks it against the previous
release: Studio's upgrade repairs a bot's values like the rest of its code.
Fixed
plugin validate'stypescheck accepts aClass<…>part when a loaded plugin declares a grouped open set
(ofEnums(…).groupedAs(…)) whose element fits it: the host writes it as a class literal of one of the bot's
nested enums (Activities.Collect.class). It refused the SDK'sFlow.activity(Activities.Collect.class, …),
which stopped a release at the SDK's validation gate.
No source changes since v0.3.0; re-released for updated upstream pins.
Changed
plugin validate'smanagedcheck takes typed ids only (ManagedValue.method(SdkValue.Id.FLOW)), as
the contract now does: their spelling is the enum's, so the lowercase-words pattern for string ids is gone.
Two declarations of one id still fail.plugin validate'stypescheck knows withers: a call's factory is checked against the parts before the
withers', and each wither's argument must be a type a host writes.- A release whose push fails says what git said, and still moves the pins of that module's dependents and
records its pointer: its tag and back-to-snapshot commit are local by then. Before, the dashboard kept
pinning a cli snapshot nobody built, and every later release was refused over it.
Added
botmaker release --sync-pinsmoves everybotmaker.*.versiononmainto its upstream'smainversion
— what the versions gate refuses, which now names the command — one commit per pin, plus the umbrella
pointer commit. Previews unless--execute; pushes nothing.