Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Unreleased

v0.3.2 - 2024-04-01

Fixed

  • gb_io.dump not extracting qualifiers from Python-created records (#42).

  • Qualifier.__repr__ and various __repr__ of Location subclasses not using repr-formatting.

v0.3.1 - 2024-03-28

Fixed

  • Complement.strand not extracting the right attribute from the inner Location.

v0.3.0 - 2024-03-25

Added

  • Python constructors to all types.

  • Properties with getter and setters for all remaining Record fields.

  • Documentation with API reference at https://gb-io.readthedocs.io.

Changed

  • Bump pyo3 dependency to v0.20.

  • Add wheels for Python 3.11 and 3.12.

  • Reorganize code to facilitate object creation.

  • Implement copy-on-access for Record and Feature attributes.

  • strand property to some common Location types.

  • Make Record.sequence a bytearray to allow changing the sequence content.

v0.2.1 - 2022-12-16

Added

  • source and organism properties to Record objects.

  • Support for Python 3.11.

Changed

  • Bumped pyo3 dependency to v0.17.3.

Removed

  • Support for Python 3.6.

v0.2.0 - 2022-08-16

Added

  • gb_io.dump method to write one or more Record objects to a file.

Fixed

  • Compilation issues with modern setuptools-rust versions.

  • Avoid using readinto method of file-like objects when compiling for PyPy because of compatibility issues with passing memoryview arguments.

v0.1.2 - 2022-05-12

Added

  • Extraction of Join, Order, Bond and OneOf feature locations.

  • start and end properties for Complement and Between.

v0.1.1 - 2022-04-01

Added

  • Extraction of Range, Complement and Between locations for a feature.

Fixed

  • Exception chaining for file-like objects.

  • Management of OS errors raised on the Rust side.

v0.1.0 - 2022-03-10

Initial release.