additional warning and error events
bump version to v0.4.0