Skip to content

Commit 4297641

Browse files
authored
Merge pull request #967 from rubensworks/doc/upgrade-notes-5.0.0
Add ResourceMapper changes to 5.0.0 release notes
2 parents 39149b6 + 5dd5e6f commit 4297641

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

CHANGELOG.md

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

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

528
- Add support for Group Access Control Lists.

0 commit comments

Comments
 (0)