Skip to content

Latest commit

 

History

History
83 lines (62 loc) · 2.41 KB

CHANGELOG.md

File metadata and controls

83 lines (62 loc) · 2.41 KB

1.2.0

Features

  • Add pub parsing for Dart and Flutter packages (contributed by @topaztee)

1.1.1

Bug Fix

  • publish errors

1.1.0

Features

  • Verify entire version string is properly encoded (contributed by @mcombuechen, @topaztee)

1.0.2

Bug Fixes

  • Normalize metafiles (contributed by @smorimoto)

Chores

  • Bumped various dependencies

1.0.1

Bug Fixes

  • Hardened encoding/decoding of URL special chars like @ and # #37

1.0.0

Features

  • Add enum-like static readonly property KnownQualifierNames to reflect known qualifier names #34

0.0.7

Bug Fixes

  • Keep license texts in comment headers, even after minification #27
  • Fix a bug in golang purls that was adding additional slashes to the string #30

0.0.6

Bug Fixes

  • Properly replace all underscore values for PyPI packages #23

0.0.5

Changes

  • update deps via npm audit fix

Bug Fixes

  • Handle forward slash in namespace for go purls

0.0.4

Bug Fixes

  • Properly handle PyPI purl values per the purl-spec #18

0.0.3

Bug Fixes

  • Properly handle undefined or null qualifier values #16

0.0.2

Features

  • TypeScript: type-definitions #6

Bug fixes

  • fromString(): version is used outside of block scope #5
  • fromString(): qualifiers extracted as string, constructor expects object #7

BREAKING CHANGES

  • the main module previously exported the PackageURL class directly
  • this prevents that additional classes can be added in the future and doesn't work nicely together with the ES6 module system
  • the root module now exports an object containing the classes

Before

const PackageURL = require('packageurl-js');

After

const PackageURL = require('packageurl-js').PackageURL;
// or
const { PackageURL } = require('packageurl-js');
// or ES6 / Typescript
import { PackageURL } from 'packageurl-js';

0.0.1

  • Initial release