1
0

API-CHANGES.txt 11 KB

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