Skip to content

Commit b44da68

Browse files
committed
Add ResourceMapper changes to 5.0.0 release notes
1 parent 1aa9860 commit b44da68

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# History
22

3+
#### 5.0.0 Upgrade Notes
4+
5+
- Deprecating support for extensionless files. (**Intervention needed when updating from < 5.0.0!**)
6+
- **How to upgrade?**
7+
1. Update node-solid-server to 5.0.0
8+
2. Make a backup of your `data/` folder
9+
3. Invoke `solid migrate-legacy-resources -v`
10+
This makes the files in your `data/` and `config/` folders
11+
automatically compatible with the new system.
12+
You only need to do this once.
13+
Different data folders can be migrated as well with the `-p` option:
14+
`solid migrate-legacy-resources -p my/custom/data/folder -v`
15+
4. You can now start the server again as usual
16+
- **Why?**
17+
Before version 5.0.0, `https://pod.example/profile/card`
18+
would map to `file:///solid/profile/card`, with the _assumption_
19+
that it uses content-type `text/turtle`.
20+
Now, this URL will map to `file:///solid/profile/card$.ttl` instead,
21+
which makes the content-type automatically detectable.
22+
This fixes many of the old Content-Type-related bugs.
23+
_More information: https://www.w3.org/DesignIssues/HTTPFilenameMapping.html_
24+
325
## 4.1.0
426

527
- Add support for Group Access Control Lists.

0 commit comments

Comments
 (0)