- Class loader of plugins lookup classes from plugin’s class loader first. This change solves the problem where a plugin uses newer (or older) version of jar library which conflicts with a jar library used by applications embedding embulk.
ExecSession#cleanup()method. Applications embedding embulk as a library needs to call this method at the end of bulk load transaction.
spi.Exec.getTempFileSpace. This utility allows plugins to create temporary files. Because the behavior of cleaning files up is not completely defined yet, it is recommended to test the behavior before deploying code using this API to production.
spi.unit.LocalFileclass. Plugins can use this class as a mapped value of configuration file when it needs a path to a local file. This class solves a problem that plugins don’t work with distributed executor plugins (such as embulk-executor-mapreduce) if the plugins use
Stringto get a local file path. Using this class, users can also embed contents of the file in the configuration file instead of setting path to a file.
- This release includes changes around ClassLoader. Most of plugins should work without modification but it’s still highly recommended to test your plugins localy before deploying this version to production systems.