Skip to content

Releases: juju/js-libjuju

7.0.0

17 Jun 00:10
Compare
Choose a tag to compare

Breaking changes

  • This release introduces the ability to log in using OIDC. This can be enabled by passing oidcEnabled: true to the connection options when calling connect() or connectAndLogin and when enabled, no credentials need to be provided. To support this change the order of parameters to connectAndLogin has changed.
  • This release also removes the wrapper utilities that were outdated and not being used in Juju Dashboard.

Full Changelog: 6.0.0...7.0.0

6.0.0

07 Mar 07:01
c4d930b
Compare
Choose a tag to compare

Breaking changes:

  • Facade methods resolve/reject for error/successful requests instead of resolving with a string for errors and resolving with a response object for successful requests.

Full Changelog: 5.0.0...6.0.0

5.0.0

01 Feb 22:45
c240f77
Compare
Choose a tag to compare

Improvements:

  • Rebuilt facades with optional parameters in objects that don't have an array of required keys.

Full Changelog: 4.1.0...5.0.0

4.1.0

11 Jan 21:28
3c0e170
Compare
Choose a tag to compare

New features:

  • Update to Juju 3.3.2 schema.

Improvements:

  • Reduced published package size.

4.0.0

29 Jun 01:39
9ccb81e
Compare
Choose a tag to compare

New features:

  • Added support for patternProperties. Previously these types were discarded and replaced with the AdditionalProperties type.
  • Update to 3.2.1 Juju schema.
  • Added AgentLifeFlag facade.

Improvements:

  • BREAKING: Rebuild latest facades with patternProperties types.

3.2.1

08 May 00:06
278c06f
Compare
Choose a tag to compare

Bug fixes

  • Be defensive when checking for new Juju and dashboard versions in case the API is down or not returning what is expected.