Skip to content

Releases: mruoss/kubereq

v0.4.1

26 Dec 13:00
15b7533
Compare
Choose a tag to compare

What's Changed

  • chore(deps): update dependency kind to v0.26.0 by @renovate in #53
  • Update on API Spec by @github-actions in #52
  • Refactoring the connect module and usage thereof by @mruoss in #54
  • chore(deps): update dependency elixir to v1.18.0 by @renovate in #55
  • Replace Fresh with our own websocket implementation by @mruoss in #56

New Contributors

  • @github-actions made their first contribution in #52

Full Changelog: v0.4.0...v0.4.1

v0.4.0

13 Dec 20:28
2391c22
Compare
Choose a tag to compare

⚠️ Breaking Changes ⚠️

  • Kubereq.watch/3 and Kubereq.watch_single/4 now also return t:Kubereq.response/0.
    The stream which was returned directly before is now accessible through the :body
    key of the returned t:Req.Response.t/0 struct. The :stream_to option was removed.
    Kubereq.Watcher was added for implementing long running watch event handlers.

Changes

  • Kubereq.wait_until/5 gets by without Task.async/1.
  • Kubereq.create/3, Kubereq.update/3 and Kubereq.apply/5: Extract api_verison and kind from passed resource.

Added

  • Kubereq.Watcher - A behaviour module for implementing a Kubernetes watch event handler.
  • Streaming for paginated list operation via the :into option of Kubereq.list/3
    #46
  • Kubereq.can_i/3 - Checks whether the authenticated user is authorized to perform a specific action.
  • Error raising variants for all functions in Kubereq except Kubereq.wait_until/5.

Chores

  • chore(deps): update dependency erlang to v27.1.3 by @renovate in #47

Full Changelog: v0.3.2...v0.4.0

v0.3.2

22 Nov 16:13
8c562ea
Compare
Choose a tag to compare

Added

  • Support for websocket connections to pods/log and pods/exec subresources #37

Chores

  • chore(deps): update dependency kind to v0.25.0 by @renovate in #44
  • chore(deps): update dependency ex_doc to ~> 0.35 by @renovate in #45

Full Changelog: v0.3.1...v0.3.2

v0.3.1

24 Oct 14:31
107bde8
Compare
Choose a tag to compare

What's Changed

  • chore(deps): update actions/checkout digest to eef6144 by @renovate in #36
  • chore(deps): update dependency erlang to v27.1.2 by @renovate in #38
  • Switch context via Req option and add :current_namespace to Kubeconf by @mruoss in #39
  • chore(deps): update actions/checkout digest to 11bd719 by @renovate in #40
  • move suffix replacement to delete_all operation by @mruoss in #42

Full Changelog: v0.3.0...v0.3.1

v0.3.0

04 Oct 19:01
Compare
Choose a tag to compare

⚠️ Breaking ⚠️

This release comes with a refactored API of the kubereq library and will not
work for code using earlier versions of kubereq. Migrating should be straight
forward in most cases.

  • Kubereq.new/N was deprecated and replaced with Kubereq.attach/1
  • The result of Kuberq.attach/1 can be used with Req functions directly
  • Functions in the Kubereq modules still provide a nice abstraction over plain
    Req. They now forward all opts to Req.
  • Kubereq.wait_until/5 now takes a Keyword list as fifth argument (was
    integer before). To migrate, just turn timeout into timeout: timeout

Full Changelog: v0.2.1...v0.3.0

v0.2.1

03 Oct 20:44
fe0bd21
Compare
Choose a tag to compare

Fixed

  • Exec auth wrongly assumes cert data to be base64 encoded #33, #34

Chores

Full Changelog: v0.2.0...v0.2.1

v0.2.0

20 Sep 18:32
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.8...v0.2.0

v0.1.8

14 Sep 20:06
7899e6e
Compare
Choose a tag to compare

What's Changed

  • Set server URL to context name in stub kubeconfig by @mruoss in #26

Full Changelog: v0.1.7...v0.1.8

v0.1.7

14 Sep 15:54
Compare
Choose a tag to compare

What's Changed

  • Add stub kubeconfig step for testing by @mruoss in #25

New Contributors

Full Changelog: v0.1.5...v0.1.7

v0.1.5

24 Aug 19:30
Compare
Choose a tag to compare

0.1.5 - 2024-08-24

Added

  • Kubereq.wait_until/5: Support returning {:error, error} tuple in the callback