Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
mikker committed Jun 16, 2023
1 parent b90e42b commit 720fec1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,25 @@

### Breaking changes

#### 1. Encrypted tokens

Tokens are now encrypted in the database. If you are upgrading from a previous version, you'll need to add a field to your passwordless table:

```sh
$ bin/rails g migration AddTokenDigestToPasswordlessSessions token_digest:string:index
```

#### 2. Un-isolated namespace

Passwordless no longer [_isolates namespace_](https://guides.rubyonrails.org/engines.html#routes).

1. Update all your links with eg. `users.sign_in_path` to `users_sign_in_path`
1. Remove all links with `main_app.whatever_path` to just `whatever_path`

### Changed

- Tokens are now encrypted in the database ([#145](https://github.com/mikker/passwordless/pull/145))
- Un-isolate namespace ([#146](https://github.com/mikker/passwordless/pull/146))

## 0.12.0 (2023-06-16)

Expand Down

0 comments on commit 720fec1

Please sign in to comment.