-
Notifications
You must be signed in to change notification settings - Fork 16
/
changelog.txt
215 lines (177 loc) · 9.61 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
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
Mockup loader changelog
=======================
Legend
------
* : fixed
! : changed
+ : added
- : removed
v2.2.3, 2024-02-04
------------------
- [BREAKING] move constants to zif_mockup_loader and delete zif_mockup_loader_constants interface - #34
* better exception structure and informative messages for stubbing
* support initial sift_const values
+ several params to one field - #48
+ `load` - `into` method pair - a more readable way ot loading data, see the docs #52
v2.2.2, 2023-07-29
------------------
+ connect support specifying output param `connect(x(export_param)->page...)` - #46
+ connect supports several output param (see docs) - #46
v2.2.1, 2023-07-25
------------------
+ main class supports `cd` to "change dir" and support "./..." paths, addition to #36
+ `cd` and `set_params` return self
+ new `to` method to bind container for the next `load_data`
+ add a possibility to connect to return TRUE on existing record `connect(x->page(?) [condition])` #45
v2.2.0, 2023-02-12
------------------
! [BREAKING] version constant moved to zif_mockup_loader
! [BREAKING] types and constants moved from utils class to zif_mockup_loader #30
! [BREAKING] types and constants moved from stub class to zif_mockup_loader
! [BREAKING] switch default file encoding to UTF8 (from UTF16) #31
+ allow flat key-value structures in "where" #28
+ [MAJOR] multi filtering in stub, allows specifying multiple filter params in connect e.g. 'my_method->example/sflight [connid=i_connid, fldate=i_fldate]' #27
+ param to ignore conv exits
+ stub set_default_mock to address mocks with `./` e.g. `connect(x->./page)` #36
+ extend connect syntax to support OR (|) #41
* method override fix
* better version check
v2.1.10, 2021-04-22
-------------------
+ add i_rename_fields param to load_data. Passes it through into the same param in text2tab and allows renaming fields before transferring to the target structure
v2.1.9, 2020-10-25
------------------
+ zif_mockup_loader_stub_control~set_proxy_target to set proxy target dynamically
+ stub->connect_method able to connect deep structures (i_deep = abap_true)
+ stub->connect able to connect deep structures ('method_name -> :deep: mock_path')
+ stub->connect able to filter data with a constant value ('method_name -> mock_path [ key_field = "1234" ]')
+ zif_mockup_loader~is_redirected to find out if the source was redirected by ZMOCKUP_LOADER_SWSRC
+ improvements in ZMOCKUP_LOADER_SWSRC - added toolbar commands to select variants and apply them at the same time
- removed ZMOCKUP_LOADER_SWSRC p_mime option (not used and needs refactoring anyway - not deleted but hidden)
! improvements in CI, the code passes latest abaplint
v2.1.8, 2020-03-29
------------------
* fixed get_control_for_method issue with lowercased methods - now always uppercased
* moved set_params method to interface
! BREAKING: move load_and_store method from zcl_mockup_loader class to zcl_mockup_loader_store
! BREAKING: ZIP file path search is case IN-sensitive now
v2.1.7, 2020-02-23
------------------
- BREAKING: delete methods load_raw_x and load_raw
- BREAKING: load_data i_strict = false by default
v2.1.6, 2020-01-21
------------------
+ connect stub with string descriptors
v2.1.5, 2019-12-24
------------------
+ control interface ZIF_MOCKUP_LOADER_STUB_CONTROL->get_call_count()
+ const_value stub feature - allows to return fixed value always
v2.1.4, 2019-11-23
------------------
+ control interface ZIF_MOCKUP_LOADER_STUB_CONTROL, allowing to enable/disable stub methods temporarily
v2.1.3, 2019-11-03
------------------
! load_raw_x deprecated, use load_blob instead
+ support for stub to load corresponding field of returning table/structure
+ support for stub to filter by range parameter and not only simple value
v2.1.2, 2019-11-03
------------------
+ support for loading corresponding fields (i_corresponding = abap_true)
+ support for returning value in stub (i_field_only)
v2.1.1, 2019-11-02
------------------
+ support for structured i_sift_param in stub, e.g. 'is_params-connid'
v2.1.0, 2019-08-25
------------------
+ deep structure loading - major feature, see readme and reference
! source redirection logic change - now redirects to file only if the same MIME is specified in ZMOCKUP_LOADER_SMIME. To make possible redirect specific package only
! move util helpers to public
! internal refactorings
v2.0.5, 2019-04-10
------------------
+ Added ZMOCKUP_LOADER=>ASSERT_VERSION method
+ Added ZMOCKUP_LOADER=>LOAD_RAW_X method
v2.0.3, 2019-03-26
------------------
! Removed dependency from W3MIPOLLER (at ZMOCKUP_LOADER_SWSRC)
+ Added ZMOCKUP_LOADER_SWSRC check for production env (block uploads)
v2.0.2, 2019-01-25
------------------
! version moved to zif_mockup_loader_constants
+ added `check_version_fits` method
v2.0.1, 2019-01-18
------------------
+ 'create_from_sys_settings' method, takes default paras from `tvarvc` table (maintained with tr. `stvarv`)
v2.0.0-beta3, 2018-09-15
------------------
+ 'proxy' feature for stubber: allows to forward calls through to another object
v2.0.0-beta2, 2018-08-31
------------------
+ BUILD_FILTER: accepts tt_filter and passes it through, allows specifying single value via i_single_value
+ LOAD_DATA accepts data references as container (exporting value is reused, dref must be created)
+ new 'stub' feature: connects global interface and mockup loader via dynamically generated interface implementation. Wow !
v2.0.0-beta, 2018-08-28
------------------
+ support LF line break
+ UX: ZMOCKUP_LOADER_SWSRC can upload files with a button, but requires installed abap_w3mi_poller (https://github.com/sbcgua/abap_w3mi_poller.git)
! mockup_loader split into several classes: ZCL_MOCKUP_LOADER itself, ZCL_MOCKUP_LOADER_STORE - store functionality, ZCL_MOCKUP_LOADER_UTILS - filtering utils
! parsing logic is separated into independent package - abap_data_parser - which is now a prerequisite. Sorry for that. This is for good :)
! exception is now also global - ZCX_MOCKUP_LOADER_ERROR
! ZCL_MOCKUP_LOADER is not singleton anymore and now instantiated with CREATE method - no need as the store functionality moved (ZCL_MOCKUP_LOADER_STORE remains singleton)
! VBA script removed. Instead meet mockup compiler ! Either in native ABAP implementation (https://github.com/sbcgua/mockup_compiler) or in JS (https://github.com/sbcgua/mockup-compiler-js). The ABAP implementation requires abap2xlsx package installed (https://github.com/ivanfemia/abap2xlsx)
v1.1.0, 2018-08-12
------------------
+ support double quotes
+ better date parsing, see I_DATE_FORMAT in reference
v1.0.0, 2017-04-08
------------------
This is more a technical release. It uses stable code of v0.2.1 but the whole repo is migrated from SAPLink to abapGit which is more convenient and modern exchange solution.
Since the code proved to be stable I decided to call it v1.0.0 finally :)
v0.2.1, 2017-04-08
------------------
! No code changes. Just to fix the version before migrating to abapGit from SAPLink nuggets.
v0.2.0, 2016-07-06
------------------
- IMPORTANT ! ZCX_MOCKUP_LOADER_ERROR removed - replaced with local class based on CX_STATIC_CHECK. Cleaner code, less to install.
+ Added gcZipWaitTime constant to PrepareZip.vbs. Addressing zip issues on slower machines.
* Renamed PrepareZip.vbs to excel2txt.vbs
* ZMOCKUP_LOADER_ZAKE now creates refers ZAKE classes dynamically so that it can be compiled in systems where ZAKE is not installed
v0.1.6, 2016-03-11
------------------
+ Text file encoding is not hardcoded UTF16 anymore but can be set in CLASS_SET_PARAMS. UTF16 is still the default. Issue #3
+ More convenient forms of I_WHERE for LOAD_DATA. See Reference.md. Issue #4.
+ Added I_WHERE logic to _RETRIEVE.
! Refactored _RETRIEVE logic.
* Improvements in unit tests - increased coverage to nearly 100%.
v0.1.5, 2016-02-20
------------------
* Minor fixes
+ New filter feature for LOAD_DATA. Now you can pass I_WHERE parameter - a structure of ranges - to filter the output. One of purposes is extracting expected values in a multi-case test (when a table contains answers for several cases). See LOAD_DATA section in REFERENCE.md for more details and also how-to at wiki pages.
v0.1.4, 2016-02-07
------------------
! Nugget moved to 'build' dir, as well as separate slinkees
! Changed amount parsing code @PARSE_FIELD (inspired by Uweku's comment)
! Changed BKPF/BSET tables in unit test to SCARR/SFLIGHT for non-ERP installations (thanks to comment of Uweku)
+ Added ZMOCKUP_LOADER_ZAKE program to automatically build the package (thanks to comment of Uweku)
+ Added handling of raw data type (X) (thanks to comment of Uweku)
+ Added CLASS_SET_PARAMS method to set amount separators
v0.1.3, 2015-12-23
------------------
! Swicthed priority for SET/GET parameters to be higher than CLASS_SET_SOURCE()
! Minor improvements in error messages
+ Added unit test for source redirection behaviour
+ Added transaction ZMOCKUP_LOADER_SWSRC or the ZMOCKUP_LOADER_SWITCH_SOURCE program
+ Added button Get SU3 value to read file path from user saved parameters
PrepareZip.vbs:
! Improved console output, statistics and formatting
+ Added -bd parameter to choose build directory (for uncompressed data) other than current
+ Added color support. Requires ANSICON installed (https://github.com/adoxa/ansicon)
+ Added -i parameter to explicitly include a directory to processed output data structure
v0.1.2, 2015-12-23
------------------
+ Added SET/GET parameters ZMOCKUP_LOADER_STYPE and ZMOCKUP_LOADER_SPATH for temporary load source re-direction
+ Added program ZMOCKUP_LOADER_SWITCH_SOURCE to switch the parameters in a convenient way (see README.md)
v0.1.1, 2015-12-06
------------------
! change exception message from 0M(500) to SY(499)
+ improvement of VBS script - added feature to explicitly include directory to zip