From 1b823067dd11190fee038cf364b104187ad84ae1 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 29 Aug 2024 13:30:56 +0000 Subject: [PATCH 1/3] 4.0.0 --- CHANGELOG.md | 41 ++++++++++++++++++++++++++++++++++++++++- package.json | 2 +- 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2ab5c3..5ef31b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,26 @@ # Changelog + All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [4.0.0] + +### Uncategorized + +- ci: bump action-release-pr actions ([#167](https://github.com/MetaMask/phishing-warning/pull/167)) + ### Changed + - **BREAKING**: Update `phishingSafelistStream` to send `origin` instead of `hostname` as a parameter for `safelistPhishingDomain` method ([#165](https://github.com/MetaMask/phishing-warning/pull/165)) ## [3.0.4] + ### Changed + - Update index.html - update attribution copy ([#161](https://github.com/MetaMask/phishing-warning/pull/161)) - chore(devdeps): @lavamoat/allow-scripts@^2.3.1->^3.0.4 ([#157](https://github.com/MetaMask/phishing-warning/pull/157)) - Enabling MetaMask security code scanner ([#151](https://github.com/MetaMask/phishing-warning/pull/151)) @@ -17,29 +28,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump @metamask/post-message-stream from 7.0.0 to 8.0.0 ([#146](https://github.com/MetaMask/phishing-warning/pull/146)) ## [3.0.3] + ### Changed + - Update `ses` to `v1.1.0` ([#143](https://github.com/MetaMask/phishing-warning/pull/143)) ## [3.0.2] + ### Fixed + - change to hostname for Github issues ([#127](https://github.com/MetaMask/phishing-warning/pull/127)) ## [3.0.1] + ### Changed + - Using href url param only for suspect site ([#124](https://github.com/MetaMask/phishing-warning/pull/124)) ## [3.0.0] + ### Changed + - **BREAKING**: Increase minimum Node.js version to 16 ([#107](https://github.com/MetaMask/phishing-warning/pull/107)) - **BREAKING**: This package now returns streams conforming to the API of readable-stream@3.x. ([#122](https://github.com/MetaMask/phishing-warning/pull/122)) ([#104](https://github.com/MetaMask/phishing-warning/pull/104)) - Bump @metamask/post-message-stream from ^6.2.0 to ^7.0.0 ([#104](https://github.com/MetaMask/phishing-warning/pull/104)) - Upgrade obj-multiplex to @metamask/object-multiplex@^2.0.0 ([#122](https://github.com/MetaMask/phishing-warning/pull/122)) ### Fixed + - Bump ses from ^0.18.7 to ^0.18.8 ([#120](https://github.com/MetaMask/phishing-warning/pull/120)) ## [2.1.1] + ### Fixed + - Dependency updates ([#105](https://github.com/MetaMask/phishing-warning/pull/105)) - Move @types/punycode from dependencies to devDependencies - Update @metamask/design-tokens from ^1.6.0 to ^1.12.0 @@ -48,37 +70,51 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Update ses from ^0.18.1 to ^0.18.7 ## [2.1.0] + ### Changed + - "Back to safety" button now triggers a `backToSafetyPhishingWarning` message to be sent on the `phishingSafelistStream` ([#84](https://github.com/MetaMask/phishing-warning/pull/84)) ## [2.0.1] + ### Fixed + - Restore iframe warning and "open in new tab" link ([#73](https://github.com/MetaMask/phishing-warning/pull/73)) ## [2.0.0] + ### Changed + - **BREAKING:** Dynamically lookup the source of a block ([#57](https://github.com/MetaMask/phishing-warning/pull/57)) - The query parameter `newIssueUrl` is no longer accepted. Instead this page will look up the source of a block dynamically. - We no longer show on the page which project is responsible for the block. This will be restored in a future version. - Redesign the phishing warning page ([#52](https://github.com/MetaMask/phishing-warning/pull/52)) ## [1.2.2] + ### Changed + - Update `ses` version from v0.12.4 to v10.18.1 ([#53](https://github.com/MetaMask/phishing-warning/pull/53)) - Update @metamask/design-tokens from 1.9.0 to 1.11.1 ([#46](https://github.com/MetaMask/phishing-warning/pull/46)) - This includes minor color updates. ## [1.2.1] + ### Fixed + - Fix build script to exclude file imports from `@metamask/post-message-stream` which expect to only run in the context of a Web worker ([#27](https://github.com/MetaMask/phishing-warning/pull/27)) ## [1.2.0] [DEPRECATED] + ### Added + - Add a check for the protocol of the url being blocked. Remove `continue at your own risk` option if protocol is disallowed ([#16](https://github.com/MetaMask/phishing-warning/pull/16)) - Add optional arg `newIssueUrl` to `getUrl` function so that the correct link to direct disputes can be specified by a hash query param. ([#23](https://github.com/MetaMask/phishing-warning/pull/23)) ## [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)) @@ -91,11 +127,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - 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/v3.0.4...HEAD +[Unreleased]: https://github.com/MetaMask/phishing-warning/compare/v4.0.0...HEAD +[4.0.0]: https://github.com/MetaMask/phishing-warning/compare/v3.0.4...v4.0.0 [3.0.4]: https://github.com/MetaMask/phishing-warning/compare/v3.0.3...v3.0.4 [3.0.3]: https://github.com/MetaMask/phishing-warning/compare/v3.0.2...v3.0.3 [3.0.2]: https://github.com/MetaMask/phishing-warning/compare/v3.0.1...v3.0.2 diff --git a/package.json b/package.json index c05fa94..14403b1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/phishing-warning", - "version": "3.0.4", + "version": "4.0.0", "description": "A page to warn users about a suspected phishing site.", "repository": { "type": "git", From 09eef53bd0c0fe386540cb553cc113ee655935eb Mon Sep 17 00:00:00 2001 From: Salah-Eddine Saakoun Date: Thu, 29 Aug 2024 15:34:43 +0200 Subject: [PATCH 2/3] fix: remove useless entries from CHANGELOG --- CHANGELOG.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ef31b7..5892f01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,10 +9,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [4.0.0] -### Uncategorized - -- ci: bump action-release-pr actions ([#167](https://github.com/MetaMask/phishing-warning/pull/167)) - ### Changed - **BREAKING**: Update `phishingSafelistStream` to send `origin` instead of `hostname` as a parameter for `safelistPhishingDomain` method ([#165](https://github.com/MetaMask/phishing-warning/pull/165)) From fd335555de4153ea03221b524127df1e57350fb6 Mon Sep 17 00:00:00 2001 From: Salah-Eddine Saakoun Date: Thu, 29 Aug 2024 15:40:15 +0200 Subject: [PATCH 3/3] fix: format CHANGELOG --- CHANGELOG.md | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5892f01..d68d4cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,4 @@ # Changelog - All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), @@ -8,15 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ## [4.0.0] - ### Changed - - **BREAKING**: Update `phishingSafelistStream` to send `origin` instead of `hostname` as a parameter for `safelistPhishingDomain` method ([#165](https://github.com/MetaMask/phishing-warning/pull/165)) ## [3.0.4] - ### Changed - - Update index.html - update attribution copy ([#161](https://github.com/MetaMask/phishing-warning/pull/161)) - chore(devdeps): @lavamoat/allow-scripts@^2.3.1->^3.0.4 ([#157](https://github.com/MetaMask/phishing-warning/pull/157)) - Enabling MetaMask security code scanner ([#151](https://github.com/MetaMask/phishing-warning/pull/151)) @@ -24,40 +19,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump @metamask/post-message-stream from 7.0.0 to 8.0.0 ([#146](https://github.com/MetaMask/phishing-warning/pull/146)) ## [3.0.3] - ### Changed - - Update `ses` to `v1.1.0` ([#143](https://github.com/MetaMask/phishing-warning/pull/143)) ## [3.0.2] - ### Fixed - - change to hostname for Github issues ([#127](https://github.com/MetaMask/phishing-warning/pull/127)) ## [3.0.1] - ### Changed - - Using href url param only for suspect site ([#124](https://github.com/MetaMask/phishing-warning/pull/124)) ## [3.0.0] - ### Changed - - **BREAKING**: Increase minimum Node.js version to 16 ([#107](https://github.com/MetaMask/phishing-warning/pull/107)) - **BREAKING**: This package now returns streams conforming to the API of readable-stream@3.x. ([#122](https://github.com/MetaMask/phishing-warning/pull/122)) ([#104](https://github.com/MetaMask/phishing-warning/pull/104)) - Bump @metamask/post-message-stream from ^6.2.0 to ^7.0.0 ([#104](https://github.com/MetaMask/phishing-warning/pull/104)) - Upgrade obj-multiplex to @metamask/object-multiplex@^2.0.0 ([#122](https://github.com/MetaMask/phishing-warning/pull/122)) ### Fixed - - Bump ses from ^0.18.7 to ^0.18.8 ([#120](https://github.com/MetaMask/phishing-warning/pull/120)) ## [2.1.1] - ### Fixed - - Dependency updates ([#105](https://github.com/MetaMask/phishing-warning/pull/105)) - Move @types/punycode from dependencies to devDependencies - Update @metamask/design-tokens from ^1.6.0 to ^1.12.0 @@ -66,51 +50,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Update ses from ^0.18.1 to ^0.18.7 ## [2.1.0] - ### Changed - - "Back to safety" button now triggers a `backToSafetyPhishingWarning` message to be sent on the `phishingSafelistStream` ([#84](https://github.com/MetaMask/phishing-warning/pull/84)) ## [2.0.1] - ### Fixed - - Restore iframe warning and "open in new tab" link ([#73](https://github.com/MetaMask/phishing-warning/pull/73)) ## [2.0.0] - ### Changed - - **BREAKING:** Dynamically lookup the source of a block ([#57](https://github.com/MetaMask/phishing-warning/pull/57)) - The query parameter `newIssueUrl` is no longer accepted. Instead this page will look up the source of a block dynamically. - We no longer show on the page which project is responsible for the block. This will be restored in a future version. - Redesign the phishing warning page ([#52](https://github.com/MetaMask/phishing-warning/pull/52)) ## [1.2.2] - ### Changed - - Update `ses` version from v0.12.4 to v10.18.1 ([#53](https://github.com/MetaMask/phishing-warning/pull/53)) - Update @metamask/design-tokens from 1.9.0 to 1.11.1 ([#46](https://github.com/MetaMask/phishing-warning/pull/46)) - This includes minor color updates. ## [1.2.1] - ### Fixed - - Fix build script to exclude file imports from `@metamask/post-message-stream` which expect to only run in the context of a Web worker ([#27](https://github.com/MetaMask/phishing-warning/pull/27)) ## [1.2.0] [DEPRECATED] - ### Added - - Add a check for the protocol of the url being blocked. Remove `continue at your own risk` option if protocol is disallowed ([#16](https://github.com/MetaMask/phishing-warning/pull/16)) - Add optional arg `newIssueUrl` to `getUrl` function so that the correct link to direct disputes can be specified by a hash query param. ([#23](https://github.com/MetaMask/phishing-warning/pull/23)) ## [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)) @@ -123,9 +93,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - 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.