Releases: karrioapi/karrio
Releases · karrioapi/karrio
PurplShip 2020.7.1 release
Bugfix
- Fix error caused by
bytearray
serialization attempt inrequest
core helper
PurplShip 2020.7.0 release
What's new
- Enrich logs
- Collect and format Error fields
Breaking changes
- Replace
RateDetails
expected_delivery
date bytransit_days
count
PurplShip 2020.6.1 release
Breaking changes
- Rename carrier identifier keys for clarity
- renaming: carrier -> carrier_name
- renaming: carrier_name -> carrier_id
PurplShip 2020.6.0 release
Documenting
- Add documentation for purplship SDK
- Fix build scripts
- Introduce datatypes to markdown generator scripts.
PurplShip 2020.5.0 release
What is new
- Restructure the project as mono repo with micro-modules
Breaking Changes
- Uniform extension form for internal repo micromodules as well as third party bridges
PurplShip 2020.4 release
What's new?
- Consolidate carrier service integration with purplship server integration and restful tests
- Many changes and improvements on the
Models
- License Term updated to mention a commercial version availability
PurplShip 2020.3 release
Major restructuring and API change
- Restructure project modules
- Introduce package separation between
Freight
andPackage
- Introduce purplship.core wheel
- Complete improvement of
Models
- Use the latest carriers datatypes packages
2019.4.0
Major change
Versioning will follow the CalVer
convention with the format YYYY.MM.DD_MICRO
What is new?
-
Integration of Australia Post Postage Assessment Calculator
-
Introduce PurplShip custom errors
(MethodNotSupportedError, OriginNotServicedError, MultiItemShipmentSupportError)
-
Introduction of multi-mapper per proxy configurable by the client.
(will be used to decouple Freight from package shipping API)
import purplship
australia_post = purplship.gateway["aups"].create(
{
"api_key": "username",
"password": "password",
"account_number": "1234567",
"api": "Postage",
}
)
Changes
- Update Fluent API to offer
Typed
orDict
(JSON) as parameters
# Typed
import purplship
from purplship.domain.Types import TrackingRequest
purplship.tracking.fetch(
TrackingRequest(tracking_numbers=["1Z12345E6205277936"])
).from_(ups).parse()
# Dict (JSON)
purplship.tracking.fetch(
{"tracking_numbers": ["1Z12345E6205277936"]}
).from_(ups).parse()
v1.0.1
What's new
- Integrate basic Sendle shipping services (Tracking, Rating)
- Introduce date format standard
- add countries to currencies pairs
Notes:
All Purplship micro-libs wheels are published on purplship-packages
v1.0.0
Major release v1.0.0
Introduce fluent Interface
import purplship
proxy = purplship.gateway['aups'].create({
"server_url": "https://digitalapi.auspost.com.au/test",
"username": "username",
"password": "password",
"account_number": "1234567"
})
rates = purplship.rating.fetch(
shipper={"postal_code": "H3N1S4", "country_code": "CA"},
recipient = {"city": "Lome", "country_code": "TG"},
shipment = {
"items": [
{"id": "1", "height": 3, "length": 10, "width": 3, "weight": 4.0}
]
}
).from_(aups).parse()
Integrate Basic Australia post service
- Quotes (ShippingPriceRequest)
- Tracking
Changes
- added 'suburb' to Party (address)
- introduce jstruct
- use attrs for dataclasses