From 2ddde3acec547c7077ba45fcee88e48fd8386209 Mon Sep 17 00:00:00 2001 From: thebigmunch Date: Fri, 18 Oct 2019 16:07:14 -0400 Subject: [PATCH] Release 0.6.0 --- CHANGELOG.md | 13 ++++++++++++- pyproject.toml | 4 ++-- src/audio_metadata/__about__.py | 2 +- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 42cf499..182be01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,12 @@ This project adheres to [Semantic Versioning](https://semver.org). ## [Unreleased](https://github.com/thebigmunch/audio-metadata/tree/master) -[Commits](https://github.com/thebigmunch/audio-metadata/compare/0.5.0...master) +[Commits](https://github.com/thebigmunch/audio-metadata/compare/0.6.0...master) + + +## [0.6.0](https://github.com/thebigmunch/audio-metadata/releases/tag/0.6.0) (2019-10-18) + +[Commits](https://github.com/thebigmunch/audio-metadata/compare/0.5.0...0.6.0) ### Added @@ -36,6 +41,12 @@ This project adheres to [Semantic Versioning](https://semver.org). This prevents some misidentification, specifically in the case of little-endian BOM of UTF-16-encoded text. * Rename ``XingTOC`` to ``XingToC``. +* Improve load(s) performance: + * Use ``functools.lru_cache`` to remove penalty + of calling ``MP3Streaminfo.find_mpeg_frames`` + once when determining format of MP3s and + again when loading the MP3. + * Use ``bitstruct`` C extension when available. ### Removed diff --git a/pyproject.toml b/pyproject.toml index 8300970..d2b72ea 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "poetry.masonry.api" [tool.poetry] name = "audio-metadata" description = "A library for reading and, in the future, writing metadata from audio files." -version = "0.5.0" +version = "0.6.0" license = "MIT" @@ -24,7 +24,7 @@ bidict = "0.*" bitstruct = ">=6.0,<9.0" more-itertools = ">=4.0,<8.0" pprintpp = "0.*" -tbm-utils = "^1.0.0" +tbm-utils = "^1.0" wrapt = "^1.0" coverage = { version = "^4.5", optional = true } diff --git a/src/audio_metadata/__about__.py b/src/audio_metadata/__about__.py index 1c7cbaa..61883cd 100644 --- a/src/audio_metadata/__about__.py +++ b/src/audio_metadata/__about__.py @@ -14,7 +14,7 @@ __summary__ = 'A library for reading and, in the future, writing metadata from audio files.' __url__ = 'https://github.com/thebigmunch/audio-metadata' -__version__ = '0.5.0' +__version__ = '0.6.0' __version_info__ = tuple(int(i) for i in __version__.split('.') if i.isdigit()) __author__ = 'thebigmunch'