- Add
MockContentTypeEnumparameter toApiManagerso mock can return Plain Text response correctly - Parse String or Json according to the new parameter in mock
- Send correct content-type header according to the new parameter in mock
- Update Dio version to 5.8.0+1
- Reduce delay on
MockReplyParamsto 500 milliseconds
- Add
FileAcessModeparameter toApiManagerdownload methods
- Add logic to order the list of interceptors to put the logger interceptor as the last item in the list.
- adjustment in data serialization in interceptor log
- add function to download file
- update version dio + http_mock_adapter
- Updated logging behavior to attempt serialization of request data using
JsonEncoder. If serialization fails (e.g., when handlingFormData), an error message is logged instead of causing a crash. This ensures more robust logging for different types of request data.
- Change logic to await the load mock asset in mock requests
- Refactor to contain only the essentials;
- Make ApiManager injectable into datasources;
- Eliminate any business logic from the library;
- Extend Dio to provide base functions and parameters;
- Allow mocking Response instead of just the data attribute;
- Works with mocks in dynamic directories;
- Adds logic for caching request data.
- Add a parameter mockDelayInSeconds to Mock Requests;
- DIO dependency updated to 5.0.3;
- Fix: remove update dio;
- Fix: remove http config export;
- DIO dependency update;
- Added adding field cacheExpiresIn
- DIO dependency update;
- Adding personality error return in mock.
- Fix: Now when a request is made a notify is send to all listeners
- Fix: Now when a request is made a notification is sent to all listeners.
- BREAKING CHANGE: randomError is now part of Endpoint class.
- Fix default error message not sent to InternalError
- Added randomError parameter on requestApi for mock environment;
- Fix typos
- Update Random Mock Error;
- Delete CheckConnectionInterceptor;
- Update ConnectionChecker;
- Addition export SSL Pinning;
- Addition of parameters received by the error;
- Addition dynamic mock mapping;
- Addition the optional random MOCK;
- Apply flutter format;
- Add documentation to package;
- Leaving the public repository for contributions;
- Update links to documentation;
- Removing unnecessary imports;
- Rename init Config;
- Addition searches for files in the
packagesfolder; - Bug fix in mock strategy;
- Update links to documentation;
- Create in Retry policy;
- Adjustment in Retry policy;
- Componentization of the network layer;
- Configuration of the base url;
- Creation of interceptors;
- Adjustments for urlBase binding;
- Package creation;
- Creation of functions for configurations;
- Addition of interface for SSLPinning injection;
- Addition mock calls;
- Simplify call with DIO;