Karrio

Latest version: v2023.9.2

Safety actively analyzes 701533 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 11

2021.10

What's New

- Enrich `/api/references` endpoint with application metadata info (`APP_NAME`, `APP_VERSION`, `APP_WEBSITE` and other feature flags)
- Enhance JWT refresh with support for org switching by providing `org_id`
- Improve OpenAPI docs with existing extensions `carrier_name`(s) and shipments and trackers filters status enums
- Remove authentication requirement from `/v1/trackers/{id_or_tracking_number}` to simplify trackers access to frontend components
- Remove authentication requirement from `/api/references` as it serves as the server metadata now and share any user private info
- Change authentication rules for Graphql view (`/graphql`)
- The GraphQL Playground can be accessed without being authenticated
- However, an authentication header is required now to send authenticated requests and receive users owned data
- Introduce user registration, password change, password reset and more through GraphQL mutations
- Remove purplship embedded client moving the codebase to https://github.com/purplship/purplship-dashboard


Bug Fixes

- Fix circular reference on GraphQL system `carrier.carrier_name` property
- Fix bugs with exception raised when there is an existing carrier connection in test mode and not live

Dev Ex

- Switched to mono repo bringing `purplship-carriers`, `purplship-bridges`, `purplship-server` and all other satellite projects under `purplship` (this simplifies the development process)
- Improve PHP and Python client generator script options
- Improve docker setup for local developments
- Improve docker setup for testing with the same config as production (went from `6 min` build + test time to `2 min`)
- Change namespaces for consistent branding (went from `purpleserver.*` -> `purplship.server.*`)
- add as shared .vscode configuration.
- Fix JWT regression caused by `PyJWT` dependency
- Enhance Docker image startup and graceful-stop with dumb-init

2021.8

What's new?

- Increase JSON API response parsing resilience by introducing `to_object` helper that ignores unknown model fields
- Use `NamedTuple` to define MeasurementOptionsType instead of `Enum`
- Add .vscode config to improve dev ex
- Add alpha integration for `ICS Courier`, `UPS Ground` and `Asendia US`

2021.7

Changes

- Apply flexible service mapping to all carrier integrations. (meaning that if the carrier introduces a service not mapped by purplship, it will still be handled gracefully by collecting the code required for the shipment creation)
- Add DHL customs invoice when returned by international shipments
- Introduced `account_country_code` as base property to all carrier settings. (This is useful for country-specific carrier accounts)
- Deprecate `gateway.features` in favor of `gateway.capabilities` to describe the list of supported operations by carrier gateways
- Add pre requests check hooks to validate early carrier gateways capability support as well as country-bounded account usage.
- Improve the email notification option
- enabled by default if a recipient email is provided
- turn the notification off `options: { ..., email_notification: false, ..}`
- set specific email for notification `options: { ..., email_notification_to: customemail.com, ..}`


Fixes

- Fix shipment reference for all carriers
- Fix Purolator shipment creation error detection for proper parsing

2021.6

Changes

- Fix FedEx label format
- Add human-readable names for options and services
- Add blank Purolator label for test mode since label is not supported with the sandbox server
- Live tested USPS rating and shipping integration
- Rename `purolator_courrier` extension to `purolator`
- Make Purolator setting `user_token` optional
- Fix Fedex rate timestamp parsing to prevent 0-day returns
- Fix DHL preset default units with the right package sizes
- Add omitted `contract_id` to Canada post extension for rate requests
- Add min dimensions values for FedEx dimension mappers
- Handle Optional adjustments values for Canada post rate response

2021.4

What's new

- Enrich customs declaration unified model
- Separate duty definition from the shipment payment model
- Introduce AddressExtra and a helper to compute address line based on extra

2021.3

Changes

- Integrate TNT services (Tracking )
- Prepare USPS rating and shipping integration and split up international and local
- Rename `ups_package` -> `ups`
- Rename `fedex_express` -> `fedex`

Page 5 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.