Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.0.0 #168

Merged
merged 3 commits into from
Aug 29, 2024
Merged

4.0.0 #168

Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 36 additions & 1 deletion CHANGELOG.md
cryptodev-2s marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,45 +1,63 @@
# 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]

### 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))
- remove globalthis polyfill ([#149](https://github.com/MetaMask/phishing-warning/pull/149))
- 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 [email protected]. ([#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
Expand All @@ -48,37 +66,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))
Expand All @@ -91,11 +123,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
Expand Down
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": "3.0.4",
"version": "4.0.0",
"description": "A page to warn users about a suspected phishing site.",
"repository": {
"type": "git",
Expand Down
Loading