Skip to content

Intial release

Latest

Choose a tag to compare

@gerbenvoshol gerbenvoshol released this 07 Sep 07:03
8ff7306

Release Notes - dotenv-loader Version 1.0.0

We are excited to announce the first official release of dotenv-loader version 1.0.0, a lightweight and efficient C library for loading and parsing .env files into system environment variables. This release includes core functionality and extensive unit testing to ensure reliable performance in various scenarios.

Features:

  • Environment Variable Loading: Load variables from .env files into the system environment.
  • Quoted and Unquoted Values: Supports both quoted and unquoted values with escape sequences.
  • Inline Comments: Allows comments within .env files using #.
  • Whitespace Handling: Automatically trims leading and trailing whitespace.
  • UTF-8 Support: Handles UTF-8 encoded characters in environment variables.
  • Override Control: Optional control to overwrite existing environment variables.
  • Robust Error Handling: Skips invalid lines and malformed variable names.
  • Well tested: Comprehensive unit tests are included to validate functionality, including edge cases and large input handling.
  • Robust: Handling of both Linux (\n) and Windows-style line endings (\r\n).

We hope this release helps your development process with reliable environment variable management in C projects.