API-CHANGES.txt 12 KB

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