# Changelog ## 2025-01-07 - 1.4.3 - fix(test) Corrected index value in test for fetching specific company data - Updated the index from 8 to 7 for the germanParsedRegistration fetch in test ## 2025-01-07 - 1.4.2 - fix(core) Fix concurrency and download handling in HandelsRegister class and adjust test cases - Improved the clickFindButton function to include an argument for results limit. - Enhanced the downloadFile function to rename and ensure files are correctly handled. - Updated searchCompany method to allow specifying a limit on the number of search results. - Adjusted test cases to select specific test data indices and output test files to a dedicated directory. ## 2025-01-04 - 1.4.1 - fix(core) Fix issues with JSONL data processing and improve error handling in business record validation - Fixed JSONL data processing by adding concurrent processing for each JSON line to enhance performance. - Added validation logic in BusinessRecord class to ensure that the mandatory fields are checked. - Adjusted environment variable loading in OpenData class to ensure correct database initialization. - Included missing dependencies and exports in the project files to ensure proper functionality. ## 2025-01-04 - 1.4.0 - feat(HandelsRegister) Add file download functionality to HandelsRegister - Implemented file download feature in the HandelsRegister class. - Configured pages in Puppeteer to allow downloads and set download paths. - Parsed German registration information with more robust error handling. - Added specific methods for downloading and handling 'SI' and 'AD' files. ## 2025-01-03 - 1.3.1 - fix(HandelsRegister) Refined HandelsRegister functionality for better error handling and response capture. - Improved parsing logic in parseGermanRegistration function. - Enhanced navigateToPage and clickFindButton methods with error messages for clarity. - Implemented a new responseListener to handle and log HTTP responses correctly. ## 2025-01-03 - 1.3.0 - feat(core) Enhanced data handling capabilities and improved company search functionalities. - Updated business record handling to support more registration types. - Improved search capabilities for fetching company data with refined registration type matching. - Added robust logging for JSONL data processing with early exit on successful parse. - Reorganized test cases to include specific company data retrieval. ## 2025-01-02 - 1.2.1 - fix(BusinessRecord) Add missing field registrationType to BusinessRecord data - Introduced the 'registrationType' field to the BusinessRecord data schema with possible values 'HRA' or 'HRB'. ## 2025-01-02 - 1.2.0 - feat(core) Integrate Handelsregister search for company data retrieval - Added support for searching company data via Handelsregister. - Replaced GermanBusinessData functionality with JsonlDataProcessor. - Included smartbrowser dependency for handling web requests to Handelsregister. ## 2025-01-01 - 1.1.5 - fix(GermanBusinessData) Add console log for total records processed at the end of the stream. - Ensure that the number of records processed is logged at the end of data stream processing. ## 2024-12-31 - 1.1.4 - fix(documentation) Update description and keywords in package.json - Corrected the package description to reflect the focus on managing, accessing, and updating open data with MongoDB integration. - Expanded the keywords in the package metadata to include data integration and processing terms. - Improved README.md with more extensive setup, usage, and introduction of the library's functionalities. ## 2024-12-31 - 1.1.3 - fix(core) Added missing license file for project completeness. - Introduced a LICENSE file to the project, ensuring clarity on software usage permissions. ## 2024-12-31 - 1.1.2 - fix(GermanBusinessData) Ensure unique ID generation for BusinessRecord - Added generation of a new ID for each BusinessRecord in GermanBusinessData. - Ensures each business record has a unique identifier. ## 2024-12-31 - 1.1.1 - fix(dependencies) Update dependencies and devDependencies to newer versions. - @git.zone/tsbuild from ^2.1.25 to ^2.2.0 - @git.zone/tsbundle from ^2.0.5 to ^2.1.0 - @git.zone/tsrun from ^1.2.46 to ^1.3.3 - @git.zone/tstest from ^1.0.84 to ^1.0.90 - @push.rocks/tapbundle from ^5.0.15 to ^5.5.4 - @types/node from ^20.9.0 to ^22.10.2 - @push.rocks/qenv from ^6.0.4 to ^6.1.0 - @push.rocks/smartarchive from ^4.0.19 to ^4.0.39 - @push.rocks/smartdata from ^5.0.33 to ^5.2.10 - @push.rocks/smartfile from ^11.0.0 to ^11.0.23 - @push.rocks/smartpath from ^5.0.11 to ^5.0.18 - @push.rocks/smartpromise from ^4.0.3 to ^4.0.4 - @push.rocks/smartrequest from ^2.0.21 to ^2.0.23 - @push.rocks/smartstream from ^3.0.30 to ^3.2.5 ## 2024-12-31 - 1.1.0 - feat(core) Enhanced data handling and retrieval features, improved usage documentation - Updated package description and added project keywords in package.json. - Extended readme with detailed usage examples and class structures. - Added getBusinessRecordByName function for dynamic business record retrieval. ## 2024-07-02 - 1.0.3 - fix(core) No new changes detected. Preparing for patch release. ## 2023-11-14 - 1.0.1 to 1.0.2 - General Updates Minor version updates and fixes. - fix(core): update