v0.4.0-alpha
RhonalVelasco
released this
04 Nov 19:11
·
67 commits
to main
since this release
v0.4.0-alpha (#21) * Refactor/wa 1250 element collector factory null elements (#1) Add a default method to every query by default in ElementCollectorFactory. * OptionCollectorFactory is able to handle null elements (#2) * refactor - Implement logic for adding default methods to queries. * refactor - Return an empty array in getOptions method for Missing strategy to handle Options. * refactor - Evaluate null objects. * bugfix: Evaluate single objects in Default class for query chain. * Add logger functionality. (#3) * refactor - Add support for display a message. * feat - Add default logger. * feat - Expose logger to Browser context. * feat - Add setLogger method. * feat - Add Pino class. * feat - Add Pino class methods template. * refactor - Remove log method. * feat - Add unit test for Css errors. * refactor - Fix import statements. * feat - Add validation for constructor parameters. * feat - Add Property errors unit tests. * feat - Add Context validation. * feat - Add validation for constructor parameters. * feat - Add Single error unit tests. * feat - Add Single validation for constructor parameters. * feat - Add Xpath error unit tests. * feat - Add Xpath validation for Context. * feat - Add validation for constructor parameters. * feat - Add All error unit tests. * feat - Add Context validation. * feat - Add validation for constructor parameters. * feat - Add Default error unit tests. * feat - Add Context validation. * feat - Add Require error unit tests. * feat - Add Context validation. * feat - Add Merge error unit tests. * feat - Add Context and Constructor parameters type validation. * refactor - Fix unit test. * Add errorhandling to postProcessor execution in Collection class. * feat - Initialize pino. * refactor - Remove level methods. * refactor - Change parameter name. * feat - Add Logger class. * feat - Add Logger implementation and testing. * refactor - Use Logger. * feat - Add logging to All. * feat - Add logging to Default, * feat - Add logging to Merge * feat - Add logging to Property * feat - Add logging to Require * feat - Add logging to Single * feat - Add logging to Xpath * feat - Add warns loggig when executing alternatives. * refactor - Rename unit test names. * feat - Add JSdoc comments. * feat - Add MonitorManager class. * refactor - Move Sentry and Pino to Monitoring folder * feat - Add MonitorManager method template. * feat - Add JSdoc comments. * feat - Add subscribe implementation. * feat: Add MonitorManager implementation. * refactor - Subscribe Pino and Sentry to the MonitorManager. * refactor - Register monitoring tools on MonitorManager. * refactor - Use MonitorManager to use the exposed function. * refactor - Use logger object. * feat - Add log method. * refactor - Add optional chaining for Sentry. * feat - Add JSdoc. * feat - Add JSdoc blocks to new method and property. * refactor - Add data type to report property JSdoc comment. * feat - Add JSdoc comments. * feat - Add clear method. * Add Pre selector for query chains. (#4) * feat - Add Error and parameters tests. * feat - Add implementation test. * feat - Add proxy functions. * feat - Add file. * feat - Add Pre implementation. * refactor - Comment error send to Sentry * Add Post selector for Query chain (#5) * feat - Add error and parameters tests. * feat - Add implementation test. * feat - Add Post implementation. * refactor - Fix test result assertion. * Add JSdoc blocks to Pre and Post selectors (#6) * feat - Add JSdoc block for validateParameters. * refactor - Move JSdoc block for validateParameters in Selector. * feat - Add JSdoc block. * feat - Add JSdoc block. * refactor - Enable Selectors proxy functions. * Query Interpreter Handles ::Element (#7) * feat - Add unit test for ::element * refactor - Interpret handles ::element * Query Interpreter Handles ::Document (#8) * refactor - Fix document to ::document. * refactor - Fix document to ::document. * refactor - Fix document to ::document. * refactor - Fix document to ::document. * refactor - Change interpreter implementation to handle ::document * refactor - Change interpreter implementation to handle ::document * refactor - Change interpreter implementation to handle ::document * Query chain has single as default. (#9) * feat - Add unit tests for Single as default. * refactor - Add Single as default is query chain. * refactor - Fix traversing function of the query chain. * refactor - Improve array identification. * Add Init Selector for Query chains. (#10) * feat - Add Error unit tests. * feat - Add Init unit test for constructor initialization. * feat - Add Init implementation as Selector * refactor - Add construct handler for Proxy object. * feat - Add error for arguments. * feat - Add init as proxy function in the namespace * refactor - Remove extra unit tests. * refactor - Change function name and parameters name for a better code documentation. * feat - Add unit test for faulty function. * refactor - Add try/catch blocks. * refactor - Remove .only statements. * Add Helper Classes. * WA-1276: feat - Move Pagination function to helper library. * WA-1276: refactor - Change variable names and documentation. * WA-1277: feat - Add InfiniteScroll class file. * WA-1277: feat - Add implementation. * WA-1277: refactor - Change variable name for button element. * WA-1277: refactor - Use Puppeteer Click through a proxy function. * WA-1276: refactor - Use Puppeteer Click through a proxy function. * feat - Expose puppeteer click to the browser. * refactor - import all browser classes. * WA-1277: bugfix - Add static method. * WA-1276: refactor - Use optional chaining for click method execution. * Use collector proxy function and ::item (#12) * WA-1280: refactor - Rename collect to collector proxy function. * fix: Add missing all() method on queries. * WA-1279: refactor - Rename ::element to ::item. * Interpreter handles nested properties (#13) * feat - Add unit tests. * WA-1278: refactor - Interpret handles nested properties. * WA-1278: refactor - Remove only method for unit tests. * refactor - Rename variables. * Hotfix/interpreter merge collision (#14) * refactor - Add double + to avoid collisions. * refactor - Add double + to unit test and strategies. * Refactor Functionalities (#15) * refactor - remove merge interpreter strategy implementation. * refactor - remove merge interpreter strategy unit tests. * WA-1287: refactor - Remove registration of merge interpreter. * WA-1287: refactor - Remove merge strategy strings from unit tests. * WA-1283: refactor - Add delay to PuppeteerClick. * WA-1283: refactor - Change default delay time. * WA-1281: feat - Add proxy function for load by pagination and lazyLoad. * WA-1281: refactor - Rename run to execute method. * WA-1281: bugfix - async/await on load object. * WA-1281: refactor - Change name for LazyLoad Helper class. * Wa-1281: bugfix: Async function. * feat - Add ClickAndWait function. * Puppeteer Page object exposed in Browser context (#16) * feat - Add exposePage method. * feat - Add page proxy object. * elements and options part of query chains (#17) * feat - Add Elements class template. * feat - Add Options class template. * feat - Add Iterate class template. * feat - Add Elements execution implementation. * refactor - Use SelectorDirectory to expose Element functionality. * refactor - Use definition as parameter. * feat - Add Options execution implementation. * refactor - Add ElementCollectorProxy class. * feat - Export new proxy. * refactor - Remove proxy approach. * refactor - Add iterate proxy implementation. * Add options proxy selector implementation. * refactor - Add Select implementation. * Improve JSdoc blocks (#18) * feat - Add license to Collection Processors. * feat - Add license. * feat - Add license. * refactor - Improve JSDoc comments and TODO. * refactor - Improve JSDoc comments and TODO. * refactor - Improve JSDoc comments and TODO. * Default loggers configuration by environment (#19) * refactor - Add default logger depending on the environment where the script is being executed. * refactor - CaptureExceptions are being handled by Sentry class. * Add User Guide documentation (#20) * refactor - ReadME * feat - Add API reference. * feat - Add user guide documentation.