API-CHANGES.txt 12 KB

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