Changes for version 1.01 - 2012-10-04

  • Ron Savage is now co-maint.
  • Re-write MySQL-specific code, which is only used in the tests.
  • Rename Changes to CHANGES.
  • Use ini.report.pl (shipped with Module::Metadata::Changes) to add Changelog.ini to the distro.
  • Reformat the dates in this file.
  • Clean up the POD.
  • Re-work Makefile.PL rather than have Build.PL generate it.
  • Copy sub _strip_options() from Tree and add to Tree::Persist::Base. Then call it from within the subs returned from _add_child_handler() and _remove_child_handler(). This resolves RT#61740, thereby allowing trees to be read in from a db and inserted into another tree, and visa versa, i.e. allow trees to be inserted into a tree read in from a db.
  • Add t/008_add_from_db.t to test this patch.
  • Add an FAQ, whose first item explains using $ENV{DBI_DSN} etc to control the test database, and that DBD::SQLite is used by default.
  • Add code to File::Temp -> newdir(...) in tests to help run under BSD-based systems.
  • Encode the 5 built-in XML character entities (within the node's value) when writing to an XML file. They are decoded by XML::Parser when the file is read back in.
  • Add scripts/xml.demo.pl and scripts/store.xml.

Modules

A transparent persistence layer for Tree and its children
The base class for the Tree persistence plugin hierarchy
The base class for DB plugins for Tree persistence
A handler for Tree persistence
The base class for File plugins for Tree persistence
A handler for Tree persistence