Skip to content

Library Refactor

Choose a tag to compare

@MGatner MGatner released this 12 Nov 21:17
· 63 commits to master since this release
a1442c7

The previous version proved to be too rigid for updating individual handlers. This is a complete refactor (hence the major version jump) that divides handlers among their functions (draft, archive, read). Existing projects using this module will need updating (please read the docs on new usage).

In addition to the handler flexibility, version 2 also introduces lazy schema loading. The Cache Reader Handler (currently the only one) loads itself into the returned schema and will fetch tables from cache as you access them.

The config file has received some beefing up, so if you made a copy in app/Config please compare and update (or delete it to use the module defaults).

Finally the spark command has been simplified and will run your default workflow without intervention: ./spark schemas. Handler specification is still available via the -draft, -archive, and -print options.