Browse Source

New timing of 4-arg addClass deprecation.

Herby Vojčík 3 years ago
parent
commit
bbb9220d39
2 changed files with 13 additions and 1 deletions
  1. 12 0
      CHANGELOG
  2. 1 1
      lang/base/kernel-language.js

+ 12 - 0
CHANGELOG

@@ -1,3 +1,15 @@
+? May 2020 - Release 0.29.2
+===================================
+
+* Change to JS format, not breaking
+  * Move to 3-arg addClass plus setSlots was planned in 2019, but forgotten.
+  * Thus, it is loadable in older Amber versions for more than a year.
+  * The move to 3-arg addClass plus setSlots was made now.
+* API renames / additions moving further from ivars to slots.
+
+Commits: https://lolg.it/amber/amber/commits/0.29.2.
+
+
 8 May 2020 - Release 0.29.1
 ===================================
 

+ 1 - 1
lang/base/kernel-language.js

@@ -409,7 +409,7 @@ define(['./junk-drawer'], function ($goodies) {
              A Package is lazily created if one with given name does not exist. */
 
             st.addClass = function (className, superclass, category) {
-                // TODO remove, backward compatibility
+                // TODO remove, backward compatibility (note: only deprecated as of this note)
                 if (arguments[3]) {
                     var added = st.addClass(className, superclass, arguments[3]);
                     setSlots(added, category);