PackageTrack
Sign in Get early access

aws_request

Easily create, sign, and send API requests to AWS services without the hassle of implementing Signature Version 4.

2.1.0 6.3K downloads/mo #3525 most downloaded on pub.dev Zsmerritt/Flutter_AWS_Request

What this package is like to depend on

Last release 5 months ago

23 Mar 2026

Release timing varies

gaps range from 2 weeks to 13 months

Nearly every release is documented

notes for 27 of 28 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

28 releases · first in 2021

2 releases in the last 12 months

see the full history below

Release timeline

28 releases · Feb 2021 to Mar 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 28
  1. 2.1.0 23 Mar 2026
    Release notes

    Changes:

    • SigV4 correctness: Canonical query string matches the wire request — parameters sorted by name then value, encoding aligned with how the request Uri is built (avoids signing/query mismatches from ad hoc encoding)
    • SigV4 correctness: Region and service names are lowercased in credential scope and in signing-key derivation (fixes invalid signatures when callers pass mixed-case region or service)
    • New request options on AwsRequest.send / staticSend and MockAwsRequest: queryStringPairs for duplicate query parameter names (not expressible with Map); hashedPayloadIsUnsigned for S3-style UNSIGNED-PAYLOAD; useNonS3DoubleEncodedCanonicalPath for non-S3 path double-encoding rules
    • signedHeaders entries are resolved case-insensitively against merged request headers
    • Signing uses the same normalized canonical path as the outbound Uri (url.path)
    • AwsRequestException.toString() includes stackTrace
    • AwsHttpRequest.send rejects empty awsAccessKey / awsSecretKey
    • Clearer error when mockRequest is true but mockFunction is null
    • README: STS / temporary credentials (X-Amz-Security-Token and signing it); retries and HTTP client lifecycle; duplicate query keys with Map; corrected JSON body examples
    • API docs updated for mutable credential fields, default signed headers, and the new options
    • Stricter analysis_options.yaml (extends package:lints/recommended.yaml)
    • Test suite expanded (SigV4 vector/conformance coverage; optional live AWS tests behind environment configuration)
    Open source →
  2. 2.0.0 21 Mar 2026
    Release notes

    Breaking Changes:

    • MockAwsRequest constructor now uses named parameters to match AwsRequest API
    • AwsRequestException fields (message, stackTrace) are now final

    Changes:

    • Removed intl dependency — date formatting is now handled internally
    • Fixed HTTP client resource leak in getRequest (client now always closed via try/finally)
    • Fixed SigV4 timestamp race condition — getAuth now derives dateStamp from amzDate instead of a separate DateTime.now() call
    • Added optional endpoint parameter for custom/non-standard AWS hostnames (S3 virtual-hosted-style, VPC endpoints, LocalStack, etc.)
    • sign() return type changed from dynamic to Digest
    • validateRequest now throws directly instead of returning a validation map
    • Removed unused parameters (host, requestBody, timeout) from getHeaders
    • getSignedHeaders no longer throws when default keys (e.g. host) are passed in signedHeaders
    • Replaced type.toString().toUpperCase().split('.').last with type.name.toUpperCase()
    • All tests now use mock HTTP clients instead of external network calls
    • Updated CI pipeline actions (checkout@v4, codecov-action@v5)
    • Updated README with SDK requirements, MockAwsRequest documentation, custom endpoints, and corrected examples
    • Updated example project to current SDK and package versions
    Open source →
  3. 1.1.0 21 Jun 2025
    Release notes

    Increased minimum intl version for 3.32 compatiblity
    Removed outdated lint rule

    Open source →
    Release notes
    • Increased minimum intl version for 3.32 compatibility
    • Removed outdated lint rule
    Open source →
  4. 1.0.1 21 May 2024
    Release notes
    • increased minimum intl version for 3.3 compatibility
    Open source →
    Release notes
    • Increased minimum intl version for 3.3 compatibility
    Open source →
  5. 1.0.0 31 May 2023
    Release notes
    • Requires Dart 3.0 or later
    • Updated to http ^1.0.0
    Open source →
    Release notes
    • Requires Dart 3.0 or later
    • Updated to http ^1.0.0
    Open source →
  6. 0.5.0 31 May 2023
    Release notes
    • Updated intl to new version
    • Fixed test broken by update

    Full Changelog: 0.4.0...0.5.0

    Open source →
    Release notes
    • Updated intl to new version
    • Fixed test broken by update
    Open source →
  7. 0.4.0 25 Jan 2022
    Release notes

    [0.4.0] - 2022/01/24

    Breaking Changes:

    • AwsRequestTypes have been lower cased to conform with dart conventions

    Changes:

    • Added stricter analysis options
    • Refactored AwsRequest and MockAwsRequest
    • Removed argument target because it should just be a header
    Open source →
    Release notes

    Breaking Changes:

    • AwsRequestTypes have been lower cased to conform with dart conventions

    Changes:

    • Added stricter analysis options
    • Refactored AwsRequest and MockAwsRequest
    • Removed argument target because it should just be a header
    Open source →
  8. 0.4.0+1 26 Jan 2022
    Release notes
    • Added comments for better auto documentation
    Open source →
  9. 0.4.0+2 10 Feb 2023
    Release notes

    [0.4.0+2] - 2023/02/09

    • Minor housekeeping to fix running tests & lint deprecations
    • Fixed typo in description
    • Updated example
    • Fixed test case for modern dart
    Open source →
    Release notes
    • Minor housekeeping to fix running tests & lint deprecations
    • Fixed typo in description
    • Updated example
    • Fixed test case for modern dart
    Open source →
  10. 0.3.0 09 Jan 2022
    Release notes

    [0.3.0] - 2022/01/09

    • Migrated from universal_io to http
    • Refactored project into discrete testable modules
    • Added unit tests for each piece
    • Added MockAwsRequest to mock requests for easier testing
    • Added AUTHORS file
    • Added static version of primary method
    • Updated documentation to illustrate new static call method
    • Added coverage
    • Fixed bug with allowing non String values in queryString

    Full Changelog: 0.2.1...0.3.0

    Open source →
    Release notes
    • Migrated from universal_io to http
    • Refactored project into discrete testable modules
    • Added unit tests for each piece
    • Added MockAwsRequest to mock requests for easier testing
    • Added AUTHORS file
    • Added static version of primary method
    • Updated documentation to illustrate new static call method
    • Added coverage
    • Fixed bug with allowing non String values in queryString
    Open source →
  11. 0.3.0+1 10 Jan 2022
    Release notes
    • Added more unit tests
    • Added note about Android permissions to readme
    • Incremented mid version for github
    • Added optional timeout argument to AwsRequest.send that overrides constructor timeout
    Open source →
  12. 0.2.1 09 Jan 2022
    Release notes

    [0.2.1] - 2022/01/08

    • Fixed issue with rejected headers on web
    Open source →
    Release notes
    • Fixed issue with rejected headers on web
    Open source →
  13. 0.2.0 17 Sep 2021
    Release notes
    • Removed unneeded flutter dependency to allow native and js compatibility
    • Refactored some code for better readability
    • Added AwsRequestType enum to replace String request type
    • Removed deprecated cause from AwsRequestException
    • Updated license to MIT
    Open source →
  14. 0.2.0+1 17 Sep 2021
    Release notes

    [0.2.0+1] - 2021/09/17

    • Updated package description
    Open source →
    Release notes
    • Updated package description
    Open source →
  15. 0.1.9 12 Sep 2021
    Release notes
    • Added stack trace to AwsRequestException
    • Added optional timeout parameter with a default value of Duration(seconds: 10)
    Open source →
  16. 0.1.8 25 Aug 2021
    Release notes
    • Fixed issue causing HttpException
    Open source →
  17. 0.1.7 31 Jul 2021
    Release notes
    • Fixed bug limiting calls to POST requests
    • Fixed bug limiting requests to logs service
    • Fixed bug with static signed headers
    • Reformatted files
    • Added QoL service and target values to constructor
    Open source →
  18. 0.1.6 02 Jul 2021
    Release notes
    • Removed strict flutter sdk version requirement
    Open source →
  19. 0.1.5 09 Jun 2021
    Release notes
    • Fixed null safety typing issue
    • Reformatted aws_request.dart
    Open source →
  20. 0.1.4 19 May 2021
    Release notes
    • Removed old hard coded region values and replaced with dynamic region
    Open source →
  21. 0.1.3 25 Mar 2021
    Release notes
    • Fixed issue with sending non unicode characters in request body
    Open source →
  22. 0.1.2 24 Mar 2021
    Release notes
    • Fixed flutter analyze issues related to null safety
    Open source →
  23. 0.1.1 24 Mar 2021
    Release notes
    • Actually migrated to null safety instead of just upgrading packages
    Open source →
  24. 0.1.0 24 Mar 2021
    Release notes
    • Added support for null safety
    • Updated dependencies for null safety compatibility
    Open source →
  25. 0.0.4 26 Mar 2021

    Nothing published for this version

  26. 0.0.3 11 Feb 2021
    Release notes
    • Reverted issue with null safety. This will be fixed later
    • Added files to example to help it execute
    Open source →
  27. 0.0.2 11 Feb 2021
    Release notes
    • Fixed readme.md and added example
    Open source →
  28. 0.0.1 10 Feb 2021
    Release notes
    • Added initial files for sending signed aws requests
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive