API-CHANGES.txt 12 KB

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