Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.0.1] - 2026-03-25

### Fixed
- Fixed case-insensitive file extension handling in `Instance.from_path()`: files with uppercase extensions (`.XBRL`, `.XML`, `.ZIP`) are now processed correctly (#109).

## [2.0.0] - 2026-03-17

### Added
Expand Down Expand Up @@ -166,7 +171,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Initial pre-release version

[Unreleased]: https://github.com/Meaningful-Data/xbridge/compare/v2.0.0...HEAD
[Unreleased]: https://github.com/Meaningful-Data/xbridge/compare/v2.0.1...HEAD
[2.0.1]: https://github.com/Meaningful-Data/xbridge/compare/v2.0.0...v2.0.1
[2.0.0]: https://github.com/Meaningful-Data/xbridge/compare/v1.5.2...v2.0.0
[1.5.2]: https://github.com/Meaningful-Data/xbridge/compare/v1.5.1...v1.5.2
[1.5.1]: https://github.com/Meaningful-Data/xbridge/compare/v1.5.0...v1.5.1
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "eba-xbridge"
version = "2.0.0"
version = "2.0.1"
description = "XBRL-XML to XBRL-CSV converter for EBA Taxonomy (version 4.2)"
license = 'Apache 2.0'
readme = "README.rst"
Expand Down
2 changes: 1 addition & 1 deletion src/xbridge/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Init file for eba-xbridge library
"""

__version__ = "2.0.0"
__version__ = "2.0.1"
5 changes: 3 additions & 2 deletions src/xbridge/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,10 @@ class Instance:
def from_path(cls, path: Union[str, Path]) -> Instance:
path = Path(path)

if path.suffix in [".xml", ".xbrl"]:
suffix = path.suffix.lower()
if suffix in [".xml", ".xbrl"]:
return XmlInstance(path)
elif path.suffix == ".zip":
elif suffix == ".zip":
return CsvInstance(path)
else:
raise ValueError(f"Unsupported file extension: {path.suffix}")
Expand Down
Loading