Skip to content

v1.3.0

Latest

Choose a tag to compare

@damjanek damjanek released this 05 Dec 12:21
b85806d

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.PostJSON now sends Content-Type: application/json instead of form-encoded (#362).
  • The CSRF crumb is requested from /crumbIssuer/api/json via the standard JSON path, and SetCrumb now returns request errors instead of panicking (#347).
  • Many methods now return errors they previously swallowed (see Fixes).

Features

  • Jenkins.GetUser (#351), Jenkins.DeleteView (#335), CreateNode mode option (#372)
  • ParameterDefinition.Choices exposes choice parameter values (#346)
  • Node responses expose description, assignedLabels and executable displayName/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); GetBuild with a context path (#353)
  • Folder.Create on nested folders now creates the child in the receiver folder (#354, #202)
  • PipelineRun.GetArtifacts always returned an empty slice (#366); GetNode lost 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.Stop polling (#369), job creation polling (#371)
  • Response bodies closed on X-Error (#356)
  • GenerateAPIToken and CreateUser now form-encode their fields (#367, #368)
  • GetXML sends a UTF-8 content type, matching PostXML (#349)
  • Dependency bumps to mitigate CVEs (#336)

Housekeeping

Full Changelog: v1.2.0...v1.3.0