Skip to content

Commit

Permalink
REL bump version to 2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Apr 28, 2022
1 parent 1243409 commit 668e971
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ 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).

## [2.1.2] - 2022-04-28

- BUG: fix a bug where formatting would affect spacing within quoted str values
- BUG: fix a bug where strings containing spacing would be dumped without correct quotes,
making them appear as multiple separate values
- BUG: fix a bug where special strings 'true', 't', 'false' and 'f' would decay to boolean after two parsing cycles
- BUG: fix import * for inifix.io (add loads and dumps)

## [2.1.1] - 2022-04-27

BUG: fix a bug where string values containing whitespaces would incorrectly be splitted
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# `inifix`

[![PyPI](https://img.shields.io/pypi/v/inifix.svg?logo=pypi&logoColor=white&label=PyPI)](https://pypi.org/project/inifix/)
[![PyPI](https://img.shields.io/pypi/pyversions/inifix/2.1.1?logo=python&logoColor=white&label=Python)](https://pypi.org/project/inifix/)
[![PyPI](https://img.shields.io/pypi/pyversions/inifix/2.1.2?logo=python&logoColor=white&label=Python)](https://pypi.org/project/inifix/)
[![codecov](https://codecov.io/gh/neutrinoceros/inifix/branch/main/graph/badge.svg)](https://codecov.io/gh/neutrinoceros/inifix)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/neutrinoceros/inifix/main.svg)](https://results.pre-commit.ci/badge/github/neutrinoceros/inifix/main.svg)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
Expand Down Expand Up @@ -153,7 +153,7 @@ This simple validator can be used as a hook for `pre-commit`. Simply add the
following to your project's `.pre-commit-config.yaml`
```yaml
- repo: https://github.com/neutrinoceros/inifix.git
rev: v2.1.1
rev: v2.1.2
hooks:
- id: inifix-validate
```
Expand All @@ -178,7 +178,7 @@ $ inifix-format pluto.ini --diff
This program also doubles as `pre-commit` hook
```yaml
- repo: https://github.com/neutrinoceros/inifix.git
rev: v2.1.1
rev: v2.1.2
hooks:
- id: inifix-format
```
Expand Down
2 changes: 1 addition & 1 deletion inifix/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
from .io import loads
from .validation import validate_inifile_schema

__version__ = "2.1.1"
__version__ = "2.1.2"
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = inifix
version = 2.1.1
version = 2.1.2
description = I/O facility for Idefix/Pluto configuration files
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down

0 comments on commit 668e971

Please sign in to comment.