-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
Changes
371 lines (283 loc) · 10 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
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
Revision history for Red
{{$NEXT}}
0.1.72 2024-10-14T21:49:29+01:00
- Fix create child with no ids
- Fix double as on computation + column value
0.1.72 2024-04-15T19:34:47+01:00
- Fix select for on SQLite
0.1.71 2024-04-12T18:39:58+01:00
- Remove the test skip
0.1.70 2024-04-12T03:09:58+01:00
- New incompatible rakudo version
- Skiping a test about migrations that's giving error on a specific rakudo version
0.1.70 2024-02-26T00:45:07Z
- Last release had errors on the release process
0.1.69 2024-02-26T00:14:12Z
- Change Str defaults to text (from varchar(255))
- Fix Date and DateTime operators
0.1.69 2024-01-28T17:02:07Z
- Add index string function
- make substr accept Red::AST
0.1.69 2024-01-27T18:40:34Z
- Make Red::Type be possible to add methods to columns (use methods on queries)
- Fix Pg cast
0.1.68 2024-01-11T02:00:08Z
- Add Date to Pg
0.1.68 2024-01-03T23:54:44Z
- fixes
0.1.68 2024-01-03T23:41:37Z
- fix datetime for Pg
0.1.67 2024-01-02T23:19:28Z
- Fix test on Pg
- Accept .classify with multiple columns
- Add raku method to Red::Model
- Add DateTime funcs to Pg
0.1.66 2022-12-18T21:55:33Z
- Add `is view`
- Add `is virtual-view`
- Make join-model accept string
- Make column accept multiple traits
0.1.65 2022-12-14T21:26:26Z
- Add `.table-formatter` to Red::Driver
- Add between
- Add :default
- Add lock types for select
- Add skip-locked method
- make delete return Object
0.1.63 2022-06-20T02:10:33+01:00
- Adding `skip` to ResultSeq and make `from` an alias to it
- fix UPDATE with NULL value
0.1.62 2022-06-17T20:12:15+01:00
- fix the way enums are stored on models (decont)
- set type on column when setting Nil to it (TODO: handle default values)
0.1.61 2022-06-11T21:11:28+01:00
- add error message on specific raku versions
- add == and eq operators for enumerables
- fix aggreg methods race condition
- fix test 61
0.1.60 2022-05-14T16:09:15+01:00
- fix Pg select json (missing update)
- add relationship agregations #514
- fix .^create with Seq
0.1.59 2022-04-30T15:52:08+01:00
- fix schema.create
0.1.58 2022-04-10T23:01:15+01:00
- add `is sub-model` to `subset`
0.1.57 2022-04-03T20:10:00+01:00
- submodel do not need a name
0.1.57 2022-04-03T18:44:25+01:00
- Fix dependency
0.1.56 2022-04-03T01:09:36+01:00
- Fix coersion test
- Create .^submodel
0.1.55 2022-04-01T21:23:35+01:00
- Moving Red to zef ecosystem
- Make auto detect array types
0.1.55 2022-03-07T21:48:40Z
- Fix Red::Schema.create's emit
- Fix several AST translations with enum
0.1.54 2021-12-21T00:47:26Z
- Break when accessing a column on a Type object
- .^saved-on-db on prefetched relationships
0.1.53 2021-11-22T02:17:40Z
- Separate the Model generation for changing attributes
- Make join on update use subselect
- Teaching AST new dance moves (.replace)
- Create Red::Config
0.1.52 2021-10-22T21:33:53+01:00
- Fix usage of parameterized roles
0.1.51 2021-10-14T21:11:05+01:00
- Fix red-do on SQLite
0.1.49 2021-10-06T18:16:00Z
- Error on new with wrong type parameter
- Create on transaction
0.1.49 2021-10-06T18:16:00Z
- Send to cpan... (error on release)
0.1.48 2021-10-06T17:47:32Z
- Throws error when setting a column attribute to a wrong type value
0.1.47 2021-09-13T22:55:22+01:00
- Create Red.ping
- Create Red::Driver.ping
- small fix to introductory README example #502 (thanks @dwarring)
- Really create a new connection for transaction in Pg #504 (thanks @jonathanstowe)
- Fix sporadic warnings #509 (thanks @jonathanstowe)
- Ensure use attr name not column name in new-from-data #511 (thanks @jonathanstowe)
0.1.46 2021-07-21T20:01:44+01:00
- Accept aliases on schema
0.1.45 2021-07-18T22:30:28+01:00
- Add documentation for `is column`
- Forbid running .^create on defined model
- Accept enums
- Add optimization for X && (Y && !X) => False
0.1.44 2021-05-30T20:20:04+01:00
- Add should-drop-cascade to decide if it should use cascade to drop table
0.1.43 2021-05-02T17:39:54+01:00
- Retrying to release
0.1.42 2021-05-02T17:05:09+01:00
- Accept models (on referencing and on relationship) as object type
- Regenerate docs
0.1.41 2021-04-27T00:39:46+01:00
- Fix dynamicaly `does` and `^mixin` on models (thanks Jonathan Stowe)
0.1.40 2021-03-28T22:23:09+01:00
- Map new UNIQUE SQLite error
0.1.39 2021-03-28T21:28:42+01:00
- Add table-name-wrapper
- Fix has-one create
0.1.38 2021-02-22T19:41:38Z
- Fix multi comparators conflict
0.1.37 2021-02-22T19:08:09Z
- Add comparison to DateTime
0.1.36 2021-02-20T23:44:52Z
- NM relationship sample and test
0.1.35 2021-02-18T23:12:51Z
- Remove use lib from CLI
- add -I option to CLI
- add --debug option to CLI
0.1.34 2021-02-18T01:53:05Z
- Use DB's table formatter
0.1.33 2021-02-16T19:31:56Z
- Fix refresh
0.1.32 2021-02-16T01:55:55Z
- Fix pre-compiled experimental features
- Fix formatter spelling
0.1.31 2021-02-14T21:04:28Z
- Add experimental refreshable
0.1.30 2021-02-14T20:53:39Z
- Fix column type bug
- Add experimental update-/aggregate-supply
- Add no-optimization use's option
0.1.29 2020-11-22T00:11:21Z
- fix in translation
- fix .join-model's column
- fix fallback
0.1.28 2020-11-07T18:25:01Z
- create experimental `has-one`
0.1.27 2020-10-31T21:28:57Z
- Unique constraint fixes
0.1.26 2020-07-24T00:25:06+01:00
- Add inflation to Str -> Duration
- Fix some comparisons between Seq and ResultSeq
0.1.25 2020-07-23T21:01:46+01:00
- Adds now and today to columnMethods
0.1.24 2020-07-22T23:22:30+01:00
- Make before-update phaser work on updating ResultSeq
0.1.23 2020-07-22T21:20:24+01:00
- Fix bind order on update
0.1.22 2020-07-22T17:49:46+01:00
- Fix created obj's Poxy
- fix new-from-data from retuning data
- Add -- and ++ prefix and postfix
0.1.21 2020-07-21T01:15:24+01:00
- Add experimental short name for tables
0.1.20 2020-07-21T00:43:15+01:00
- Add experimental feature for format table name
0.1.19 2020-07-20T18:01:10+01:00
- Fix bug on setting type of a column
0.1.18 2020-07-17T20:25:01+01:00
- Set unique fields by group
0.1.17 2020-07-16T01:15:11+01:00
- custom join ,create
- custom join from defined model
0.1.16 2020-07-11T17:54:39+01:00
- Add sentences test
- Fix undefined model .^rs bug
- Fix 2 joins same table bug
0.1.15 2020-07-09T17:23:42+01:00
- Add varchar as possible type
0.1.14 2020-07-07T22:33:33+01:00
- fix time tracker example
0.1.13 2020-06-30T01:04:41+01:00
- Create Red::Cli
0.1.12 2020-06-29T02:52:51+01:00
- prepare-database on red CLI
0.1.11 2020-06-29T02:24:29+01:00
- Add prepare-database do red CLI
- Add .^populate to Metaclass
0.1.10 2020-06-28T14:47:41+01:00
- rename ResultSeq.join to ResultSeq.join-model
- create ResultSeq.join to mimic Positional.join
0.1.9 2020-06-23T15:38:43+01:00
- SQLite error changing number
0.1.8 2020-06-19T00:26:56+01:00
- Fix update
0.1.7 2020-06-06T22:00:32+01:00
- Fix #424
- Add is-handling experimental feature
0.1.6 2020-04-10T19:25:12+01:00
- Add option `:no-prefetch` to relationship
- Auto prefetches to-one relationships
0.1.5 2020-01-13T00:05:12Z
- create Red::Schema class
- change tests to use Red::Schema class where needed
0.1.4 2020-01-02T23:56:28Z
- fix `.^create-table: :if-not-exists`
0.1.3 2019-12-31T22:17:46Z
- fix README example
0.1.2 2019-12-31T21:38:09Z
- fallback to original map/grep when printing
- fallback to original map when block has a count higher than 1
- fix bug when not defining column type
0.1.1 2019-12-30T02:10:01Z
- Add validation on `is referencing` trait for :api<2>
- Accept multi-column relationship
0.1.0 2019-12-21T01:24:41Z
- xmas example
- accept map's block returning Red::Model
- json type
- :optional on relationships
- join types (inner, outer, left, right)
- Fix Divisable (%%)
- ResultSeq.join
- custom join
- join
- red-do isn't experimental anymore
- :api<2>
0.0.6 2019-10-18T00:36:18+01:00
- Fix the flickering test
0.0.5 2019-10-18T00:00:57+01:00
- ResultSeq.classify(...).Bag
- ResultSeq.classify(...).Set
- ResultSeq.map(...).classify
- ResultSeq.map(...).Bag
- ResultSeq.map(...).Set
- Create ResultSeq.push
- Red::ResultSeq does Positional
- Fix .head
- Lots of documentation
0.0.4 2019-08-19T18:39:45+01:00
- accept && and ||
- Fix optimizations
- Red CLI
- Fix id edition
- Fix id-map
- Track if the object is on DB and use it to decide between insert and update
- Allow creation of Red::Driver::* from an existing DB object
- ResultSeq.Bool should return count(*) > 0
- ResultSeq.elems should return something that is comparable to an Int
- Generate nicer SQL for "is NULL"
- Support UUID columns on Pg
- Possible Documentation Error
- Table and column comments
- Support temporary tables
- Add a comment to easily find the query in the code
- Test if exists id before .^save()ing
- Provide a ```.perl``` for model objects that only includes the columns, not relations and internals.
- Provide for no-op table creation if table exists
- Refactor optimisations
- Create relations if data provided to .^create
- Unique column results in duplicated UNIQUE in generated SQL
- Fix .^load without id
0.0.3 2019-02-27T23:21:09Z
- add union (∪), intersect(∩) and minus(⊖)
- make .elems return a Int
- accept a instance of the db lib on database function
- create with relationship objects
- is null
- return more than 1 column on map
- UUID
- bind on infixes
- bind on insert
0.0.2 2019-01-04T00:35:02-02:00
- Fix pod
0.0.1 2019-01-03T22:37:53-02:00
- Initial version