Releases: SynBioDex/pySBOL3
1.0 beta 6
This is a prerelease of pySBOL3.
Notable changes:
- Added Getting Started guide to documentation
- Added RDFLib 6 compatibility
- Added some utility methods
1.0 beta 5
This is a prerelease of pySBOL3.
Notable changes:
- Default namespace handling
- Updated SHACL rules (expanded validation)
- Cleaned up deprecation warnings
1.0 beta 4
1.0 beta 3
1.0 beta 2
This is a beta release of pySBOL3 1.0
This release has a known bug: Validation fails when parsing SHACL graph
Notable changes:
1.0 alpha 10
An alpha release of pySBOL3. API changes are possible before a beta release.
Breaking changes:
- No known breaking changes
Notable changes:
1.0 alpha 9
An early alpha release of pySBOL3. API changes are expected before a beta release.
Note breaking changes from previous alpha release:
- #243 overhauls the visitor pattern
accept
now takes a visitor and invokesvisit_<type>
on the visitor with self as an argument- More information is available at https://pysbol3.readthedocs.io/en/latest/visitor.html
accept
no longer takes a function and traverses the object hierarchy- The old behavior has been renamed to
traverse
- The old behavior has been renamed to
Other notable changes:
- SBOL 3.0.1 Namespace changes have been incorporated (#226)
1.0 alpha 8
This is an early alpha release of pySBOL3. This release contains incompatible changes from previous releases. More API changes are expected before a 1.0 beta release.
Notable changes:
Document.write_string
now returns astr
instead ofbytes
- Access to builder functions via
Document.builder(type_uri)
- Improved documentation for extension classes and using ontologies
- Properly handle non-SBOL RDF in SBOL files
- Allow many rdf:type properties on SBOL entities
1.0 alpha 7
This is an early alpha release of pySBOL3. This release contains incompatible changes from previous releases. More API changes are expected before a 1.0 beta release.
Notable changes:
- Validation:
- Validation has been overhauled.
Identified.validate()
now returns a report listing validation errors and warnings, rather than raising a validation exception on the first validation error. - Cardinality of all properties are now included in validation checks
- Validation has been overhauled.
- Constructors: All constructors now have keyword arguments for all of their properties. It is now possible to fully specify an object at construction utilizing the full range of keyword arguments available. Some arguments are still required. The required arguments are for object properties whose cardinality is >= 1.
- Referenced objects are no longer added to the document automatically
- Setting an object reference by passing the object itself used to automatically add the object to the document if the receiving object is in a document. This was a bug. The object being referenced is no longer added to the document, and must be added by the programmer separately.
New Features:
- Visitor Pattern:
Document.accept()
andIdentified.accept()
implement the [Visitor Pattern]. This allows aCallable
to be invoked on every object in a document, or on every object parented by a given object. The traversal is depth first. - Cloning:
TopLevel
objects can be cloned usingTopLevel.clone(new_identity)
. The resulting object has the given new_identity and all child objects receive new identities within the namespace of theTopLevel
being cloned. References within the domain of theTopLevel
being cloned are updated. References to otherTopLevel
objects are not updated. The resulting object is not added to a Document automatically.
1.0 alpha 6
An early alpha release of pySBOL3. API changes are expected before a beta release.
Note breaking changes from previous alpha release:
- #152 removes the default namespace
- A call to
sbol3.set_namespace()
is now required before using short naming of TopLevel objects
- A call to
- #153 renames the
variable_components
property ofCombinatorialDerivation
tovariable_features
- #162 renames several
VariableFeature
properties to plural names to match their cardinality