Skip to content

Commit af0aaef

Browse files
authored
Merge pull request #408 from ethereum/drop-standard-backwards
Drop backwards compatibility aliases compileStandard/compilerStandardWrapper
2 parents 121e438 + 959b5c0 commit af0aaef

File tree

3 files changed

+0
-14
lines changed

3 files changed

+0
-14
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ of them are resolved.
5050

5151
Starting 0.5.12 it also accepts an object in place of the callback to supply different kind of callbacks, however only file imports are supported.
5252

53-
_Note_: as an intermittent backwards compatibility feature, between versions 0.5.0 and 0.5.2, `compileStandard` and `compileStandardWrapper` also exists and behave like `compile` does.
54-
5553
#### Example usage without the import callback
5654

5755
Example:

test/compiler.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -626,14 +626,6 @@ function runTests (solc, versionText) {
626626
});
627627
});
628628
});
629-
630-
tape('API backwards compatibility', function (t) {
631-
t.test('compileStandard and compileStandardWrapper exists', function (st) {
632-
st.equal(solc.compile, solc.compileStandard);
633-
st.equal(solc.compile, solc.compileStandardWrapper);
634-
st.end();
635-
});
636-
});
637629
}
638630
}
639631

wrapper.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,6 @@ function setupMethods (soljson) {
239239
nativeStandardJSON: compileStandard !== null
240240
},
241241
compile: compileStandardWrapper,
242-
// Temporary wrappers to minimise breaking with other projects.
243-
// NOTE: to be removed in 0.5.2
244-
compileStandard: compileStandardWrapper,
245-
compileStandardWrapper: compileStandardWrapper,
246242
// Loads the compiler of the given version from the github repository
247243
// instead of from the local filesystem.
248244
loadRemoteVersion: function (versionString, cb) {

0 commit comments

Comments
 (0)