forked from Joose/Joose
/
Changes
230 lines (113 loc) · 5.59 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
Release history for Joose:
{{ $NEXT }}
3.017 2011-01-12 18:33
- added `strToClass` helper function
- added Joose.A.eachR iterator
3.016 2010-12-14 15:33
[ENHANCEMENTS]
- throw 'Error' instances instead of plain strings in various places
- initial progress on reflection, allowing to receive the currently running method
[API CHANGES]
- setters no longer are being used for initial instance initialization (prior 'initialize' method)
[BUG FIXES]
- fixed a very specific bug, related to subclassing non-joose classes with custom constructor
3.015 2010-11-15 13:31
[ENHANCEMENTS]
- links to OpenJSAN in the documentation replaced with links to GitHub
[API CHANGES]
-none-
[BUG FIXES]
-none-
3.014 2010-11-01 10:32
[ENHANCEMENTS]
- switching to `npm` only as the distribution channel (migrating from JSAN)
[API CHANGES]
-none-
[BUG FIXES]
- fixed bug, when instantiating a class with traits and which is a subclass of non-joose class
it could have been instantiated with wrong parameters
3.013 2010-10-11 15:57
[ENHANCEMENTS]
-none-
[API CHANGES]
- returned 'get/setRawValue' methods of the attribute with a bit different semantic (low-level, not documented)
[BUG FIXES]
- none
3.012 2010-10-05 11:33
[ENHANCEMENTS]
- added 'hasValue/clearValue' methods for the attribute
- removed 'get/setRawValue' methods of the attribute
- minor fixes in package.json for `npm`
[API CHANGES]
-none-
[BUG FIXES]
-none-
3.011 2010-08-27 21:11
[ENHANCEMENTS]
- references to global RegExp object replaced with references to constructor of regexp instance,
to allow the advanced optimizations with Google Closure optimizer (thanks to: sirrobert)
- now its possible to inherit from non-Joose superclasses
(see http://openjsan.org/go/?l=Joose.Manual.Classes for details)
- starting from this release, Joose will be also distributed via the `npm` package manager,
> [sudo] npm install joose
- updated Joose.Manual.Installation entry
[API CHANGES]
-none-
[BUG FIXES]
- fixed bug, when calling `Module` over previously declared class didn't trigger a call to `body`
3.010 2010-07-05 19:01
[ENHANCEMENTS]
- platform detection made exception-less
- test suite is now passing on the NodeJS platform (has been adapted to recent changes Test.Run)
[API CHANGES]
-none-
[BUG FIXES]
- fixed bug, when aliases for static methods could be messed up during class mutation
3.009 2010-06-22 19:21
[ENHANCEMENTS]
- switched to Dist::Zilla for distribution management
- some speed up of the core PropertySet iterators
- if any value gets returned from `initialize` method, it gets returned as the result of the constructor,
otherwise the instance itself is returned
- added 'beforeConsumedBy' hook, allowing the property sets to act somehow before being consumed
[API CHANGES]
-none-
[BUG FIXES]
-none-
3.008 Thu, May 13, 2010
[ENHANCEMENTS]
- added ability to prefix the namespace declaration with '.' which will switch the current namespace to global
- added ability to specify VERSION and AUTHORITY builders (AUTHORITY is reserved for future use with Jx.N.D)
- added NodeJS detection
- exporting created constructors to global NodeJS scope
[API CHANGES]
-none-
[BUG FIXES]
- fixed bug, related to fact, that typeof /a/ == 'function' in WebKit, it was preventing initializing of attributes with regexp
3.007 Wed, Apr 27, 2010
[ENHANCEMENTS]
- Class/Role/Module in the global scope aliased as Joose.Class/Joose.Role/Joose.Module
- Joose no longer overwrites the Class/Role/Module symbols in global scope (should allow Prototype support)
- Static instance ('my') now receives a special 'HOST' configuration parameter during instantiation, containing a hosting class constructor
- Static methods are now aliased directly to the host constructor, and can be used without `my`
- returning 'false' from Joose.A/O.each iterators stops the iteration and can be propagated further
- added `Joose.A.map` helper
- attributes initialization moved from `initialize` method to constructor (it was somewhat restrictive - only allows `after` modifiers), this allows:
1) the `before` modifier for `initialize` with already initialized attributes
2) better support for inheriting from non-Joose classes (which may not have `initialize` at all)
- added ability to specify the arbitrary method (by name) for attributes initialization ("builder" in Moose meaning)
[API CHANGES]
-none-
[BUG FIXES]
- fixed bug, when traits weren't applied to the class with already detached meta (when the meta already had traits)
- fixed bug, when the metaclass of detached instance had no name
3.006 Mon, Feb 22, 2010
[ENHANCEMENTS]
- Added 'Changes' log
- the actual slot, to which the attribute of the class is applied became configurable
this will allow to have nicer "private" attributes and combined accessors
- some progress on docs (mentioned custom names for accessors and 'isPrivate' option)
[API CHANGES]
-none-
[BUG FIXES]
-none-