API-CHANGES.txt 11 KB

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