#99, expose getEnvWithDefault
#99, minor refactoring to getEnvWithDefault
#99, update the changelog