Skip to content

feat(file): add support for extracting multi-component path params#4039

Open
JohnTitor wants to merge 1 commit intoactix:mainfrom
JohnTitor:multi-files
Open

feat(file): add support for extracting multi-component path params#4039
JohnTitor wants to merge 1 commit intoactix:mainfrom
JohnTitor:multi-files

Conversation

@JohnTitor
Copy link
Copy Markdown
Member

@JohnTitor JohnTitor commented Apr 22, 2026

PR Type

PR_TYPE

PR Checklist

  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • A changelog entry has been made for the appropriate packages.
  • Format code with the latest stable rustfmt.
  • (Team) Label with affected crates and semver status.

Overview

Close #3920, another version of it for better error handling and FIle management
Fix #3402

@github-actions github-actions Bot added the A-files project: actix-files label Apr 22, 2026
@JohnTitor JohnTitor added the B-semver-major breaking change requiring a major version bump label Apr 22, 2026
Comment thread actix-files/src/files.rs
}
};

pub fn new<T: Into<FilesDirs>>(mount_path: &str, serve_from: T) -> Files {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

breaking change: signature

@JohnTitor JohnTitor marked this pull request as ready for review April 23, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-files project: actix-files B-semver-major breaking change requiring a major version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

multiple folders as static directories

1 participant