Releases: coryodaniel/k8s
Releases · coryodaniel/k8s
2.0.0-rc.0
This version comes with some breaking changes. Please refer to the migrations guide for help on how to migrate your projects to this version.
Added
K8s.Selector.label_not/N
,K8s.Selector.field/N
andK8s.Selector.field_not/N
- Support for field selectors (#117)K8s.Client.Provider.stream/5
callback was added to the behaviourK8s.Client.Runner.Base.stream/3
K8s.Client.MintHTTPProvider
- The mint client implementationK8s.Client.HTTPTestHelper
- to be used in tests (resides inlib/
so it can be used by dependents)- Open
:connect
operations (connections) now accept messages to be sent to pods K8s.Client.put_conn/2
to add pielining support to the Client API
Changed
K8s.Client.Provider
behaviour was adapted to the new internal architectureK8s.Client.watch/N
now returns a:watch
or:watch_all_namespaces
operation to be passed toK8s.Client.stream/N
Websockex
was replaced byMint.WebSocket
Removed
K8s.Client.HTTPProvider
was removed in favor ofK8s.Client.MintHTTPProvider
- The
:stream_to
inhttp_opts
is not supported anymore.
Breaking changes
- Tests using the
DynamicHTTPProvider
which work withwatch_and_stream
are going to need to be changed. The HTTP mocks now need to implement thestream/5
callback. (SeeK8s.Client.Runner.Watch.StreamTest
on this branch for examples) - The
:stream_to
inhttp_opts
is not supported anymore. Instead, Elixir Streams are returned. Map over the returned stream to send messages to other processes. - Errors are encapsulated in
K8s.Client.HTTPError
headers/1
callback was removed fromK8s.Client.Provider
behaviourK8s.Client.HTTPProvider
(HTTPoison implementation) was removed.K8s.Client.watch/N
now returns a:watch
or:watch_all_namespaces
operation to be passed toK8s.Client.stream/N
Fixed
- Update
PKI.cert_from_map/2
to support fully qualified domain names (FQDN) - Fix forK8s.Conn.from_file/1
(#164)
1.2.0
What's Changed
- add field selector support to K8s.Selector by @drowzy in #117
- Feature: execute a command in a pod by @bradleyd in #190
Chores
- Bump castore from 0.1.18 to 0.1.19 by @dependabot in #191
- Bump ex_doc from 0.29.0 to 0.29.1 by @dependabot in #193
- Bump excoveralls from 0.15.0 to 0.15.1 by @dependabot in #195
New Contributors
Full Changelog: 1.1.10...1.2.0
1.1.10
Fixed
K8s.Client.run/2
: spec updated to includet:K8s.Discovery.Error.t/0
in possible error structs
Full Changelog: 1.1.9...1.1.10
1.1.9
What's Changed
- fix:
K8s.Client.run/2
spec missing a possible error by @icehaunter in #189 K8s.Operation.Path.build/1
: Allow namespace to be nil
Full Changelog: 1.1.8...1.1.9
1.1.8
What's Changed
Chores
- Bump ex_doc from 0.28.5 to 0.28.6 by @dependabot in #186
- Bump ex_doc from 0.28.6 to 0.29.0 by @dependabot in #188
Full Changelog: 1.1.7...1.1.8
1.1.7
1.1.6
What's Changed
- add
map
to theK8s.Selector.label/2
spec by @icehaunter in #177 - use discovery_opts from conn in file discovery driver by @mruoss in #180
- inspect PID in error message as it cannot be converted to binary by @mruoss in #181
- prepare version 1.1.6 by @mruoss in #182
Chores & Maintenance
- Bump yaml_elixir from 2.8.0 to 2.9.0 by @dependabot in #163
- Bump excoveralls from 0.14.5 to 0.14.6 by @dependabot in #167
- Bump credo from 1.6.4 to 1.6.6 by @dependabot in #170
- Bump inch_ex from
c8eeaa6
tod37c3cd
by @dependabot in #171 - Bump httpoison from 1.8.1 to 1.8.2 by @dependabot in #174
- Bump castore from 0.1.17 to 0.1.18 by @dependabot in #173
- Bump dialyxir from 1.1.0 to 1.2.0 by @dependabot in #169
- Github actions maintenance (version updates) by @mruoss in #175
- Bump ex_doc from 0.28.4 to 0.28.5 by @dependabot in #176
- Bump credo from 1.6.6 to 1.6.7 by @dependabot in #178
- Bump jason from 1.3.0 to 1.4.0 by @dependabot in #179
New Contributors
- @icehaunter made their first contribution in #177
Full Changelog: 1.1.5...1.1.6