Skip to content

Commit 810b50e

Browse files
committed
[version] Bump version to 3.1.0
1 parent 1cfcc40 commit 810b50e

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,34 @@
11

2+
# Version 3.1.0 built on 2025-12-23
3+
4+
Most of the fixes and test/CI improvements were contributed by Thomas Waldmann. Many thanks!
5+
NetBSD is still work-in-progress.
6+
7+
## API
8+
9+
- Add many more missing type hints.
10+
11+
## Features
12+
13+
- Add `mfusepy.ENOATTR` to be used as the correct value for `getxattr` and `removexattr`.
14+
- Make path decode/encode error policy configurable and switch from `strict` to `surrogateescape`.
15+
- Add `readdir_with_offset` implementable interface method, which takes an additional `offset` argument.
16+
Does not work correctly on OpenBSD. Help would be welcome.
17+
- Translate some of the libfuse2-only options (`use_ino`, `direct_io`, `nopath`, ...) to the libfuse3 config struct.
18+
- Allow to set fuse library name via `FUSE_LIBRARY_NAME` environment variable.
19+
- Automatically test and therefore support Ubuntu 22.04/24.04 aarch64/x86_64, macOS 14/15 Intel/ARM,
20+
FreeBSD 14.3, OpenBSD 7.7, NetBSD 10.1.
21+
22+
## Fixes
23+
24+
- Fix type definitions and examples on OpenBSD, FreeBSD, NetBSD, macOS, and others.
25+
- `readdir`: Also forward `st_ino` in case `use_ino` is set to True.
26+
- Avoid `readdir` infinite loop by ignoring the offset and returning offset 0, to trigger non-offset mode.
27+
Overwrite `readdir_with_offset` to actually make use of offsets.
28+
- `getattr_fuse_3`: pass argument `fip` to `fgetattr`.
29+
- Avoid null pointer dereferences for `fip` in `ftruncate`, `fgetattr`, and `lock`.
30+
31+
232
# Version 3.0.0 built on 2025-08-01
333

434
Version 2 was skipped because the git tags would have clashed with the original fusepy tags.

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ build-backend = "setuptools.build_meta"
1414

1515
[project]
1616
name = "mfusepy"
17-
version = "3.0.0"
17+
version = "3.1.0"
1818
description = "Ctypes bindings for the high-level API in libfuse 2 and 3"
1919
authors = [{name = "Maximilian Knespel", email = "[email protected]"}]
2020
license = {text = "ISC"}
@@ -24,6 +24,8 @@ classifiers = [
2424
"Operating System :: MacOS",
2525
"Operating System :: POSIX",
2626
"Operating System :: Unix",
27+
"Operating System :: POSIX :: BSD :: FreeBSD",
28+
"Operating System :: POSIX :: BSD :: OpenBSD",
2729
"Programming Language :: Python :: 3",
2830
"Programming Language :: Python :: 3.7",
2931
"Programming Language :: Python :: 3.8",

0 commit comments

Comments
 (0)