Skip to content

Commit e38ce09

Browse files
committed
Clarify changes to developers
1 parent 62ef770 commit e38ce09

1 file changed

Lines changed: 23 additions & 3 deletions

File tree

NEWS.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,30 @@
11
# frictionless (development version)
22

3+
## For users
4+
5+
* `read_resource()` now supports reading from remote zip files, thanks to support in {vroom} (1.3.0) (#291).
36
* `resources()` is soft-deprecated, please use `resource_names()` instead (#282).
47
* `get_schema()` is soft-deprecated, please use `schema()` instead (#282).
5-
* Internal properties (`package$directory` and `resource$read_from`) are now attributes rather than properties. This keeps them clearly separated from public Data Package properties. `read_from` is also renamed to `data_location` (#289).
6-
* `read_resource()` now supports reading from remote zip files, thanks to support in {vroom} (1.3.0) (#291).
7-
* frictionless now relies on R >= 4.1.0 (because of an indirect {vroom} dependency) (#291).
8+
9+
## Changes for developers
10+
11+
* Internal frictionless properties are now _attributes_, to better separate them from public Data Package properties (#289). If you use these internal properties, then update:
12+
13+
```R
14+
package$directory
15+
r <- frictionless:::get_resource(package, "resource_name") # Internal function
16+
r$read_from
17+
```
18+
19+
to
20+
21+
```R
22+
attr(package, "directory")
23+
r <- frictionless:::resource(package, "resource_name") # Renamed!
24+
attr(r, "data_location") # Renamed!
25+
```
26+
27+
* frictionless now relies on R >= 4.1.0 (because of an indirect {vroom} dependency) (#291) and uses base pipes (`|>` rather than `%>%`) (#292).
828

929
# frictionless 1.2.1
1030

0 commit comments

Comments
 (0)