Verified Commit 84f34719 authored by Karel Koci's avatar Karel Koci 🤘
Browse files

Release version 0.9.0

Added
* `convert` argument for `EUci.get`. It provides a way to convert values
  to any type with custom function.

Changed
* `list` argument for `EUci.get` is now required to be set to `True` for
  lists otherwise only first value is returned. This is removal of
  auto-detection of lists. The get of list has to be now always
  explictly stated.
* `dtype` argument for `EUci.get` can now be any type that can be
  initialized with string as a single argument (such as `int("42")`.
* `default` argument for `EUci.get` now uses object instance `NoDefault`
  to detect that there is no default instead of presence of keyword
  argument.

Removed
* obsolete "get" methods in `EUci`
parent 4d960527
Pipeline #95963 passed with stages
in 49 seconds
......@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [0.9.0] - 2022-03-04
### Added
- `convert` argument for `EUci.get`. It provides a way to convert values to any
type with custom function.
......
......@@ -16,7 +16,7 @@ with open("README.md", "r") as fh:
setup(
name='pyuci',
version='0.8.1',
version='0.9.0',
author='CZ.NIC z.s.p.o',
author_email='karel.koci@nic.cz',
description='Python UCI bindings',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment