-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathCHANGELOG.txt
161 lines (142 loc) · 9.43 KB
/
CHANGELOG.txt
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
* Fixed the credits in CHANGELOG for who submitted what that appeared
in version 4.0.4. (And tweaked a credit or two elsewhere too.)
2020-08-24 (24 AUG 2020) VERSION 4.1.2
* Added tikjson to the executables list in mtik.gemspec
(Yes, I totally forgot to do this for 4.1.1. Oops!)
2020-08-24 (24 AUG 2020) VERSION 4.1.1
* Version bump to update copyright notices and author's URL
* Moved the tikjson script to the bin subdirectory and updated
it to include CLI options like tikcommand and added a
--pretty CLI option.
* Updated README to use HTTPS URLs where releant AND fixed the
examples section to correctly note that example scripts now
reside in the bin subdirectory.
* Tweaked varous bin subdirectory scripts to add a --verbose
CLI option (except for tikcli) and matching MTIK_VERBOSE
environment variable.
2020-08-23 (23 AUG 2020) VERSION 4.1.0 Zdenek Crha (github user zdenek-crha)
* Minor version bump due to changing argument passing for the call to
MTik.interactive_client()
* Updated tikcli, tikcommand, and tikfetch commands to add options for
enabling SSL and/or to use unencrypted plaintext logins (newer API
login style). Also one can set environment variables MTIK_SSL to
specify SSL use, or MTIK_UNENCRYPTED_PLAINTEXT to enable unencrypted
plaintext logins if SSL is NOT used for compatibility with cleartext
API usage on RouterOS versions 6.43+
* THANKS to Zdenek Crha (zdenek-crha on github) for pointing out that
the binary commands were lacking proper argument passing to allow
for SSL and/or unencrypted plaintext options, and for suggesting the
use of environment variables as an alterative to CLI options for
enabling such.
2020-08-22 (22 AUG 2020) VERSION 4.0.5
* This is a cosmetic version bump for the purpose of updating the gem for wider
availability via rubygems in addition to directly from github prior to some
coming feature updates and fixes for newer versions of RouterOS
2019-07-26 (26 JUL 2020) VERSION 4.0.4 Filip Zachar (github user tulak)
Adam Gardner (github user philomory)
Adam Kubica (github user xcdr)
Jiacheng (github user krhougs)
* Merged Filip Zachar's adding of SSL API support and also a subsequent
fix to retry when SSLErrorWaitReadable occurs with @ssl_sock.read_nonblock
* Merged Adam Gardner's pull request that adds support for RouterOS versions
greather than 6.43. The post-6.43 API sends the username and password
in the initial /login sentence. Adam's implementation by default uses
the new /login style if connecting over SSL, or if the user requests
it explicitly otherwise using the :unencrypted_plaintext option, which
indicates the user is well aware of the danger of sending credentials
over the wire in the clear.
* Merged Adam Kubica's pull request that creates a new mtik.gemspec file
using information taken originally from the Rakefile and bumps the version
up to 4.0.4.
* Jiacheng (github user krhougs) also submitted a pull request similar to
Adam Kubica's creating a gemspec file and bumping the version number.
2014-02-14 (14 FEB 2014) VERSION 4.0.3 Aaron D. Gifford (https://aarongifford.com)
* Update to fetch() utility, along with some very minor some cosmetic changes
2013-06-06 (06 JUN 2013) VERSION 4.0.2 Aaron D. Gifford (https://aarongifford.com)
Bart Braem (github user aquila)
* Merged Bart Braem's implementation of timeouts and bumped up the version. Thanks, Bart!
* Updated Rakefile to remove a bit of obsolescence
2012-02-09 (09 FEB 2012) VERSION 4.0.1 Aaron D. Gifford (https://aarongifford.com)
* Added os_version to connections. Upon successful connect and login, the RouterOS
version is fetched and stored. This will allow future updates to better support
some commands that differ (like fetch) depending on which RouterOS version is
installed on the device.
2011-03-25 (25 MAR 2011) VERSION 4.0.0 Aaron D. Gifford (https://aarongifford.com)
* Per user suggestion, added a new optional cancel parameter to the MTik#command()
method that will auto-cancel the supplied command after receiving the specified
number of '!re' reply sentences. This is usful for executing a command that otherwise
will not terminate, but will keep sending output perpetually if not canceled.
* Spelling changes: :cancelled updated to :canceled This means anyone who checked the
state of a request using :cancelled or 'cancelled' will need to update their code to
check for :canceled instead.
* Due to changing of spelling and adding a new parameter, I've bumped the major version
number to 4.x in case any users code might break. This in spite of the fact that
there are no major new features added.
* I found 2-3 tiny bugs left over from the past change of request state from string
to symbol and fixed those, updated error messages to reflect state as a symbol,
eliminated a few redundant key?() calls, and fixed a replycounter initialization
typo (had set it to 1 instead of 0).
2011-01-11 (11 JAN 2011) VERSION 3.1.2 Aaron D. Gifford (https://aarongifford.com)
* Added source file encoding comments and updated the copyright notices
* Fixed a tiny bug in lib/mtik/connection.rb
* Changed MTik::Request@state member in lib/mtik/request.rb to Symbol instead of String
* Moved tikfetch.rb, tikcli.rb, and tikcommand.rb from examples/ to bin/ and removed
the .rb suffix -- left tikjson.rb behind in examples/
* Renamed a few variables that, with warnings enabled, Ruby complained were overlapping
or hiding outer variables of the same name to avoid the warning.
2010-12-30 (30 DEC 2011) VERSION 3.1.1 Aaron D. Gifford (https://aarongifford.com)
* Changed the tikfetch.rb utility so it no longer requires a destination filename
by default--it will use the supplied URL's final path element as a filename. Also
updated the stats output a bit.
2010-04-24 (24 APR 2010) VERSION 3.1.0 Aaron D. Gifford (https://aarongifford.com)
* Added find_sentences() method to MTik::Reply -- just sugar to Array.select()
* Changed MTik::Connection.fetch() method to add an optional timeout parameter
which should not affect the API and should be backward compatible. By default,
there is no inactivity timeout for downloads. But if you set the timeout parameter
to a positive number, when a reply arrives and no progress/activity has been
made for timeout seconds, the command will be canceled. This should help with
stalled downloads (i.e. the remote side has stopped sending but the TCP connection
remains open/active).
* Also add the MTik::Request object as a parameter to the MTik::Connection.fetch()
method's callback so that a script could use the request object to cancel the
command if needed. Due to this change, I decided to bump the version to 3.1.0.
* Fixed RDoc formatting in several files, and added an RDocTask to the Rakefile
2010-04-23 (23 APR 2010) VERSION 3.0.5 Aaron D. Gifford (https://aarongifford.com)
* Double bug-fix (typo fix and logic fix) to request.rb thanks to Allan Eising and
Søren Daugaard. Thank you both for the patch!
* Added a brief sanity-check in request.rb to help spotlight logic errors.
2010-04-09 (09 APR 2010) VERSION 3.0.4 Aaron D. Gifford (https://aarongifford.com)
* Bug fix to lib/mtik.rb thanks to Allan Eising to the command validation regular
expression to permit the '-' character in a command. Thanks!
2010-03-11 (11 MAR 2010) VERSION 3.0.3 Aaron D. Gifford (https://aarongifford.com)
* Bug fix to lib/mtik.rb command() method so when executing multiple commands
response array order matches command array order.
* Cosmetic change for hex encoding with a little simplification, and one very small
readability change in lib/mtik/connection.rb
2010-02-05 (05 FEB 2010) VERSION 3.0.2 Aaron D. Gifford (https://aarongifford.com)
* Typo fixes to example tikfetch.rb
* Multi-command functionality added to interactive client and to tikcommand.rb example
* Removed kludge path stuff for author's broken FreeBSD Ruby 1.9.1 gem system
* Removed lame JSON-ifier from example and switched to require 'json' instead
2010-01-19 (19 JAN 2010) VERSION 3.0.1 Aaron D. Gifford (https://aarongifford.com/)
* Added support for '/tool/fetch' 'requesting' state
* Added auto-cancel of finished '/tool/fetch' command in MTik#command()
* Added MTik::Request#cancel() method
* Added MTik::Request#state() attr_reader (and new @state object property to replace
the @completed boolean property)
* MTik::Request objects now associate with the appropriate MTik::Connection object
upon MTik::Connection transmitting the request to a device (which facilities)
the MTik::Request@cancel() method
* Removed gem root directory mtik.rb file that was acting as a kludge for the author's
messed-up FreeBSD Ruby 1.9 installation
* Renamed examples with a 'tik' prefix
2010-01-15 (15 JAN 2010) VERSION 3.0.0 Aaron D. Gifford (https://aarongifford.com/)
* Bumped the version to 3.0.0 due to modularization and gemification changes
that break any software using the older Ruby API classes.
* Split out (as separate files) and added a few more examples:
cli.rb
command.rb
json.rb
fetch.rb
* Added VERSION.txt, CHANGELOG.txt, README.txt, LICENSE.txt, and *.gemspec files, moved
the example files into the bin subdirectory