Skip to content

Commit

Permalink
Release time! (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blacksmoke16 committed Apr 10, 2024
1 parent 5e51e23 commit 78b355c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 18 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## [0.1.2] - 2024-04-09

### Changed

- Integrate website into monorepo ([#365](https://github.com/athena-framework/athena/pull/365)) (George Dietrich)

### Added

- Add helper `Athena::Dotenv.load` method to create and load `.env` files in one call ([#363](https://github.com/athena-framework/athena/pull/363)) (George Dietrich)

### Fixed

- Fixed error parsing ENV vars starting with `_` ([#346](https://github.com/athena-framework/athena/pull/346)) (George Dietrich)

## [0.1.1] - 2023-10-09

_Administrative release, no functional changes_
Expand All @@ -8,5 +22,6 @@ _Administrative release, no functional changes_

_Initial release._

[0.1.2]: https://github.com/athena-framework/dotenv/releases/tag/v0.1.2
[0.1.1]: https://github.com/athena-framework/dotenv/releases/tag/v0.1.1
[0.1.0]: https://github.com/athena-framework/dotenv/releases/tag/v0.1.0
18 changes: 2 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,9 @@

Registers environment variables from a .env file.

## Installation
## Getting Started

1. Add the dependency to your `shard.yml`:

```yaml
dependencies:
athena-dotenv:
github: athena-framework/dotenv
version: ~> 0.1.0
```

2. Run `shards install`

## Documentation

If using the component on its own, checkout the [API documentation](https://athenaframework.org/Dotenv).
If using the component as part of Athena, also checkout the [external documentation](https://athenaframework.org/components/dotenv).
Checkout the [Documentation](https://athenaframework.org/Dotenv).

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: athena-dotenv

version: 0.1.1
version: 0.1.2

crystal: '>= 0.36.0'

Expand Down
2 changes: 1 addition & 1 deletion src/athena-dotenv.cr
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ require "./exceptions/*"
# They can of course continue to be used in production by distributing the base `.env` file along with the binary, then creating a `.env.local` on the production server and including production values within it.
# This can work quite well for simple applications, but ultimately a more robust solution that best leverages the features of the server the application is running on is best.
class Athena::Dotenv
VERSION = "0.1.1"
VERSION = "0.1.2"

private VARNAME_REGEX = /(?i:_?[A-Z][A-Z0-9_]*+)/

Expand Down

0 comments on commit 78b355c

Please sign in to comment.