-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support 'application/octet-steam' in the list of safe MIME types
PiperOrigin-RevId: 726448701
- Loading branch information
1 parent
e62b327
commit 19cf46a
Showing
5 changed files
with
48 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,35 @@ | ||
# Changelog | ||
|
||
## [1.2.0][1.2.0] - 2025-02-13 | ||
|
||
### Changed | ||
|
||
- Support `application/octet-stream` as a MIME type in objectUrlFromSafeSource | ||
- Support certain font MIME types in objectUrlFromSafeSource | ||
- Support certain font MIME types in objectUrlFromSafeSource | ||
- Support additional image and audio MIME type formats in | ||
objectUrlFromSafeSource | ||
|
||
## [1.1.0][1.1.0] - 2025-02-06 | ||
|
||
### Added | ||
|
||
- Implement `setElementAttribute` and document it | ||
- Add a `.withOpenShadow` `CssSanitizerBuilder` option | ||
- Add "controlslist" to the list of globally permitted attributes | ||
- Add a CHANGELOG.md that follows https://common-changelog.org/ | ||
- Implement `setElementAttribute` and document it | ||
- Add a `.withOpenShadow` `CssSanitizerBuilder` option | ||
- Add "controlslist" to the list of globally permitted attributes | ||
- Add a CHANGELOG.md that follows https://common-changelog.org/ | ||
|
||
### Changed | ||
|
||
- Downgrade the global attribute contracts for "cite" and "poster" attributes in the sanitizer | ||
- Extend `allowDataAttributes` from the `HtmlSanitizerBuilder` to allow any `data-*` attributes | ||
- Downgrade the global attribute contracts for "cite" and "poster" attributes | ||
in the sanitizer | ||
- Extend `allowDataAttributes` from the `HtmlSanitizerBuilder` to allow any | ||
`data-*` attributes | ||
|
||
## [1.0.1][1.0.1] - 2025-01-03 | ||
|
||
_Initial release._ | ||
*Initial release.* | ||
|
||
[1.2.0]: https://github.com/google/safevalues/releases/tag/v1.2.0 | ||
[1.1.0]: https://github.com/google/safevalues/releases/tag/v1.1.0 | ||
[1.0.1]: https://github.com/google/safevalues/releases/tag/v1.0.1 | ||
[1.0.1]: https://github.com/google/safevalues/releases/tag/v1.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.1.0 | ||
1.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters