API-CHANGES.txt 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532
  1. 0.15.0:
  2. * Thenable class added
  3. * Promise class added, wraps JS Promise, subclass of Thenable
  4. + Thenable >>
  5. + catch:
  6. + on:do:
  7. + on:do:catch:
  8. + then:
  9. + then:catch:
  10. + then:on:do:
  11. + then:on:do:catch:
  12. + JSObjectProxy >>
  13. + catch:
  14. + on:do:
  15. + on:do:catch:
  16. + then:
  17. + then:catch:
  18. + then:on:do:
  19. + then:on:do:catch:
  20. + amber/boot api
  21. + seamless
  22. + Promise class >>
  23. + new:
  24. + forBlock:
  25. + value:
  26. + signal:
  27. 0.14.18:
  28. * Some internal API changes in Compiler-*.
  29. 0.14.14:
  30. * InterfacingObject >> ajax: deprecated
  31. * PlatformInterface class deprecated
  32. * Class BrowserInterface removed
  33. * Class Terminal, BrowserTerminal added
  34. * Class Platform, BrowserPlatform added
  35. + Environment >>
  36. + renamePackage:to:
  37. + Platform class >>
  38. + globals
  39. + newXhr
  40. + Terminal class >>
  41. + alert:
  42. + confirm:
  43. + prompt:
  44. + prompt:default:
  45. SmalltalkImage >>
  46. + existsJsGlobal:
  47. - PlatformInterface class >>
  48. - initialize
  49. - setWorker:
  50. 0.14.12:
  51. + JSObjectProxy >>
  52. + putOn:
  53. + ProtoStream >>
  54. + nextPutJSObject:
  55. 0.14.11:
  56. * Basic streaming protocol extracted from Stream to ProtoStream
  57. + Object >>
  58. + in:
  59. + JSObjectProxy >>
  60. + in:
  61. 0.14.10:
  62. + JSObjectProxy class >>
  63. + addObjectVariablesTo:ofProxy:
  64. + compareJSObjectOfProxy:withProxy:
  65. + forwardMessage:withArguments:ofProxy:
  66. + jsObject:ofProxy:
  67. + lookupProperty:ofProxy:
  68. - JSObjectProxy >>
  69. - jsObject:
  70. - lookupProperty:
  71. - compareJSObjectWith:
  72. - addObjectVariablesTo:
  73. - forwardMessage:withArguments:
  74. 0.14.4:
  75. + AmdExporter >>
  76. + importsForOutput:
  77. + AbstractCodeGenerator >>
  78. + currentPackage
  79. + currentPackage:
  80. + Compiler >>
  81. + currentPackage
  82. + currentPackage:
  83. + compile:forClass:protocol:
  84. + compileNode:forClass:package:
  85. + SemanticAnalyzer >>
  86. + thePackage
  87. + thePackage:
  88. + isVariableUndefined:inPackage:
  89. - Compiler >>
  90. - compile:
  91. - compile:forClass:
  92. - compileExpression:
  93. - SemanticAnalyzer >>
  94. - isVariableGloabllyUndefined:
  95. - Behavior >>
  96. - compile:
  97. 0.14.3:
  98. * #heliosClass is now #classTag
  99. + Compiler >>
  100. + eval:forPackage:
  101. + Behavior >>
  102. + packageOfProtocol:
  103. + Exporter >>
  104. + exportPackageContextOf:on:
  105. + exportPackageImportsOf:on:
  106. + Package >>
  107. + basicImports
  108. + imports
  109. + imports:
  110. + importsDefinition
  111. + importsFromJson:
  112. + importsAsJson
  113. + sortedImportsAsArray
  114. + validateImports:
  115. + Package class >>
  116. + named:imports:transport:
  117. + Association >>
  118. + importsString
  119. + String >>
  120. + importsString
  121. + ProtoObject >>
  122. + ifNil:
  123. + ifNil:ifNotNil:
  124. + ifNotNil:
  125. + ifNotNil:ifNil:
  126. + isNil
  127. + notNil
  128. - Object >>
  129. - ifNil:
  130. - ifNil:ifNotNil:
  131. - ifNotNil:
  132. - ifNotNil:ifNil:
  133. - isNil
  134. - notNil
  135. 0.14.1:
  136. * NativeFunction class >> constructor:[value:...] deprecated
  137. + NativeFunction class >>
  138. + constructorNamed:
  139. + constructorNamed:value:
  140. + constructorNamed:value:value:
  141. + constructorNamed:value:value:value:
  142. + constructorOf:
  143. + constructorOf:value:
  144. + constructorOf:value:value:
  145. + constructorOf:value:value:value:
  146. + functionNamed:
  147. + functionNamed:value:
  148. + functionNamed:value:value:
  149. + functionNamed:value:value:value:
  150. + functionNamed:valueWithArgs:
  151. + functionOf:
  152. + functionOf:value:
  153. + functionOf:value:value:
  154. + functionOf:value:value:value:
  155. + functionOf:valueWithArgs:
  156. + methodOf:this:
  157. + methodOf:this:value:
  158. + methodOf:this:value:value:
  159. + methodOf:this:value:value:value:
  160. + methodOf:this:valueWithArgs:
  161. + SmalltalkImage >>
  162. + optOut:
  163. + cancelOptOut:
  164. 0.14.0:
  165. + Object >>
  166. + asJQuery
  167. + asJQueryInContext:
  168. + BlockClosure >>
  169. + asJQuery
  170. + asJQueryInContext:
  171. - AnnouncementSubscription >>
  172. - block
  173. - block:
  174. - Collection >>
  175. - contains:
  176. - String >>
  177. - asSelector
  178. - asJavaScriptSelector
  179. - SmalltalkImage >>
  180. - at:
  181. - at:ifAbsent:
  182. - at:put:
  183. - current
  184. - vm
  185. - createPackage:properties:
  186. - MethodContext >>
  187. - temps
  188. - Object >>
  189. - try:catch:
  190. 0.13.2:
  191. + SourceArea class >>
  192. + codeMirror
  193. 0.13.1:
  194. * String >> asSelector is now String >> asJavaScriptMethodName
  195. * String >> asJavaScriptSelector is now String >> asJavaScriptPropertyName
  196. * smalltalk.selector is now smalltalk.st2js
  197. * smalltalk.convertSelector is now smalltalk.js2st
  198. * Collection >> ifEmpty:ifNotEmpty: family passes self to ifNotEmpty: block
  199. * Smalltalk vm is now Smalltalk core
  200. * boot.js's .vm is now .api
  201. * amber load sets' .vm is now .api
  202. * Internal variables smalltalk/globals/_st are now $core/$globals/$recv
  203. + smalltalk.
  204. + accessJavaScript
  205. + Object >>
  206. + postMessageTo:
  207. + postMessageTo:origin:
  208. + Class >>
  209. + heliosClass
  210. + SmalltalkImage >>
  211. + core
  212. + amber/boot exports
  213. + api
  214. + amber/{devel,deploy,lang} exports
  215. + api
  216. - ProtoObject class >>
  217. - heliosClass
  218. - Object class >>
  219. - heliosClass
  220. 0.12.6:
  221. + String >>
  222. + value:
  223. + ProtocolAnnouncement >>
  224. + package
  225. + Behavior >>
  226. + isTestClass
  227. + Package >>
  228. + isTestPackage
  229. + amber/{devel,deploy,lang} exports
  230. + nil
  231. + amber/helpers exports
  232. + nil
  233. 0.12.4:
  234. * Package Canvas renamed to Web
  235. * Object >> try:catch: deprecated in favour of BlockClosure >> tryCatch:
  236. + Announcer >>
  237. + on:do:for:
  238. + Node >>
  239. + navigationNodeAt:ifAbsent:
  240. + BlockClosure >>
  241. + tryCatch:
  242. + Environment >>
  243. + evaluate:for:
  244. + AmberCli >>
  245. + version:
  246. + Object >>
  247. + deprecatedAPI:
  248. - Environment >>
  249. - eval:on:
  250. - evaluateString:on:
  251. 0.12.3:
  252. * Package Import-Export renamed to Kernel-ImportExport
  253. * A dozen of methods moved from Object to ProtoObject
  254. * HashedCollection >> at:ifAbsentPut: pushed up to SequenceableCollection
  255. * HashedCollection >> , is now allowed (removed shouldNotImplement)
  256. * HashedCollection and Dictionary both subclasses of AssociativeCollection
  257. * Smalltalk class moved to SmalltalkImage class, Smalltalk is now global var
  258. * Smalltalk current deprecated in favour of Smalltalk
  259. * Smalltalk at:[put:] deprecated in favour of Smalltalk globals at:[put:]
  260. * <smalltalk.ClassName> deprecated in favour of <globals.ClassName>
  261. + CompiledMethod >>
  262. + defaultProtocol
  263. + Behavior >>
  264. + compile:protocol:
  265. + removeProtocolIfEmpty:
  266. + Package >>
  267. + load
  268. + loadFromNamespace:
  269. + Package class >>
  270. + load:
  271. + load:fromNamespace:
  272. + PackageTransport >> load
  273. + PackageHandler >> load:
  274. + AmdPackageHandler >> load:
  275. + Set >> removeAll
  276. + AssociativeCollection class
  277. + BucketStore class
  278. + SmalltalkImage >>
  279. + globals
  280. + vm
  281. + settings
  282. + Setting class
  283. + String >>
  284. + asSetting
  285. + asSettingIfAbsent:
  286. + settingValue
  287. + settingValueIfAbsent:
  288. + settingValue:
  289. + Smalltalk global variable
  290. - CompiledMethod >>
  291. - category: (use #protocol:)
  292. - defaultCategory
  293. - Behavior >> compile:category:
  294. - HTMLCanvas class >>
  295. - browserVersion
  296. - isMSIE
  297. - isMozilla
  298. - isOpera
  299. - isWebkit
  300. 0.12.2:
  301. * Collection >> contains: is deprecated in favor of anySatisfy:
  302. + Announcer >> on:doOnce:
  303. + String >>
  304. + uriEncoded
  305. + uriDecoded
  306. + uriComponentEncoded
  307. + uriComponentDecoded
  308. + Collection >>
  309. + removeAll
  310. + ifEmpty:ifNotEmpty:
  311. + ifNotEmpty:ifEmpty:
  312. + anyOne
  313. + noneSatisfy:
  314. + anySatisfy:
  315. + allSatisfy:
  316. 0.12.0:
  317. * SmalltalkMethodContext.prototype.fillBlock() takes a third 'index' parameter
  318. * Existing classes moved to new KernelInfrastructure package
  319. * ImporterExporter
  320. * are now StreamExporters
  321. * aware of AMD namespaces
  322. * support transport types and commit channels
  323. + Node >>
  324. + nextChild
  325. + method
  326. + postCopy
  327. + isCascadeNode
  328. + isLastChild
  329. + BlockNode >>
  330. + nextNode:
  331. + nextChild
  332. + SendNode >>
  333. + isCascadeSendNode
  334. + shouldBeAliased
  335. + CompiledMethod >> sendTo:arguments:
  336. + Array >>
  337. + addFirst:
  338. + removeLast
  339. + Number >>
  340. + ceiling
  341. + floor
  342. + asNumber
  343. + //
  344. + cos
  345. + sin
  346. + tan
  347. + arcCos
  348. + arcSin
  349. + arcTan
  350. + log
  351. + log:
  352. + raisedTo:
  353. + sign
  354. + **
  355. + ln
  356. + e
  357. + String class >> esc
  358. + String >>
  359. + asMutator
  360. + capitalized
  361. + isCapitalized
  362. + JSProxy >> printString
  363. + Behavior >>
  364. + ownProtocols
  365. + ownMethods
  366. + JSStream >> nextPutSendIndexFor:
  367. + InterfacingObject class
  368. + Interpreter class
  369. + DocumentFragmentTag class
  370. + AbstractExporter class
  371. + PlatformInterface class
  372. - Node >> extent
  373. - JSStream >> nextPutStatement:with:
  374. - Smalltalk.installSuperclass()
  375. - ClassReferenceNode class (now handled via VariableNode)
  376. 0.11.0:
  377. * AnnouncementSubscription use #valuable: instead of #block: (deprecated)
  378. * AbstractCodeGenerator inherits from Object, not NodeVisitor
  379. * Object>>printString
  380. * replace >>printString with >>printOn:
  381. * replace >>storeString with >>printString
  382. * PackageLoader is now PackageHandler (>>commit: >>setupPackagenamed:prefix: >>ajaxPutAt:data:
  383. * Package>>fetch: is now Package>>load:
  384. * Package>>fetch:prefix: is now Package>>load:prefix:
  385. * Queue>>front replaced by Queue>>next
  386. * Queue>>frontIfAbsent: replaced by Queue>>nextIfAbsent:
  387. * Queue>>back: replaced by Queue>>nextPut:
  388. * smalltalk.addMethod() does not use explicit JS selector
  389. * JSObjectProxy>>canForwardMessage: replaced by use of JSObjectProxy>>lookupProperty: with asJavaScriptSelector
  390. * JSObjectProxy>>forwardMessage: replaced by explicit JSObjectProxy>>forwardMessage:withArguments:
  391. * String>>asJavaScriptSelector moved to Kernel-Objects package
  392. + Object>>asString
  393. + Object>>putOn:
  394. + String>>isVowel
  395. + Collection>>putOn:
  396. + CharacterArray>>putOn:
  397. + Stream>><<
  398. + Stream>>write
  399. + SequenceableCollection>>newStream
  400. + SequenceableCollection>>readStream
  401. + SequenceableCollection>>stream
  402. + SequenceableCollection>>streamClass
  403. + SequenceableCollection>>writeStream
  404. + Collection>>isImmutable
  405. + Stream>>nextPutString:
  406. + StringStream>>nextPutString:
  407. + JSStream>>nextPutClassRefFunction:
  408. + String>>crlfSanitized
  409. + inlined Block now also responds to >>value:
  410. + Parser: split literal into runtimeLiteral and parseTimeLiteral
  411. + Parser: write #(4 #(5 6 #()) 7) as #(4 (5 6 ()) 7)
  412. + Parser: write #(#on:do: #Object) as #(on:do: Object)
  413. + Parser: Symbols for binarie selectores
  414. + Package>>commit
  415. + AIContext>>initializeLocals
  416. + ASTInterpreter>>withBlockContext:
  417. + smalltalk.allSelectors()
  418. + Object>>isCompiledMethod
  419. + Object>>isPackage
  420. + Object>>isBehavior
  421. + ClassMoved Announcemen class
  422. + Behavior>>includesBehavior:
  423. + Environment>>classes
  424. + Environment>>allSelectors
  425. + Environment>>removeProtocol:
  426. + Environment>>renameProtocol:to:in:
  427. + CompiledMethod>>protocol:
  428. + Smalltalk>>globalJsVariables
  429. + Smalltalk>>addGlobalJsVariable:
  430. + Smalltalk>>deleteGlobalJsVariable:
  431. - Object>>storeOn:
  432. - Object>>log:block:
  433. - Object>>printNl
  434. - Compiler-IR.st >>javascriptSelector
  435. - Compiler-IR.st >>nextPutVar:
  436. - Kernel-Collections.st >>asSuperSelector
  437. - Collection>>readStream
  438. - Collection>>stream
  439. - Collection>>streamClass
  440. - Collection>>writeStream
  441. - Symbol class (replaced with String)
  442. - IRInlinedNonLocalReturn class
  443. - IRInlinedSend>>nonLocalReturnInliner
  444. - IRNonLocalReturnInliner class
  445. - Package>>dependencies
  446. - Package>>dependencies:
  447. - Package>>properties
  448. - Package>>jsProperties
  449. - Package>>jsProperties:
  450. - Package>>propertiesAsJSON
  451. - Package>>propertyAt:
  452. - Package>>propertyAt:ifAbsent:
  453. - Package>>propertyAt:put:
  454. - Browser>>ajaxPutAt:data: