Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
sirtoobii committed Oct 13, 2021
2 parents ed69ccf + d263eff commit 4d47e94
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,17 @@ PersistentKeepalive = 25

```


## Migrating from `0.2.x`

With the introduction of version `0.3.x`, the way custom attributes work has slightly changed:

- There is no "in-config" name for custom attributes anymore, they are written down as initially defined.
- All predefined custom attributes like `name` and `description` have been removed (an exception is the `alias` attribute). To use
your own custom attributes, register them using `WGmeta::Wrapper::Config->new([..], $custom_attributes)` or when using the CLI interface, by prefixing them with `+`.
As a consequence `WGmeta::Wrapper::Config->add_peer()` has no `name` parameter anymore, set additional attributes by calling `WGmeta::Wrapper::Config->set()`


## Under the hood

The main advantage is that this tool is not dependent on any other storage, metadata is stored inside the corresponding
Expand Down

0 comments on commit 4d47e94

Please sign in to comment.