Skip to content

Commit

Permalink
1.1.0 (#10)
Browse files Browse the repository at this point in the history
* v1.1.0

* Update v1.1.0 changelog

Co-authored-by: github-actions <[email protected]>
Co-authored-by: Mark Stacey <[email protected]>
  • Loading branch information
3 people authored May 16, 2022
1 parent b33da36 commit d463627
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.1.0]
### Added
- Add service worker for offline caching ([#9](https://github.com/MetaMask/phishing-warning/pull/9))
- Add favicons ([#8](https://github.com/MetaMask/phishing-warning/pull/8))
- Add actions to publish to gh-pages ([#3](https://github.com/MetaMask/phishing-warning/pull/3))
- Add dummy "main" script ([#6](https://github.com/MetaMask/phishing-warning/pull/6))
- This allows locating the package install directory using `require.resolve`, which is better for compatibility between package managers.
- The main script throws an error, helping to prevent accidental misuse.
- Skip initialization if the page is being loaded solely to install the service worker ([#11](https://github.com/MetaMask/phishing-warning/pull/11))
- If the hash `#extensionStartup` is set, skip setup and assume the page is being loaded just for service worker installation. We use this technique to ensure the service worker is installed during the MetaMask extension startup process.
- Add anti-clickjacking measures ([#12](https://github.com/MetaMask/phishing-warning/pull/12))
- A script was added to the HTML file to detect when the frame is being embedded. If it detects that it is embedded, a separate design is used that prompts the user to open the warning page in a new tab to proceed. This ensures the blocked page cannot be added to the safelist via a clickjacking attack.

## [1.0.0]
### Changed
- Initial implementation of the phishing warning page
- This should behave identically to the phishing warning page built into the MetaMask extension.

[Unreleased]: https://github.com/MetaMask/phishing-warning/compare/v1.0.0...HEAD
[Unreleased]: https://github.com/MetaMask/phishing-warning/compare/v1.1.0...HEAD
[1.1.0]: https://github.com/MetaMask/phishing-warning/compare/v1.0.0...v1.1.0
[1.0.0]: https://github.com/MetaMask/phishing-warning/releases/tag/v1.0.0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/phishing-warning",
"version": "1.0.0",
"version": "1.1.0",
"description": "A page to warn users about a suspected phishing site.",
"repository": {
"type": "git",
Expand Down

0 comments on commit d463627

Please sign in to comment.