Repository navigation
Highlights
First release of a renewed maintenance effort: a large batch of community fixes landed (#373), plus a handful of new APIs. Thanks to everyone who contributed!
Behavior changes
Requester.PostJSONnow sendsContent-Type: application/jsoninstead of form-encoded (#362).- The CSRF crumb is requested from
/crumbIssuer/api/jsonvia the standard JSON path, andSetCrumbnow returns request errors instead of panicking (#347). - Many methods now return errors they previously swallowed (see Fixes).
Features
Jenkins.GetUser(#351),Jenkins.DeleteView(#335),CreateNodemode option (#372)ParameterDefinition.Choicesexposes choice parameter values (#346)- Node responses expose
description,assignedLabelsand executabledisplayName/fullDisplayName/timestamp(#348)
Fixes
Build.Stop()failing with a JSON syntax error since v1.2.0 (#345, #342)- Pipelines with a Jenkins context path (#344, #338);
GetBuildwith a context path (#353) Folder.Createon nested folders now creates the child in the receiver folder (#354, #202)PipelineRun.GetArtifactsalways returned an empty slice (#366);GetNodelost its run/base (#370)- Panics: SVN builds without revisions (#358), stale queue ID in
CancelTask(#361), plugin install/uninstall request errors (#364) - Errors no longer swallowed:
SaveToDir(#357),Node.GetLogText(#359),GetAllViews(#360), matrix runs (#363), upstream build lookup (#365),Build.Stoppolling (#369), job creation polling (#371) - Response bodies closed on
X-Error(#356) GenerateAPITokenandCreateUsernow form-encode their fields (#367, #368)GetXMLsends a UTF-8 content type, matchingPostXML(#349)- Dependency bumps to mitigate CVEs (#336)
Housekeeping
Full Changelog: v1.2.0...v1.3.0