1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Merge pull request #14349 from MetaMask/Version-v10.12.4

Version v10.12.4 RC
This commit is contained in:
Mark Stacey 2022-04-06 10:31:49 -02:30 committed by GitHub
commit ed68c1846c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 6 deletions

View File

@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
## [10.12.4]
### Fixed
- Fix MetaMask internal error reporting (#14344)
## [10.12.3]
### Changed
- This version was used to rollback from v10.12.0 to v10.11.3.
## [10.12.2] ## [10.12.2]
### Fixed ### Fixed
- Fix error where unlock failed after update to v10.12.0 - Fix error where unlock failed after update to v10.12.0
@ -2849,7 +2857,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Uncategorized ### Uncategorized
- Added the ability to restore accounts from seed words. - Added the ability to restore accounts from seed words.
[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v10.12.2...HEAD [Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v10.12.4...HEAD
[10.12.4]: https://github.com/MetaMask/metamask-extension/compare/v10.12.3...v10.12.4
[10.12.3]: https://github.com/MetaMask/metamask-extension/compare/v10.12.2...v10.12.3
[10.12.2]: https://github.com/MetaMask/metamask-extension/compare/v10.12.1...v10.12.2 [10.12.2]: https://github.com/MetaMask/metamask-extension/compare/v10.12.1...v10.12.2
[10.12.1]: https://github.com/MetaMask/metamask-extension/compare/v10.12.0...v10.12.1 [10.12.1]: https://github.com/MetaMask/metamask-extension/compare/v10.12.0...v10.12.1
[10.12.0]: https://github.com/MetaMask/metamask-extension/compare/v10.11.4...v10.12.0 [10.12.0]: https://github.com/MetaMask/metamask-extension/compare/v10.11.4...v10.12.0

View File

@ -68,9 +68,9 @@ export const SENTRY_STATE = {
}; };
export default function setupSentry({ release, getState }) { export default function setupSentry({ release, getState }) {
let sentryTarget; if (!release) {
throw new Error('Missing release');
if (METAMASK_DEBUG) { } else if (METAMASK_DEBUG) {
return undefined; return undefined;
} }
@ -79,6 +79,7 @@ export default function setupSentry({ release, getState }) {
? METAMASK_ENVIRONMENT ? METAMASK_ENVIRONMENT
: `${METAMASK_ENVIRONMENT}-${METAMASK_BUILD_TYPE}`; : `${METAMASK_ENVIRONMENT}-${METAMASK_BUILD_TYPE}`;
let sentryTarget;
if (METAMASK_ENVIRONMENT === 'production') { if (METAMASK_ENVIRONMENT === 'production') {
if (!process.env.SENTRY_DSN) { if (!process.env.SENTRY_DSN) {
throw new Error( throw new Error(

View File

@ -269,6 +269,7 @@ function createScriptTasks({
testing, testing,
policyOnly, policyOnly,
shouldLintFenceFiles, shouldLintFenceFiles,
version,
}); });
} }
@ -285,6 +286,7 @@ function createScriptTasks({
testing, testing,
policyOnly, policyOnly,
shouldLintFenceFiles, shouldLintFenceFiles,
version,
}); });
} }
@ -301,6 +303,7 @@ function createScriptTasks({
testing, testing,
policyOnly, policyOnly,
shouldLintFenceFiles, shouldLintFenceFiles,
version,
}); });
} }
@ -320,6 +323,7 @@ function createScriptTasks({
policyOnly, policyOnly,
shouldLintFenceFiles, shouldLintFenceFiles,
testing, testing,
version,
}), }),
createNormalBundle({ createNormalBundle({
buildType, buildType,
@ -332,6 +336,7 @@ function createScriptTasks({
policyOnly, policyOnly,
shouldLintFenceFiles, shouldLintFenceFiles,
testing, testing,
version,
}), }),
); );
} }
@ -532,6 +537,7 @@ function createNormalBundle({
modulesToExpose, modulesToExpose,
shouldLintFenceFiles, shouldLintFenceFiles,
testing, testing,
version,
}) { }) {
return async function () { return async function () {
// create bundler setup and apply defaults // create bundler setup and apply defaults
@ -543,7 +549,12 @@ function createNormalBundle({
const reloadOnChange = Boolean(devMode); const reloadOnChange = Boolean(devMode);
const minify = Boolean(devMode) === false; const minify = Boolean(devMode) === false;
const envVars = getEnvironmentVariables({ buildType, devMode, testing }); const envVars = getEnvironmentVariables({
buildType,
devMode,
testing,
version,
});
setupBundlerDefaults(buildConfiguration, { setupBundlerDefaults(buildConfiguration, {
buildType, buildType,
devMode, devMode,

View File

@ -1,6 +1,6 @@
{ {
"name": "metamask-crx", "name": "metamask-crx",
"version": "10.12.2", "version": "10.12.4",
"private": true, "private": true,
"repository": { "repository": {
"type": "git", "type": "git",