API-CHANGES.txt 11 KB

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