Skip to content

v3.0.0

Latest
Compare
Choose a tag to compare
@Weffe Weffe released this 11 Feb 07:35
· 1 commit to master since this release

Release Highlights:

  • First contributor (@yarilchenko) that provided a fix + tests for properly replacing the baseURL for URL-param strategy! 馃帀
  • Moved old build setup to use tsdx -- reduces overhead for me to maintain the build tooling 馃槂
  • Upgraded internal build deps to address security concerns

Why a major version bump?

In this release we exposed the custom axios types (e.g. AxiosRequestConfigWithVersioning) on the root level. This means you can now do the following:

Before (old):

import { AxiosInstanceWithVersioning } from 'axios-api-versioning/dist/types/axios';

After (preferred):

import { AxiosInstanceWithVersioning } from 'axios-api-versioning';

This should be a nice quality of life upgrade for typescript users.

However, the old route should still work fine -- although moving forward you should use the preferred way.