Debian Codegraph @

CHANGES

raw
1 ==================================================
2 Changes from 2007-10-02 00:00:00 +0000 to present.
3 ==================================================
4
5 -------------------------------------------
6 version 0.0200 at 2017-09-29 01:03:32 +0000
7 -------------------------------------------
8
9 Change: b0ceabb33df843b11871a21209e5fd4bf1831fb9
10 Author: Naveed Massjouni <[email protected]>
11 Date : 2017-09-28 21:02:24 +0000
12
13 v0.0200
14
15 Change: 86a1ec89187cdd64286444448e5a3cab788859b8
16 Author: Naveed Massjouni <[email protected]>
17 Date : 2017-03-02 10:25:46 +0000
18
19 Merge pull request #5 from PerlDancer/sawyer/feature/reentrant-schema
20
21 Make schema() possibly reentrant
22
23 Change: d319f5adbd6accadde265a294176b3454fc950a0
24 Author: Sawyer X <[email protected]>
25 Date : 2017-02-16 00:52:33 +0000
26
27 Add test for feature
28
29 Change: 2e6d0056b2342debce14ecfd41f362e2ef9eff81
30 Author: Sawyer X <[email protected]>
31 Date : 2017-02-16 00:52:33 +0000
32
33 Add support for schema configuration in schema() call:
34
35 What troubles me is that this module is not reentrant. You will
36 always get the same schema object and you can only configure it once.
37 Configuring it once is great, but having to argue with the code over
38 at which point to do it is annoying.
39
40 (Example: Issue #12 in Dancer2-Plugin-DBIC.)
41
42 This now allows the schema() function to also receive parameters to
43 use instead of the default configuration. It tries todo it in a
44 non-intrusive way for the code with minimal code changes and without
45 altering anything outside this function (like the global
46 configuration).
47
48 Change: 21a44eb576168081e0ec5793671b26b586347e2d
49 Author: Sawyer X <[email protected]>
50 Date : 2017-02-16 00:52:33 +0000
51
52 Retrieve the options before fetching the schema:
53
54 The previous logic would try to look up the schema and return it, and
55 if it didn't exist, it would fetch the options and try to create one.
56 This makes sense.
57
58 However, this also means that if we want to create a schema without
59 rummaging in the cache, you will have to check whether to even check
60 the cache.
61
62 Instead, we simply retrieve the relevant information for creation
63 before deciding what to do. Then we could either create a new one
64 with this configuration or return one.
65
66 Change: b406d522942e8596affe45f47b679d44d22e1f5a
67 Author: Sawyer X <[email protected]>
68 Date : 2017-02-16 00:52:33 +0000
69
70 Refactor: Move creation of schemas outside schema():
71
72 The schema() function is in charge of finding the right plugin, but
73 also creates them. Ths makes it difficult to have logic that allows
74 creating without saving or retrieval. We just split the creation into
75 its own function.
76
77 I also added comments to make it a bit clearer.
78
79 Change: bc90045822e7d3fc0f4e8f0d10a45044bcba9773
80 Author: Naveed Massjouni <[email protected]>
81 Date : 2017-02-13 10:04:52 +0000
82
83 Merge pull request #4 from PerlDancer/sawyer/fixes
84
85 Various fixes and cleanups
86
87 Change: bcee651ab7580e899ad906be872c4874f333d156
88 Author: Sawyer X <[email protected]>
89 Date : 2017-02-13 10:56:10 +0000
90
91 Revert "Cleanup: Explicitly use DBIx::Class::Schema::Loader:"
92
93 This reverts commit 4f80a6f9ef3c994ffda9991d7fe7839307b6abbf.
94
95 Change: 9e527d272a25e4be0a64454d8b258211f171211e
96 Author: Sawyer X <[email protected]>
97 Date : 2017-02-10 11:12:43 +0000
98
99 Do not add DBIx::Class::Schema::Loader as hard prereq:
100
101 Currently DBIx::Class::Schema::Loader is loaded optionally, but
102 reported as a hard dependency. (See previous commit.)
103
104 This makes it recommended, but optional.
105
106 Change: 4f80a6f9ef3c994ffda9991d7fe7839307b6abbf
107 Author: Sawyer X <[email protected]>
108 Date : 2017-02-10 11:12:39 +0000
109
110 Cleanup: Explicitly use DBIx::Class::Schema::Loader:
111
112 In Dancer2-Plugin-DBIC, DBIx::Class::Schema::Loader is mentioned as a
113 requirement. It's a lazy optional one. It's also hard to spot because
114 it's being loaded as a string using Module::Load.
115
116 Instead, this makes it a bit clearer by using 'require' directly.
117
118 It would be better to make this an optional requirement instead of a
119 default one.
120
121 Change: 1b545771aec22a89989c284f950526270ae272b5
122 Author: Sawyer X <[email protected]>
123 Date : 2017-02-10 10:58:09 +0000
124
125 Cleanup: Replace die() with croak():
126
127 croak() is used in some places but not everywhere, so might as well
128 report from the caller everywhere.
129
130 Change: c6f2031977572bcfd4352e131eb274cbc0be14d0
131 Author: Sawyer X <[email protected]>
132 Date : 2017-02-10 10:56:38 +0000
133
134 Cleanup: Simply conditions code
135
136 Change: d9042c990068eb816b21396573704012d66c2ead
137 Author: Sawyer X <[email protected]>
138 Date : 2017-02-10 10:56:20 +0000
139
140 Cleanup: Fix extra or missing semicolons
141
142 Change: 30166bce0c49ca7e979c9bbd82b582850805df7d
143 Author: Sawyer X <[email protected]>
144 Date : 2017-02-10 10:56:20 +0000
145
146 Add provides metadata:
147
148 The following plugin will add the provides metadata to the
149 distribution, which is considered a best practice.
150
151 Change: 35e6040f94c561ab29811fe1db8164f03492d87f
152 Author: Sawyer X <[email protected]>
153 Date : 2017-02-10 10:56:20 +0000
154
155 Provide META.json file in distribution:
156
157 The following plugin adds the META.json file. This is considered the
158 more modern META data format.
159
160 -------------------------------------------
161 version 0.0100 at 2016-10-09 04:10:17 +0000
162 -------------------------------------------
163
164 Change: 1a805013fbef23417d4911ad2dae6b88d30df82a
165 Author: Naveed Massjouni <[email protected]>
166 Date : 2016-10-09 00:10:17 +0000
167
168 v0.0100
169
170 Change: 365201e343fe133a78c22e7977a6c66524d3d6e1
171 Author: Naveed Massjouni <[email protected]>
172 Date : 2016-10-08 23:48:50 +0000
173
174 Merge pull request #3 from hvoers/master
175
176 Add functions 'get_config' and 'add_schema_to_config'
177
178 Change: fcabbc9f2ffc171062a428e6e4d6a1d5adccf9f3
179 Author: Henk van Oers <[email protected]>
180 Date : 2016-08-20 15:12:40 +0000
181
182 Add function 'add_schema_to_config'
183
184 add_schema_to_config
185
186 This function does not touch the existing config. It can be used if
187 some
188
189 other part of your app has configured DBICx::Sugar but did not know
190 about
191
192 the part that uses an extra schema.
193
194 add_schema_to_config('schema_name', { dsn => ... });
195
196 Change: 587923ac6bae4a7c3044286859741bd4d794d0e7
197 Author: Henk van Oers <[email protected]>
198 Date : 2016-08-20 13:40:33 +0000
199
200 Remove 'use Memoize', add function 'get_config'
201
202 Memoize is not used, so remove.
203
204 For introspection add function get_config.
205
206 Change: e58f1936ccec6275aa000dd969d6ef3e9f790596
207 Author: Henk van Oers <[email protected]>
208 Date : 2016-08-20 13:12:17 +0000
209
210 Save the found config
211
212 Save the found config like
213 DBICx::Sugar::config(LoadFile($config_path)->{dbicx_sugar}); would
214 do.
215
216 Change: 48b48aac50969e76645e3c8960576bddad36097f
217 Author: Naveed Massjouni <[email protected]>
218 Date : 2015-03-29 06:01:49 +0000
219
220 updated synopsis
221
222 -------------------------------------------
223 version 0.0001 at 2015-03-29 09:08:21 +0000
224 -------------------------------------------
225
226 Change: ab63e49d6cf396abf1fad6354f8abfcee5991d25
227 Author: Naveed Massjouni <[email protected]>
228 Date : 2015-03-29 05:08:21 +0000
229
230 first commit
231
232 ================
233 End of releases.
234 ================