Skip to content

Commit

Permalink
format markdown with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Feb 26, 2023
1 parent d4b833c commit e2fed91
Show file tree
Hide file tree
Showing 30 changed files with 721 additions and 598 deletions.
10 changes: 8 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,40 @@ name: Bug Report
about: Create a bug report.
---

Your issue may already be reported!
Please search on the [Actix Web issue tracker](https://github.com/actix/actix-web/issues) before creating one.
Your issue may already be reported! Please search on the [Actix Web issue tracker](https://github.com/actix/actix-web/issues) before creating one.

## Expected Behavior

<!--- If you're describing a bug, tell us what should happen -->
<!--- If you're suggesting a change/improvement, tell us how it should work -->

## Current Behavior

<!--- If describing a bug, tell us what happens instead of the expected behavior -->
<!--- If suggesting a change/improvement, explain the difference from current behavior -->

## Possible Solution

<!--- Not obligatory, but suggest a fix/reason for the bug, -->
<!--- or ideas how to implement the addition or change -->

## Steps to Reproduce (for bugs)

<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->

1.
2.
3.
4.

## Context

<!--- How has this issue affected you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->

## Your Environment

<!--- Include as many relevant details about the environment you experienced the bug in -->

- Rust Version (I.e, output of `rustc -V`):
Expand Down
7 changes: 4 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
<!-- Please fill out the following to get your PR reviewed quicker. -->

## PR Type

<!-- What kind of change does this PR make? -->
<!-- Bug Fix / Feature / Refactor / Code Style / Other -->
PR_TYPE

PR_TYPE

## PR Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

Expand All @@ -17,11 +19,10 @@ PR_TYPE
- [ ] Format code with the latest stable rustfmt.
- [ ] (Team) Label with affected crates and semver status.


## Overview

<!-- Describe the current and new behavior. -->
<!-- Emphasize any breaking changes. -->


<!-- If this PR fixes or closes an issue, reference it here. -->
<!-- Closes #000 -->
3 changes: 0 additions & 3 deletions .prettierrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
proseWrap: never
87 changes: 44 additions & 43 deletions actix-files/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,23 @@

## Unreleased - 2022-xx-xx


## 0.6.3 - 2023-01-21

- XHTML files now use `Content-Disposition: inline` instead of `attachment`. [#2903]
- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
- Update `tokio-uring` dependency to `0.4`.

[#2903]: https://github.com/actix/actix-web/pull/2903

## 0.6.2 - 2022-07-23

- Allow partial range responses for video content to start streaming sooner. [#2817]
- Minimum supported Rust version (MSRV) is now 1.57 due to transitive `time` dependency.

[#2817]: https://github.com/actix/actix-web/pull/2817


## 0.6.1 - 2022-06-11

- Add `NamedFile::{modified, metadata, content_type, content_disposition, encoding}()` getters. [#2021]
- Update `tokio-uring` dependency to `0.3`.
- Audio files now use `Content-Disposition: inline` instead of `attachment`. [#2645]
Expand All @@ -26,46 +27,46 @@
[#2021]: https://github.com/actix/actix-web/pull/2021
[#2645]: https://github.com/actix/actix-web/pull/2645


## 0.6.0 - 2022-02-25
- No significant changes since `0.6.0-beta.16`.

- No significant changes since `0.6.0-beta.16`.

## 0.6.0-beta.16 - 2022-01-31
- No significant changes since `0.6.0-beta.15`.

- No significant changes since `0.6.0-beta.15`.

## 0.6.0-beta.15 - 2022-01-21
- No significant changes since `0.6.0-beta.14`.

- No significant changes since `0.6.0-beta.14`.

## 0.6.0-beta.14 - 2022-01-14

- The `prefer_utf8` option introduced in `0.4.0` is now true by default. [#2583]

[#2583]: https://github.com/actix/actix-web/pull/2583


## 0.6.0-beta.13 - 2022-01-04

- The `Files` service now rejects requests with URL paths that include `%2F` (decoded: `/`). [#2398]
- The `Files` service now correctly decodes `%25` in the URL path to `%` for the file path. [#2398]
- Minimum supported Rust version (MSRV) is now 1.54.

[#2398]: https://github.com/actix/actix-web/pull/2398


## 0.6.0-beta.12 - 2021-12-29
- No significant changes since `0.6.0-beta.11`.

- No significant changes since `0.6.0-beta.11`.

## 0.6.0-beta.11 - 2021-12-27
- No significant changes since `0.6.0-beta.10`.

- No significant changes since `0.6.0-beta.10`.

## 0.6.0-beta.10 - 2021-12-11
- No significant changes since `0.6.0-beta.9`.

- No significant changes since `0.6.0-beta.9`.

## 0.6.0-beta.9 - 2021-11-22

- Add crate feature `experimental-io-uring`, enabling async file I/O to be utilized. This feature is only available on Linux OSes with recent kernel versions. This feature is semver-exempt. [#2408]
- Add `NamedFile::open_async`. [#2408]
- Fix 304 Not Modified responses to omit the Content-Length header, as per the spec. [#2453]
Expand All @@ -76,24 +77,24 @@
[#2408]: https://github.com/actix/actix-web/pull/2408
[#2453]: https://github.com/actix/actix-web/pull/2453


## 0.6.0-beta.8 - 2021-10-20
- Minimum supported Rust version (MSRV) is now 1.52.

- Minimum supported Rust version (MSRV) is now 1.52.

## 0.6.0-beta.7 - 2021-09-09
- Minimum supported Rust version (MSRV) is now 1.51.

- Minimum supported Rust version (MSRV) is now 1.51.

## 0.6.0-beta.6 - 2021-06-26

- Added `Files::path_filter()`. [#2274]
- `Files::show_files_listing()` can now be used with `Files::index_file()` to show files listing as a fallback when the index file is not found. [#2228]

[#2274]: https://github.com/actix/actix-web/pull/2274
[#2228]: https://github.com/actix/actix-web/pull/2228


## 0.6.0-beta.5 - 2021-06-17

- `NamedFile` now implements `ServiceFactory` and `HttpServiceFactory` making it much more useful in routing. For example, it can be used directly as a default service. [#2135]
- For symbolic links, `Content-Disposition` header no longer shows the filename of the original file. [#2156]
- `Files::redirect_to_slash_directory()` now works as expected when used with `Files::show_files_listing()`. [#2225]
Expand All @@ -104,132 +105,132 @@
[#2225]: https://github.com/actix/actix-web/pull/2225
[#2257]: https://github.com/actix/actix-web/pull/2257


## 0.6.0-beta.4 - 2021-04-02

- Add support for `.guard` in `Files` to selectively filter `Files` services. [#2046]

[#2046]: https://github.com/actix/actix-web/pull/2046


## 0.6.0-beta.3 - 2021-03-09
- No notable changes.

- No notable changes.

## 0.6.0-beta.2 - 2021-02-10

- Fix If-Modified-Since and If-Unmodified-Since to not compare using sub-second timestamps. [#1887]
- Replace `v_htmlescape` with `askama_escape`. [#1953]

[#1887]: https://github.com/actix/actix-web/pull/1887
[#1953]: https://github.com/actix/actix-web/pull/1953


## 0.6.0-beta.1 - 2021-01-07

- `HttpRange::parse` now has its own error type.
- Update `bytes` to `1.0`. [#1813]

[#1813]: https://github.com/actix/actix-web/pull/1813


## 0.5.0 - 2020-12-26

- Optionally support hidden files/directories. [#1811]

[#1811]: https://github.com/actix/actix-web/pull/1811


## 0.4.1 - 2020-11-24
- Clarify order of parameters in `Files::new` and improve docs.

- Clarify order of parameters in `Files::new` and improve docs.

## 0.4.0 - 2020-10-06

- Add `Files::prefer_utf8` option that adds UTF-8 charset on certain response types. [#1714]

[#1714]: https://github.com/actix/actix-web/pull/1714


## 0.3.0 - 2020-09-11
- No significant changes from 0.3.0-beta.1.

- No significant changes from 0.3.0-beta.1.

## 0.3.0-beta.1 - 2020-07-15

- Update `v_htmlescape` to 0.10
- Update `actix-web` and `actix-http` dependencies to beta.1


## 0.3.0-alpha.1 - 2020-05-23

- Update `actix-web` and `actix-http` dependencies to alpha
- Fix some typos in the docs
- Bump minimum supported Rust version to 1.40
- Support sending Content-Length when Content-Range is specified [#1384]

[#1384]: https://github.com/actix/actix-web/pull/1384


## 0.2.1 - 2019-12-22
- Use the same format for file URLs regardless of platforms

- Use the same format for file URLs regardless of platforms

## 0.2.0 - 2019-12-20
- Fix BodyEncoding trait import #1220

- Fix BodyEncoding trait import #1220

## 0.2.0-alpha.1 - 2019-12-07
- Migrate to `std::future`

- Migrate to `std::future`

## 0.1.7 - 2019-11-06
- Add an additional `filename*` param in the `Content-Disposition` header of
`actix_files::NamedFile` to be more compatible. (#1151)

- Add an additional `filename*` param in the `Content-Disposition` header of `actix_files::NamedFile` to be more compatible. (#1151)

## 0.1.6 - 2019-10-14
- Add option to redirect to a slash-ended path `Files` #1132

- Add option to redirect to a slash-ended path `Files` #1132

## 0.1.5 - 2019-10-08

- Bump up `mime_guess` crate version to 2.0.1
- Bump up `percent-encoding` crate version to 2.1
- Allow user defined request guards for `Files` #1113


## 0.1.4 - 2019-07-20
- Allow to disable `Content-Disposition` header #686

- Allow to disable `Content-Disposition` header #686

## 0.1.3 - 2019-06-28
- Do not set `Content-Length` header, let actix-http set it #930

- Do not set `Content-Length` header, let actix-http set it #930

## 0.1.2 - 2019-06-13

- Content-Length is 0 for NamedFile HEAD request #914
- Fix ring dependency from actix-web default features for #741


## 0.1.1 - 2019-06-01
- Static files are incorrectly served as both chunked and with length #812

- Static files are incorrectly served as both chunked and with length #812

## 0.1.0 - 2019-05-25
- NamedFile last-modified check always fails due to nano-seconds in file modified date #820

- NamedFile last-modified check always fails due to nano-seconds in file modified date #820

## 0.1.0-beta.4 - 2019-05-12
- Update actix-web to beta.4

- Update actix-web to beta.4

## 0.1.0-beta.1 - 2019-04-20
- Update actix-web to beta.1

- Update actix-web to beta.1

## 0.1.0-alpha.6 - 2019-04-14
- Update actix-web to alpha6

- Update actix-web to alpha6

## 0.1.0-alpha.4 - 2019-04-08
- Update actix-web to alpha4

- Update actix-web to alpha4

## 0.1.0-alpha.2 - 2019-04-02
- Add default handler support

- Add default handler support

## 0.1.0-alpha.1 - 2019-03-28

- Initial impl
2 changes: 1 addition & 1 deletion actix-files/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@

- [API Documentation](https://docs.rs/actix-files)
- [Example Project](https://github.com/actix/examples/tree/master/basics/static-files)
- Minimum Supported Rust Version (MSRV): 1.54
- Minimum Supported Rust Version (MSRV): 1.59
Loading

0 comments on commit e2fed91

Please sign in to comment.