API-CHANGES.txt 11 KB

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