API-CHANGES.txt 11 KB

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