Skip to content

Latest commit

 

History

History
97 lines (73 loc) · 2.87 KB

CHANGELOG.md

File metadata and controls

97 lines (73 loc) · 2.87 KB

2.0.1

Bug Fix

  • Fix decoding problems around the % character #75 (fix contributed by @jdalton)

2.0.0

  • Significant refactor based on code from @jdalton
  • Numerous bug fixes and improvements the community was asking for
    • See closed issues and PRs for details (too many to list here)

1.2.1

Bug Fixes

  • purls with + in versions are now valid #52 (contributed by @satanshiro)
  • purl names staring with : are now accepted #45 (contributed by @aniruth37)

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