Skip to content

Releases: MissingCore/audio-metadata

v1.3.0

13 Jul 19:22

Choose a tag to compare

New file support & metadata option.

Added

  • AAC support with .mp4 & .m4a file extensions.
  • Add support for new albumArtist field (fallbacks to artist if it's defined and the track belongs to an album).

Fixed

  • Invalid ID3v2 artwork base64 string value.
  • Excluding tags not specified in the ID3v1Reader (we previously returned all the ID3v1 tags as it was a simple structure, however, it interfered with our tests).

Changed

  • Enabled split apks, proguard, and shrink resources in React Native examples.

v1.2.0

26 Jun 04:12

Choose a tag to compare

Added support for Node.js, since we were using it in our tests.

❗ Breaking

  • Set minimum Node.js version that this package supports to be 18 (technically shouldn't be breaking as it should be enforced by having the React Native 0.74 dependency).

Added

  • Node.js support based on the mock we used in our tests.
  • Additional examples for testing the app in the different configurations we support (Node.js, React Native w/ expo-file-system, React Native w/ @dr.pogodin/react-native-fs)

Changed

  • Removed space between organization name in LICENSE.
  • react & react-native are now optional peer dependencies due to adding support for running this package in Node.js.
  • Removed fastestsmallesttextencoderdecoder dependency as it was replaced with fast-text-encoding due to not working in React Native 0.74.

v1.1.1

15 Jun 01:46

Choose a tag to compare

Mainly minor changes under the hood. In addition, we slightly modified the license to include an email.

Changed

  • Add email to LICENSE.
  • Prefix built-in node modules with node: (ie: node:fs) instead of its unprefixed variant (ie: fs).

v1.1.0

02 Jun 23:42

Choose a tag to compare

Finally using Buffer.readBytes() — this was the intended method to be used with FileReader.read(), however, the implementation didn't work that well last time (about a month ago). Now that we read the whole file, issues faced last time shouldn't be a problem here.

📈 Performance fixes

  • Reduced the duration of heavy reads (ie: getting the artwork metadata) by up to ~60% from switching FileReader.read() to use Buffer.readBytes() instead of Buffer.readUInt8() in a for-loop.

v1.0.0

31 May 02:47

Choose a tag to compare

First "official" release of @missingcore/audio-metadata.

Added

  • Support for reading the following metadata tags from .flac (FLAC) & .mp3 (ID3v1, ID3v2) files: "album", "artist", "artwork", "name", "track", and "year".
  • Theoretical support for:
    • Unsynchronisation (ID3v2).
    • Tags located at the end of the file or before the ID3v1 tag (ID3v2.4).
  • Support for using either expo-file-system or @dr.pogodin/react-native-fs for file system interactions (ie: should work with or without using Expo).
  • Support for React Native's "New Architecture".

Changed

  • Fixed expo install command & add NPM and License links in "README".