embulk-docs/src/release/release-0.5.0.rst in embulk-0.5.0 vs embulk-docs/src/release/release-0.5.0.rst in embulk-0.5.1

- old
+ new

@@ -16,10 +16,12 @@ * Added ``Embulk::InputPlugin.guess(config)`` and ``spi.InputPlugin#guess(config)`` methods for Ruby and Java plugins. * ``guess`` subcommand executes the new guess method and takes the return value of the method. +Plugins can use new ``Guess::SchemaGuess`` utility class for ease of implementation. + For example, if you write a parser plugin named ``myparser``, you can use this configuration file first: .. code-block:: yaml in: @@ -48,9 +50,15 @@ .. code-block:: console $ embulk gem install embulk-input-myinput $ embulk guess config.yml -o guessed.yml + +Plugin API +------------------ + +* Added ``Guess::SchemaGuess`` class. This utility class inputs array of hash objects or array of array objects and returns schema. + Plugin SPI ------------------ * Added ``Embulk::InputPlugin.guess(config)`` method for Ruby input plugins.