trinidad 1.4.5.B1 → 1.4.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,21 @@
1
- == Trinidad 1.4.5.B1 (2013-03-08)
1
+ ## trinidad 1.4.5 (2013-06-14)
2
+
3
+ * server should set up AJP only (if HTTP not explicitly configured) (#113)
4
+ make sure that address/port are being set on AJP as well
5
+ * make sure environment is converted to_s + check if specified in web.xml (#112)
6
+ * config[:host] might be a string (e.g. using rackup mode)
7
+
8
+ also see all changes in 1.4.5.B1 if upgrading from a previous stable
9
+
10
+ ## trinidad_jars 1.2.4 (2013-06-12)
11
+
12
+ * Tomcat 7.0.41 http://tomcat.apache.org/tomcat-7.0-doc/changelog.html
13
+
14
+ ## trinidad_jars 1.2.3 (2013-04-26)
15
+
16
+ * Tomcat 7.0.39 http://tomcat.apache.org/tomcat-7.0-doc/changelog.html
17
+
18
+ ## trinidad 1.4.5.B1 (2013-03-08)
2
19
 
3
20
  * Rails 4.0 threadsafe! detection
4
21
  * only configure logging err handler if STDOUT/STDERR changed from JVM default
@@ -7,51 +24,51 @@
7
24
  * (always) correctly categorize deployed apps into hosts
8
25
  * support for more fine grained host configuration (including default host)
9
26
  * (once again) working plain-old .war deployment support
10
- * make sure context name (once set) is not changed and is kept esp. during
27
+ * make sure context name (once set) is not changed and is kept esp. during
11
28
  rolling reloads even if (slightly) different from configured context_name
12
- * fail-safe (zero-downtime) support for rolling reload
29
+ * fail-safe (zero-downtime) support for rolling reload
13
30
  when a new version of the app fails to boot the old one is kept
14
31
  * depend on latest (>= 1.2.2) jars and jruby-rack >= 1.1.13
15
32
  * review extensions resolution, ignore extension (warn) when it doesn't exist
16
- * patch DirectJDKLog to disable log source thus we won't generate a dummy
33
+ * patch DirectJDKLog to disable log source thus we won't generate a dummy
17
34
  throwable just to obtain the caller stack trace (that ain't really used)
18
35
  * handle immediate log level change with JUL's LogFactory
19
36
  * avoid work_dir deletion on context destory (during rolling reloads)
20
- * do not allow public.root == '/' to be used as FS root (#93)
37
+ * do not allow public.root ('/') to be used as FS root (#93)
21
38
 
22
- == Trinidad_jars 1.2.2 (2013-03-08)
39
+ ## trinidad_jars 1.2.2 (2013-03-08)
23
40
 
24
41
  * Tomcat 7.0.37 http://tomcat.apache.org/tomcat-7.0-doc/changelog.html
25
42
 
26
- == Trinidad_jars 1.2.1 (2013-02-21)
43
+ ## trinidad_jars 1.2.1 (2013-02-21)
27
44
 
28
45
  * Tomcat 7.0.35 http://tomcat.apache.org/tomcat-7.0-doc/changelog.html
29
46
 
30
- == Trinidad_jars 1.2.0 (2013-01-14)
47
+ ## trinidad_jars 1.2.0 (2013-01-14)
31
48
 
32
49
  * Tomcat 7.0.33 http://tomcat.apache.org/tomcat-7.0-doc/changelog.html
33
50
  * patched JULI's DirectJDKLog to not generate stack traces for every log
34
51
  by default (can be turned back using org.apache.juli.logging.logSource=true)
35
52
  * native (Java) implementations for logging classes, to keep logging AFAP
36
53
 
37
- == Trinidad 1.4.4 (2012-10-19)
54
+ ## trinidad 1.4.4 (2012-10-19)
38
55
 
39
56
  * make sure setting FileHandler's rotatable to false works (#82)
40
- * first draft for web-app logging configuration to avoid use hacks e.g.
57
+ * first draft for web-app logging configuration to avoid use hacks e.g.
41
58
  for disabling rotation (this feature is not yet official and might change)
42
59
  * fix new lines (ala default Rails.logger) in console output
43
- * set correct (JRuby-Rack) layout for web apps and use app.root
60
+ * set correct (JRuby-Rack) layout for web apps and use app.root
44
61
  (besides rails.root)
45
62
  * check whether (jruby.) params are specified in system properties (#92)
46
63
  * fix JUL::ConsoleHandler - not setting up JRuby streams correctly (#88)
47
64
 
48
- == Trinidad_jars 1.1.1 (2012-10-17)
65
+ ## trinidad_jars 1.1.1 (2012-10-17)
49
66
 
50
67
  * Tomcat 7.0.32 http://tomcat.apache.org/tomcat-7.0-doc/changelog.html
51
68
  * avoid using the "global" (and redundant) TRINIDAD_LIBS constant
52
69
  * load the .jar files instead of requiring them (no more $: polution)
53
70
 
54
- == Trinidad 1.4.3 (2012-09-20)
71
+ ## trinidad 1.4.3 (2012-09-20)
55
72
 
56
73
  * allow to keep (and configure) the jsp servlet (support for serving .jsp pages)
57
74
  * decreased jruby.runtime.acquire.timeout default from 10 to 5 seconds
@@ -66,10 +83,10 @@
66
83
  - support for providing aliases (to achieve desired backward compatibility)
67
84
  - support for allowing caching and tuning (asset) cache parameters
68
85
  * allow absolute paths with :default_web_xml / :web_xml configuration option
69
- * replace :libs_dir and :classes_dir with :java_lib and :java_classes options
86
+ * replace :libs_dir and :classes_dir with :java_lib and :java_classes options
70
87
  (backwards compatible) with sensible defaults *lib/java* and *lib/java/classes*
71
88
  * make sure application :work_dir is actually being set on the context
72
- and change it by default to to [RAILS_ROOT]/tmp
89
+ and change it by default to to [RAILS_ROOT]/tmp
73
90
  * web application's :web_app_dir deprecated in favor of the :root_dir option
74
91
  * make sure the rack servlet loads on startup by default
75
92
  * allow init_params: to be configured with (rack/default) servlet options
@@ -90,48 +107,48 @@ Requires JRuby-Rack >= 1.1.10 and thus includes the following features :
90
107
  - support for fully leveraging the Servlet API for parameters/cookies
91
108
  this is useful for Java integration cases when a servlet/filter consumes
92
109
  the input stream before Rails (e.g. valves such as AccessLogValve).
93
- it is an experimental feature that might change in the future and
110
+ it is an experimental feature that might change in the future and
94
111
  currently requires setting 'jruby.rack.handler.env' param to 'servlet'
95
112
 
96
- == Trinidad_jars 1.1.0 (2012-09-20)
113
+ ## trinidad_jars 1.1.0 (2012-09-20)
97
114
 
98
115
  * include java code compiled into trinidad-rb.jar for Trinidad
99
116
  * otherwise same as previous version (1.0.7) uses Tomcat 7.0.30
100
117
 
101
- == Trinidad 1.4.2 (2012-09-19) YANKED
118
+ ## trinidad 1.4.2 (2012-09-19) YANKED
102
119
 
103
- == Trinidad_jars 1.0.7 (2012-09-12)
120
+ ## trinidad_jars 1.0.7 (2012-09-12)
104
121
 
105
122
  * Tomcat 7.0.30 http://tomcat.apache.org/tomcat-7.0-doc/changelog.html
106
123
 
107
- == Trinidad_jars 1.0.6 (2012-08-21)
124
+ ## trinidad_jars 1.0.6 (2012-08-21)
108
125
 
109
126
  * Tomcat 7.0.29 http://tomcat.apache.org/tomcat-7.0-doc/changelog.html
110
127
 
111
- == Trinidad 1.4.1 (2012-08-17)
128
+ ## trinidad 1.4.1 (2012-08-17)
112
129
 
113
- * make sure file logging rotates correctly when file handler attempts rolling
130
+ * make sure file logging rotates correctly when file handler attempts rolling
114
131
  after midnight (#81)
115
- * refined (backwards-compatible) extension API
116
- - options attr reader
117
- - override_tomcat? no longer needed simply return a tomcat duck
132
+ * refined (backwards-compatible) extension API
133
+ - options attr reader
134
+ - override_tomcat? no longer needed simply return a tomcat duck
118
135
  - expose camelize + symbolize helpers
119
136
  - WebAppExtension should only get a single context argument on configure
120
137
  * better rails (2.3/3.x) detection with environment.rb
121
- * minor server updates
122
- - expose configured web_apps
123
- - add a trap? helper (for easier overrides)
138
+ * minor server updates
139
+ - expose configured web_apps
140
+ - add a trap? helper (for easier overrides)
124
141
  - introduce a stop! for stopping and destroying a the server
125
142
 
126
- == Trinidad 1.4.0 (2012-07-24)
143
+ ## trinidad 1.4.0 (2012-07-24)
127
144
 
128
- * fix incorrect context-param parsing and only configure logging when
145
+ * fix incorrect context-param parsing and only configure logging when
129
146
  deployment descriptor did not specified jruby.rack.logging param (#76)
130
147
  * deep symbolize_options should account for arrays of hashes (#80)
131
148
  * requires latest Tomcat 7.0.28 (jars 1.0.5) due context reloading fix
132
149
  * requires latest jruby-rack 1.1.7 due delegating RackLogger to JUL
133
150
  * Trinidad::WebApp API revisited some changes are non-backwards compatible !
134
- * enable running multiple applications with different ruby versions (using the
151
+ * enable running multiple applications with different ruby versions (using the
135
152
  jruby_compat_version configuration option)
136
153
  * allow arbitrary keys to be stored with Trinidad::Configuration
137
154
  * changed Trinidad::Lifecycle::Base to be a (ruby-like) base lifecycle listener
@@ -141,14 +158,14 @@ Requires JRuby-Rack >= 1.1.10 and thus includes the following features :
141
158
  * reinvented server/application logging with Trinidad::Logging :
142
159
  - refactored Trinidad's global logging configuration with JUL
143
160
  - application logs into log/env.log by default with daily rolling
144
- - console logs are now less chatty and only print logs from applications
161
+ - console logs are now less chatty and only print logs from applications
145
162
  running in development mode (configuration to come in a later release)
146
163
  - make sure Trinidad's custom log formatter prints thrown exceptions
147
164
  - use local timestamps with (file) log formatter by default
148
165
  * Trinidad::Server#add_web_app for code re-use during rolling redeploys
149
166
  * refactored application (monitor based `touch 'tmp/restart.txt'`) reloading
150
167
  - bring back synchronous context reloading and make it default
151
- - "zero downtime" async rolling reload is still supported and configurable via
168
+ - "zero downtime" async rolling reload is still supported and configurable via
152
169
  the reload_strategy: rolling configuration option
153
170
  - updated the context restart code - hot deploys should now work reliably (#75)
154
171
  - moved Trinidad::Lifecycle::Host under Trinidad::Lifecycle::WebApp::Host
@@ -156,20 +173,20 @@ Requires JRuby-Rack >= 1.1.10 and thus includes the following features :
156
173
  - introduced Trinidad::WebApp::Holder to be used instead of bare Hash
157
174
  * add async_supported attribute for servlet (3.0) configuration
158
175
 
159
- == Trinidad_jars 1.0.5 (2012-07-03)
176
+ ## trinidad_jars 1.0.5 (2012-07-03)
160
177
 
161
178
  * Upgrade to Tomcat 7.0.28
162
179
  * Patched org.apache.juli.FileHandler to allow daily rolling customization
163
180
 
164
- == Trinidad_jars 1.0.4 (2012-06-14)
181
+ ## trinidad_jars 1.0.4 (2012-06-14)
165
182
 
166
183
  * Upgrade to Tomcat 7.0.27
167
184
 
168
- == Trinidad_jars 1.0.3 (2012-04-04)
185
+ ## trinidad_jars 1.0.3 (2012-04-04)
169
186
 
170
187
  * Upgrade to Tomcat 7.0.26
171
188
 
172
- == Trinidad 1.3.5 (2012-04-04)
189
+ ## trinidad 1.3.5 (2012-04-04)
173
190
 
174
191
  * Correctly detect :rackup from main config for web apps (#66)
175
192
  * Rearrange trinidad.gemspec to be (always) usable with Bundler's :git paths.
@@ -177,163 +194,163 @@ Requires JRuby-Rack >= 1.1.10 and thus includes the following features :
177
194
  * Make sure tomcat exits on initialization failure.
178
195
  * Yield from block passed to Trinidad's Rack::Handler
179
196
 
180
- == Trinidad 1.3.4 (2012-02-20)
197
+ ## trinidad 1.3.4 (2012-02-20)
181
198
 
182
199
  * Do not explicitely load rack/handler/trinidad.rb, it solves load issues with trinidad_init_services.
183
200
 
184
- == Trinidad 1.3.3 (2012-02-16)
201
+ ## trinidad 1.3.3 (2012-02-16)
185
202
 
186
203
  * Fix issues loading the default configuration file from the rack handler
187
204
 
188
- == Trinidad 1.3.2 (2012-01-13)
205
+ ## trinidad 1.3.2 (2012-01-13)
189
206
 
190
207
  * Fix #29: Rack::Handler.register not found error
191
208
 
192
- == Trinidad 1.3.1 (2012-01-06)
209
+ ## trinidad 1.3.1 (2012-01-06)
193
210
 
194
211
  * Fix Rack handler configuration issues
195
212
 
196
- == Trinidad_jars 1.0.2 (2011-12-31)
213
+ ## trinidad_jars 1.0.2 (2011-12-31)
197
214
 
198
215
  * Bump Tomcat's version to 7.0.23
199
216
 
200
- == Trinidad 1.3.0 (2011-12-30)
217
+ ## trinidad 1.3.0 (2011-12-30)
201
218
 
202
219
  * Support for virtual hosts
203
220
  * Ruby configuration DSL
204
221
  * Rack handler
205
222
 
206
- == Trinidad 1.2.3 (2011-07-13)
223
+ ## trinidad 1.2.3 (2011-07-13)
207
224
 
208
225
  * fix JRuby class loader generation with hot deploy
209
226
 
210
- == Trinidad 1.2.2 (2011-07-12)
227
+ ## trinidad 1.2.2 (2011-07-12)
211
228
 
212
229
  * Better log formatter
213
230
  * Allow to use an ERB template as configuration file
214
231
  * Fix trinidad_init_services compatibility issues
215
232
 
216
- == Trinidad 1.2.1 (2011-06-15)
233
+ ## trinidad 1.2.1 (2011-06-15)
217
234
 
218
235
  * Allow to specify the monitor file from the command line
219
236
 
220
- == Trinidad 1.2.0 (2011-05-24)
237
+ ## trinidad 1.2.0 (2011-05-24)
221
238
 
222
239
  * Zero downtime hot deploy
223
240
  * Autodetect framework and threadsafe environment
224
241
  * Upgrade jruby-rack dependency to 1.0.9
225
242
 
226
- == Trinidad 1.1.1 (2011-03-27)
243
+ ## trinidad 1.1.1 (2011-03-27)
227
244
 
228
245
  * Remove shared runtime initialization
229
246
 
230
- == Trinidad 1.1.0 (2011-03-18)
247
+ ## trinidad 1.1.0 (2011-03-18)
231
248
 
232
249
  * Hot deployment integrated in the core gem
233
250
  * Load config/trinidad.yml by default without the `-f` option if it exists
234
251
  * Load config.ru for applications under the `apps_base` directory when the option is enabled
235
252
  * Share the JRuby runtime with JRuby-Rack
236
253
 
237
- == Trinidad_jars 1.0.1 (2011-03-17)
254
+ ## trinidad_jars 1.0.1 (2011-03-17)
238
255
 
239
256
  * Upgrade to Tomcat 7.0.11
240
257
 
241
- == Trinidad_jars 1.0.0 (2011-01-18)
258
+ ## trinidad_jars 1.0.0 (2011-01-18)
242
259
 
243
260
  * Upgrade to Tomcat 7.0.6, first stable release of the Tomcat 7 branch.
244
261
 
245
- == 1.0.5 (2011-01-13)
262
+ ## trinidad 1.0.5 (2011-01-13)
246
263
 
247
264
  * Fix trailing spaces on arguments. Thank you Windows.
248
265
 
249
- == 1.0.4 (2011-01-11)
266
+ ## trinidad 1.0.4 (2011-01-11)
250
267
 
251
268
  * Add 'jruby.compat.version' parameter to let jruby-rack loads on 1.9 mode
252
269
 
253
- == 1.0.3 (2010-12-08)
270
+ ## trinidad 1.0.3 (2010-12-08)
254
271
 
255
272
  * fix TRINIDAD-31: fix bug causing trailing slashes errors loading assets
256
273
 
257
- == 1.0.2 (2010-11-11)
274
+ ## trinidad 1.0.2 (2010-11-11)
258
275
 
259
276
  * stop using application directory as work directory to prevent TRINIDAD-27 and other issues
260
277
 
261
- == Trinidad_jars 0.3.3 (2010-11-11)
278
+ ## trinidad_jars 0.3.3 (2010-11-11)
262
279
 
263
280
  * fix TRINIDAD-27: Tomcat 7.0.2 deletes working directory upon shutdown
264
281
 
265
- == 1.0.1 (2010-11-04)
282
+ ## trinidad 1.0.1 (2010-11-04)
266
283
 
267
284
  * fix problem loading lifecycle
268
285
 
269
- == 1.0.0 (2010-11-04)
286
+ ## trinidad 1.0.0 (2010-11-04)
270
287
 
271
288
  * Warbler support
272
289
  * Add APR listener to run under native connectors
273
290
  * fixes #24: setting address doesn't affect listening socket
274
291
  * fix issues configuring the logger out of the lifecycle listener
275
292
 
276
- == 0.9.12 (2010-10-21)
293
+ ## trinidad 0.9.12 (2010-10-21)
277
294
 
278
295
  * fix problems loading tomcat classes from rack application
279
296
  * fix xml parsing of web.xml. Thanks to Karol Bucek
280
297
 
281
- == 0.9.11 (2010-10-20)
298
+ ## trinidad 0.9.11 (2010-10-20)
282
299
 
283
300
  * configure applications base directory to run several applications into the same container
284
301
 
285
- == 0.9.10 (2010-10-02)
302
+ ## trinidad 0.9.10 (2010-10-02)
286
303
 
287
304
  * configure logging as expected by rails applications
288
305
 
289
- == 0.9.9 (2010-09-29)
306
+ ## trinidad 0.9.9 (2010-09-29)
290
307
 
291
308
  * set tomcat's server address properly
292
309
 
293
- == 0.9.8 (2010-09-27)
310
+ ## trinidad 0.9.8 (2010-09-27)
294
311
 
295
312
  * fix http connector protocol enabling nio
296
313
 
297
- == 0.9.7 (2010-09-27)
314
+ ## trinidad 0.9.7 (2010-09-27)
298
315
 
299
316
  * add option --adress to set the Trinidad's host
300
317
 
301
- == Trinidad_jars 0.3.2 (2010-09-26)
318
+ ## trinidad_jars 0.3.2 (2010-09-26)
302
319
 
303
320
  * fix TRINIDAD-21: trinidad_jars 0.3.1 breaks logging extension
304
321
 
305
- == 0.9.6 (2010-09-12)
322
+ ## trinidad 0.9.6 (2010-09-12)
306
323
 
307
324
  * add option to specify the application directory path from the command line
308
325
 
309
- == Trinidad_jars 0.3.1 (2010-09-12)
326
+ ## trinidad_jars 0.3.1 (2010-09-12)
310
327
 
311
328
  * update to Tomcat 7.0.2
312
329
  * fix TRINIDAD-17: NPE when web app has a context path
313
330
 
314
- == 0.9.5 (2010-08-08)
331
+ ## trinidad 0.9.5 (2010-08-08)
315
332
 
316
333
  * fix TRINIDAD-15: trinidad defines String#camelize incompatibly with ActiveSupport: Argument is missing
317
334
  * update JRuby-Rack dependency to avoid compatibility issues with rvm'
318
335
 
319
- == 0.9.4 (2010-08-04)
336
+ ## trinidad 0.9.4 (2010-08-04)
320
337
 
321
338
  * fix error configuring ssl
322
339
 
323
- == 0.9.3 (2010-07-27)
340
+ ## trinidad 0.9.3 (2010-07-27)
324
341
 
325
342
  * Tomcat updated to version 7.0.0
326
343
  * fix TRINIDAD-9: Tomcat SSL configure options keystore and keystoreFile
327
344
  * fix TRINIDAD-10: When a web.xml is provided the tomcat's context doesn't start properly
328
345
 
329
- == 0.9.2 (2010-05-24)
346
+ ## trinidad 0.9.2 (2010-05-24)
330
347
 
331
348
  * Autoload the rackup file when it's under the directory WEB-INF.
332
349
  * Let jruby-rack reads the rackup file instead of passing its content as an init parameter.
333
350
  * Allow to configure the rack servlet from the configuration options.
334
351
  * Allow to use crt files to configure SSL
335
352
 
336
- == 0.9.1 (2010-05-09)
353
+ ## trinidad 0.9.1 (2010-05-09)
337
354
 
338
355
  * Move all configuration logic to a Lifecycle listener:
339
356
  - Keeps the initial configuration so the provided web xml files are no more needed.
@@ -342,7 +359,7 @@ Requires JRuby-Rack >= 1.1.10 and thus includes the following features :
342
359
  * Allow to specify webapp extensions in the extensions root section.
343
360
  * Allow to configure the Http connector.
344
361
 
345
- == 0.9.0 (2010-04-28)
362
+ ## trinidad 0.9.0 (2010-04-28)
346
363
 
347
364
  * Tomcat updated to version 6.0.26, added constant to get its version.
348
365
  * Jars cleaned, 300kb less to load :)
@@ -350,63 +367,63 @@ Requires JRuby-Rack >= 1.1.10 and thus includes the following features :
350
367
  * Fixes bug merging configuration files
351
368
  * Configuring application through web.xml to avoid weird lifecycle problems
352
369
 
353
- == 0.8.3 (2010-04-17)
370
+ ## trinidad 0.8.3 (2010-04-17)
354
371
 
355
372
  * Extensions improvements:
356
373
  - Enable command line extensions.
357
374
  - Allow to overload the server.
358
375
 
359
- == 0.8.2 (2010-04-09)
376
+ ## trinidad 0.8.2 (2010-04-09)
360
377
 
361
378
  * Fixes yaml parser error. Thank to @elskwid
362
379
 
363
- == 0.8.1 (2010-04-06)
380
+ ## trinidad 0.8.1 (2010-04-06)
364
381
 
365
382
  * Uses JRuby-Rack gem
366
383
 
367
- == 0.8.0 (2010-04-04)
384
+ ## trinidad 0.8.0 (2010-04-04)
368
385
 
369
386
  * Support for extensions (database connection pooling is the first one using it)
370
387
  * Splitting the gem in two, the core gem and the jars gem
371
388
 
372
- == 0.7.0 (2009-12-01)
389
+ ## trinidad 0.7.0 (2009-12-01)
373
390
 
374
391
  * Support to run different applications within the same Tomcat container
375
392
 
376
- == 0.6.0 (2009-11-02)
393
+ ## trinidad 0.6.0 (2009-11-02)
377
394
 
378
395
  * Rackup compatibe frameworks support
379
396
 
380
- == 0.5.0 (2009-10-27)
397
+ ## trinidad 0.5.0 (2009-10-27)
381
398
 
382
- * JRuby-rack updated to version 0.9.5
399
+ * JRuby-Rack updated to version 0.9.5
383
400
  * Added Rack dependency to avoid using vendorized version
384
401
 
385
- == 0.4.1 (2009-07-26)
402
+ ## trinidad 0.4.1 (2009-07-26)
386
403
 
387
404
  * using jruby-rack development version to solve some bugs related with it.
388
405
 
389
- == 0.4.0 (2009-07-16)
406
+ ## trinidad 0.4.0 (2009-07-16)
390
407
 
391
408
  * support for ssl connections
392
409
  * support for ajp connections
393
410
 
394
- == 0.3.0 (2009-07-07)
411
+ ## trinidad 0.3.0 (2009-07-07)
395
412
 
396
413
  * project renamed due to tomcat legal issues
397
414
 
398
- == 0.2.0 (2009-06-23)
415
+ ## trinidad 0.2.0 (2009-06-23)
399
416
 
400
417
  * custom configuration from a yaml file
401
418
  * load options from a custom web.xml
402
419
 
403
- == 0.1.2
420
+ ## trinidad 0.1.2
404
421
 
405
422
  * Autoload application custom jars and classes.
406
423
  * Added some specs.
407
424
  * Server refactor.
408
425
 
409
- == 0.1
426
+ ## trinidad 0.1
410
427
 
411
428
  * Initial release.
412
429
  * Running default rails applications.