Skip to content

Releases: karrioapi/karrio

2019.4.0

06 Apr 18:38
Compare
Choose a tag to compare

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 or Dict (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

25 Mar 06:59
6af459a
Compare
Choose a tag to compare

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

01 Mar 18:44
Compare
Choose a tag to compare

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

v1.0rc10

01 Mar 04:35
Compare
Choose a tag to compare
v1.0rc10 Pre-release
Pre-release

Fixes

  • Fix FedEx missing default server_url
  • Separate UPS freight request creation from packages

v1.0rc9

20 Feb 03:02
Compare
Choose a tag to compare
v1.0rc9 Pre-release
Pre-release

Changes

  • Remove 'pickup_date' and 'pickup_time' from QuoteDetails
  • Collect estimated delivery date from carriers where possible
  • Remove carriers account numbers from client settings where possible
  • use carriers production service address as default value for 'sever_url'

New

  • Introduce attrs for cleaner unified datatypes definitions

v1.0rc8

12 Jan 04:11
1ef50a7
Compare
Choose a tag to compare
v1.0rc8 Pre-release
Pre-release

Changes

  • clean up and prepare FedEx freight mapping
  • update datatypes
  • clean up datatypes factories
  • Fix the wrong typing

What's new

  • Introduce mypy for type validation and enforcement
  • Introduce shell script shortcuts file for development on Unix systems

v1.0rc7

14 Dec 03:51
Compare
Choose a tag to compare
v1.0rc7 Pre-release
Pre-release

Fixes

  • Fix FedEx insurance amount mapping

Changes

  • Introduce option_type for special shipping option mapping

v1.0rc6

17 Nov 07:15
7f8e135
Compare
Choose a tag to compare
v1.0rc6 Pre-release
Pre-release

Changes

  • Rename extra_services -> options
  • Replace service_type -> services
  • Introduce units and service/option/packaging types mapping
  • Improve carriers services parameterization
  • Implement UPS package rate

v1.0rc5

05 Nov 03:24
d2a62ef
Compare
Choose a tag to compare
v1.0rc5 Pre-release
Pre-release

Changes

  • Integrate UPS shipment creation
  • Breaking change of services -> extra_services
  • Introduce service_type
  • Unify commodity and items (former packages)

v1.0rc4

03 Nov 05:21
cc5101a
Compare
Choose a tag to compare
v1.0rc4 Pre-release
Pre-release

Changes

  • Unified quote and shipment options as they are pretty much similar
  • Move account number directly into party type (recipient account number can be specified now)
  • Refactor all the carriers mappers to use partials