What’s new in release 2.0.0?¶
- Python 2.5 is no longer supported (and Aglyph 2.0.0 will not run on Python 2.5 without patching).
- Creating components using
staticmethod,classmethod, and nested classes (any level) is now supported viaaglyph.component.Component.factory_name. - Referencing class objects, nested class objects (any level), functions, or
attributes as components is now supported via
aglyph.component.Component.member_name. - The Aglyph cookbook has been expanded to include many new recipes, including
examples of the aforementioned
aglyph.component.Component.factory_nameandaglyph.component.Component.member_nameconfiguration options. - The
<eval>element in declarative XML configuration is deprecated. Use a<component>and a<reference>(or@referenceattribute) to configure anything that was previously declared as an<eval>. - The
aglyph.has_importable_dotted_name()function is deprecated. Theaglyph.format_dotted_name()function now verifies that the dotted name is actually importable. - The
aglyph.identify_by_spec()function is deprecated. This really belonged inaglyph.binder.Binderto begin with, which is where it now resides as a non-public method. - Multiple calls to
aglyph.binder._Binding.init()andaglyph.binder._Binding.attributes()now have a cumulative effect, rather than replacing any previously-specified arguments or attributes, respectively. aglyph.compatandaglyph.context.XMLContexthave been updated to avoid deprecatedxml.etree.ElementTreemethods.- Python implementation detection in
aglyph.compathas been improved. - The
aglyph.compat.ipyetree.XmlReaderTreeBuilderclass is deprecated. IronPython applications no longer need to explicitly pass a parser toaglyph.context.XMLContext(Aglyph now uses a sensible default). (note: with this change, the Aglyph API is now 100% cross-compatible with all tested Python versions and variants) - The Getting started with Aglyph tutorial and accompanying sample code have been revamped to better demonstrate the various Aglyph configuration approaches, as well as to provide more substantive component examples.
- Aglyph documentation now uses the Read the Docs Theme.