forked from mendix/m2ee-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
344 lines (296 loc) · 15.6 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
m2ee-tools 7.2.3, 18 Oct 2021
* Fix a crash in the munin plugin code when writing out the cache file with
last known statistics fails.
* Revise various parts of the documentation that only mentioned old operating
system versions. Make the text more generic instead.
* Remove documentation about the RPM packages, since those are not maintained
since m2ee-tools 0.5.4.1 any more.
* Fix the config module to use the yaml safe_load function() instead of
load() without arguments, since the latter is deprecated and not possible
in the most recent pyyaml version.
m2ee-tools 7.2.2, 21 Mar 2019
* Include a proper bugfix for the regression in -c argument handling that was
already quickly fixed in v7.2.1.
* Replace the usage of the external unzip program while unpacking a
deployment archive with the python zipfile library, since that built in
library is sufficient for doing the needed work.
* Fix a program crash when there's no unpacked application model.
* Improve resetting permissions on web/ model/ and data/ in the project
directory.
* Remove all occurences of sys.exit(1) in library code.
* Still provide PostgreSQL related munin graph output when the application is
not running.
* Improve unclear wording of how Mendix can support users of this software.
(We can't "fully" support things a user does on their own computer.)
* Update documentation to use Debian Stretch in the examples.
m2ee-tools 7.2.1, 27 Aug 2018
* Fix regression in -c command line option handling. Using the option would
crash the program.
* Improve usability of MicroflowConstants configuration handling. Omitting
the option or listing it without any value would crash the program.
m2ee-tools 7.2, 16 Aug 2018
* Drop support for RHEL 6 / Centos 6
* Drop support for Debian Wheezy
* Don't warn about missing constants any more, but use default values from
the application model.
* New check_constants command in the cli to check which constant definitions
are missing or unneeded.
* Fix hanging and unusable m2ee cli when runtime admin port does not respond.
* Allow persistent (or, 'early') loglevel configuration for Mendix >= 6.
* Exit with status code 1 instead of 0 if an exception occurs when using the
cli in one-off mode.
* When the JVM process fails to start (the startup phase before the admin
port comes online) when doing a detached start, capture stdout/stderr
output of the JVM process and put it in the 'output' field of the exception
object that is raised.
* Add munin plugins with database statistics (open connections, database
size, tuple mutations) when PostgreSQL is used.
* Refresh munin documentation with new example graphs and explanations.
* Remove system-wide-m2ee example from the documentation, it's not useful any
more.
* Ignore deprecated DTAPMode setting. Only try creating database in yolo mode
instead.
* Ignore http proxy environment variable settings for admin port connections.
* Remove felix_config_file configuration option, it should always be set to
the default location.
* Python 3 compatibility. This is only tested with Debian Stretch. Any older
Debian Release will not be supported with Python 3.
* Document the Mendix 7 changed default for PersistentSessions in
full-documented-m2ee.yaml
* Small typo fixes, cleanups and improvements.
m2ee-tools 7.1, 2 Nov 2017
* TODO items have been moved to github issues
* Update nginx reverse proxy example config
* Mention Debian Stretch as supported
* Allow starting an application without detaching (for debugging)
* Allow setting loglevels with spaces
* Make show_cache_statistics an official command
* Don't report actions as not implemented while starting. This
introduces a new exception type: M2EERuntimeNotFullyRunning
* Distinguish between a non available Admin API port and a timeout
that happens when handling a request. This introduces a new exception type:
M2EEAdminTimeout
* Increase the default timeout for stopping
* Small fixes and cosmetics in code and CLI output
m2ee-tools 7.0, 13 Feb 2017
* Major rewrite of internal error handling. Boolean return codes have been
replaced with proper exception handling.
* Cleanup of nagios plugin messages, to make them more
understandable
* The built-in nagios plugin now checks license expiry. It's
currently hard coded to 30 days for warning and 7 days for critical.
* Drop Mendix 2.5 compatibility. (now supports at least 3.0)
* Drop python 2.5 compatibility (2.7 recommended)
* The download runtime command now uses curl and handles incomplete
downloads more nicely.
* A new interactive command is added, cleanup_runtimes, which
removes unused downloaded Mendix Runtime versions.
* During statistics gathering in the munin plugin, the timeout when
contacting the Runtime Admin API has been lowered, so that a non-responding
application will not cause skipping other plugins that still have to be run
on the host.
m2ee-tools 0.5.11.4, 10 Nov 2016
* Preliminary Mendix 7 compatibility
m2ee-tools 0.5.11.3, 26 Jul 2016
* Fix incorrect JVM graph values for Mx <6.6, <5.21.5, MemoryPoolMXBean values
show up in a different order when running Java 8.
m2ee-tools 0.5.11.2, 19 Nov 2015
* Disable runtime_blocking_connector by default, it's buggy and closes connections
that are waiting for a response.
m2ee-tools 0.5.11.1, 9 Nov 2015
* Fix Mendix 6 compatibility
m2ee-tools 0.5.11, 5 Jan 2015
* Add a munin graph of the total number of JVM threads
* Increase correctness of the munin JVM heap memory graph
* Add experimental graph of about the entire JVM process memory (i.e. also all
memory that is being used outside of the object heap).
* Move documentation from world.mendix.com to the m2ee-source
* Move the m2ee munin plugin into the m2ee source tree
* Make some error messages less cryptic
* Small fixes and cosmetics
m2ee-tools 0.5.10, 6 Aug 2014
* Warn about unused constant definitions when reloading config.
* Improve debug logging at start. Log the environment and command line which can
be copy/pasted to start the mendix runtime manually for debugging purposes
(without putting the process in the background).
* Add experimental command to show raw runtime cache statistics output.
* Small fixes and cosmetics
m2ee-tools 0.5.9, 14 Apr 2014
* Add yolo mode (-y, --yolo) that automatically answers questions (see NEWS).
* Add experimental munin plugin to graph the total amount of objects in the
runtime object cache.
* Fix crash because of output encoding issues when stdout is not connected to an
interactive terminal.
m2ee-tools 0.5.8.1, 05 Feb 2014
* revert: use utf-8 for stdout to fix m2ee about (and more)
m2ee-tools 0.5.8, 05 Feb 2014
* allow users to fill in database password on start
* add configuration option "javabin" to override the java binary used to run the app
* use utf-8 for stdout to fix m2ee about (and more)
m2ee-tools 0.5.7, 27 Nov 2013
* Add download_runtime command to download missing Mendix Runtime on demand
m2ee-tools 0.5.6, 29 oct 2013
* fix PL-PGSQL error when restoring a database backup
m2ee-tools 0.5.5, 10 jul 2013
* Mendix 5 document exporter bugfix
* Mendix 5 document exporter lib fix
* dumpdb cmd allows optional filename argument
m2ee-tools 0.5.4.1, 26 aug 2013
* Eliminate usage of with (python >= 2.6)
m2ee-tools 0.5.4, 23 aug 2013
* Munin: return default values on munin_config failure
m2ee-tools 0.5.3, 20 aug 2013
* Drop support for Mendix 5 versions < 5.0.0-beta7
* Increase JVM MaxPermSize to 128M in example config
* Increase JVM initial/max mem in example config
m2ee-tools 0.5.2, 17 jun 2013
* Fix crash when displaying license that does not explicitely contain the
field SeparateAnonymousUsers
* Fix crash when activating license
m2ee-tools 0.5.1, 11 Jun 2013
* Fix dictionary lookup on NoneType in jetty options
m2ee-tools 0.5, 10 Jun 2013
* Now API compatible with 2.5.0 <= Mendix <= 5.0.0-beta1
* Prettify output of show_license
* Print application model revision in about output (Mendix >= 4.4)
* Add extend_classpath option to extend the JVM class path used at application
startup. This option is immediately deprecated and not supported any more in
combination with Mendix 5.
* Add documentation about CACertificates, ClientCertificates,
ClientCertificatePasswords, WebServiceClientCertificates, EnableKeepAlive,
SessionTimeout, PersistentSessions runtime options and jetty
runtime_min_threads, runtime_max_threads, request_header_size and
response_header_size configuration options to full-documented-m2ee.yaml
* Code refactoring, creating a clean separation between the command line
interface and m2ee module.
* Add internal Mendix version number comparison helper class.
m2ee-tools 0.4.4, 12 Dec 2012
* Increase start timeout to 60 seconds
* Implement admin/runtime_listen_addresses settings (new in Mendix 4.3.0)
* Implement remote debugger API (new in Mendix 4.3.0)
* Shutdown the runtime entirely when choosing abort during startup, instead
of leaving it in a half started state.
* Eliminate simplejson dependency for python >= 2.6
* Warn user to restart after activating license when using a Mendix version
before 4.3.0
* Include extensive documentation about configuration settings in the
full-documented-m2ee.yaml example file. Also, remove all non-essential
settings from the default example configuration file.
* MyScheduledEvents configuration can be a pretty yaml list now
* Small fixes and error handling improvements
m2ee-tools 0.4.3, 30 oct 2012
* Drop support for python 2.4
* Simplify exception handling on unusable m2ee api.
* Re-introduce fix for incorrect httplib2 AttributeError
* More debug/trace logging about merge_runtime_configuration
* Fix: prevent losing MicroflowConstants at next (re)start
m2ee-tools 0.4.2, 15 oct 2012
* Fix incorrect unpack tab completion when filenames contain dashes
* Fix unpack tab completion anyway, it was broken since 0.4.0
* When specifying MicroflowConstants in the runtime section, put them back
into custom for 2.5.x to get allwards-compatibility for MF Constants
handling
* Create ~/.m2ee by default if not present, and if for any of the files to
be placed in there defaults are used.
* Remove non-essential options from example yaml configuration files.
m2ee-tools 0.4.1, 18 Sep 2012
* Fix bug introduced in 0.4.0 that prevents backwards-compatible loading of
MicroflowConstants from the custom section in yaml config.
m2ee-tools 0.4.0, 11 Sep 2012
* Move source code to github: https://github.com/mendix/m2ee-tools/
* Implement show_current_runtime_requests and interrupt_request to show and
terminate running requests. (>= 2.5.8, 3.1.0)
* Implement hybrid appcontainer support (allowing the appcontainer
to connect to xmpp) see commit message in git for details
* Code-refactoring to APIfy parts of the code, so we can create other programs
beside the current m2ee CLI variant to use functions. (appcontroller,
munin/nagios plugins)
* More code refactoring, small fixes and cosmetics
* 'pretty' print statistics output
* Implement show_all_thread_stack_traces (>= 3.2.0)
* Implement show_license_information and activate_license. (>= 3.0.0)
m2ee-tools 0.3.6.1, 19 Mar 2012
* m2ee-tools is python 2.4 compatible again (remove a conditional expression)
* Add missing autosubscribe option in file logging example config
* Use sys.exit() instead of exit()
m2ee-tools 0.3.6, 9 Feb 2012
* Fix crash when message field in critical logmessage is not present
m2ee-tools 0.3.5, 2 Jan 2012
* Fix: Remove leftover test code causing 'Caused by: bla'
* Fix: if running the Mendix Runtime from source using eclipse, dont try
to find where m2ee/runtime jars live
* Fix: also put model lib into classpath when running Mendix from source
m2ee-tools 0.3.4, 17 Oct 2011
* Fix MicroFlowConstants -> MicroflowConstants typo, which causes mf
constants not to be recognized if put in custom section in m2ee.yaml
Thanks to Jonathan van Alteren <jvalteren@flowfabric.com>
m2ee-tools 0.3.3, 7 Sep 2011
* Fix nagios output: don't put status information in performance data
section
* Now compatible with 2.5.0 < Mendix <= 3.0.0-rc1
* Fix missing send_mime_types functionality (mime types were being ignored
until now)
* Stop application startup when sending configuration causes error messages
* Add munin-config-cache, so munin_config will output last-known configuration,
while munin_values won't output values.
This prevents graphs from disappearing when an application is not running.
* Improve feedback when "pid alive, m2ee does not respond": more verbose
explanation; tell user to consider restarting the application process.
m2ee-tools 0.3.2, unreleased
* Fix string formatting issues
* get_logged_in_user_names is now who or w
m2ee-tools 0.3.1, 7 Jun 2011
* Fix string formatting error in restoredb error output
* instead of all to stderr, log everything below ERROR to to stdout,
log everything that's ERROR and more serious to stderr
m2ee-tools 0.3.0, 30 May 2011
* Add help text explaining available commands
* Add health check functionality
* Integrate munin and nagios plugin into m2ee scripts. Yay!
* Always use effective uid for os.path.expanduser (fixes issues with
running as munin-plugin)
* Don't read deprecated m2eerc-file if yaml version is present
* Remove conditional expressions in command line argument processing
because they make python 2.4 cry
* Update Mendix copyright and license notices, cleanup third-party licenses
* Implement sending monitoring_pass at startup
* Cleanup pidfile handling and detection of running / not running
* Implement setting output verbosity at startup using -v/-q
* Use python logging module for logging instead of print statements
* Refactored startup code
* Add option to save ddl commands besides view/execute
* Fix minute/month formatting typo in filenames for ddl/pg_dump output
* Search for /etc/m2ee/m2ee.yaml and ~/.m2ee/m2ee.yaml by default,
m2eerc-variants are now deprecated
* Fallback to using sqlite3 binary via subprocess module when import sqlite3
fails (e.g. when running using python 2.4)
* Add warning about using experimental profiling code in production
* Add configuration file examples
* Allow mxjar_repo to be a list of multiple locations
m2ee-tools 0.2.3, 29 Mar 2011
* Prevent m2ee from hanging when the xas is unresponsive
* Add preserve_environment and custom_environment
* Prevent m2ee from hanging when the xas is unresponsive
* Immediately write pid of jvm when available
m2ee-tools 0.2.2, 17 Feb 2011
* Make psql/pg_dump/pg_restore to be used configurable
* Add psql convenience command
* Fix crash when trying to start before unpacking anything
* Quick implementation of loglevel get/set FEATURE~~1111
m2ee-tools 0.2.1, 30 Nov 2010
* Call tail with -F instead of -f at log
* Add agile request-profiler client
* Add post-unpack-hook option
* Let java itself search for .jar files in lib directories
* Move java classpath after javaopts on command line
* Changes for Mendix 2.5.0:
- Don't automatically ask for creation of admin user (check was broken
anyway). Calling create_admin_user manually is still possible.
- Implement interactive update_admin_user action to allow reset of user
account password, even when it's not 1.
- Add get_logged_in_user_names and simple about action
- Print (a maximum of 10) logged in users when executing status action
- Include lib/userlib/* (jars) in the classpath as well
* fix allow_destroy_db
m2ee-tools 0.1.0, 11 May 2010
* Initial release