Skip to content

Release v2.0.1

Compare
Choose a tag to compare
@navin-moorthy navin-moorthy released this 04 May 08:30
· 127 commits to main since this release
v2.0.1
7128847

2.0.1 (2023-05-04)

👀 Notable Changes

config

  • Remove loadEnvironmentVariables() function invocation from config/index.ts and move to server.ts
  • Ensure environment variables are loaded before validating them.

Introduced in: e6955d1

🗃️ Commits

🐞 Bug Fixes

♻️ Code Refactoring

🛠️ Build Updates

📔 Documentation Changes

🔨 Maintenance Updates

📌 Other Notable Changes

DEVELOPMENT md

  • Change file path from src/index.ts to src/server.ts for starting development server

Introduced in: c574f95

env

  • Add a new config/index.ts file for loading the environment variables from a .env file.
  • Add validateEnvironment variables function that validates the required environment variables.
  • Use validateEnvironment variables to ensure the required env variables are available at runtime.
  • Update index.ts to utilize the validate environment variables function.
  • Replace usage of consola library with console.log to output 1 + 2.

Introduced in: 2d2f2f0