tag:github.com,2008:https://github.com/MissingCore/audio-metadata/releasesRelease notes from audio-metadata2024-07-13T19:21:20Ztag:github.com,2008:Repository/803456818/v1.3.02024-07-13T19:22:46Zv1.3.0<p>New file support & metadata option.</p>
<h2>Added</h2>
<ul>
<li>AAC support with <code>.mp4</code> & <code>.m4a</code> file extensions.</li>
<li>Add support for new <code>albumArtist</code> field (fallbacks to <code>artist</code> if it's defined and the track belongs to an album).</li>
</ul>
<h2>Fixed</h2>
<ul>
<li>Invalid <code>ID3v2</code> <code>artwork</code> base64 string value.</li>
<li>Excluding tags not specified in the <code>ID3v1Reader</code> (we previously returned all the ID3v1 tags as it was a simple structure, however, it interfered with our tests).</li>
</ul>
<h2>Changed</h2>
<ul>
<li>Enabled split apks, proguard, and shrink resources in React Native examples.</li>
</ul>cyanChilltag:github.com,2008:Repository/803456818/v1.2.02024-06-26T04:13:52Zv1.2.0<p>Added support for Node.js, since we were using it in our tests.</p>
<h2>❗ Breaking</h2>
<ul>
<li>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).</li>
</ul>
<h2>Added</h2>
<ul>
<li>Node.js support based on the mock we used in our tests.</li>
<li>Additional examples for testing the app in the different configurations we support (Node.js, React Native w/ <code>expo-file-system</code>, React Native w/ <code>@dr.pogodin/react-native-fs</code>)</li>
</ul>
<h2>Changed</h2>
<ul>
<li>Removed space between organization name in <code>LICENSE</code>.</li>
<li><code>react</code> & <code>react-native</code> are now optional peer dependencies due to adding support for running this package in Node.js.</li>
<li>Removed <code>fastestsmallesttextencoderdecoder</code> dependency as it was replaced with <code>fast-text-encoding</code> due to not working in React Native 0.74.</li>
</ul>cyanChilltag:github.com,2008:Repository/803456818/v1.1.12024-06-18T03:09:25Zv1.1.1<p>Mainly minor changes under the hood. In addition, we slightly modified the license to include an email.</p>
<h2>Changed</h2>
<ul>
<li>Add email to <code>LICENSE</code>.</li>
<li>Prefix built-in node modules with <code>node:</code> (ie: <code>node:fs</code>) instead of its unprefixed variant (ie: <code>fs</code>).</li>
</ul>cyanChilltag:github.com,2008:Repository/803456818/v1.1.02024-06-02T23:43:10Zv1.1.0<p>Finally using <code>Buffer.readBytes()</code> — this was the intended method to be used with <code>FileReader.read()</code>, 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.</p>
<h2>📈 Performance fixes</h2>
<ul>
<li>Reduced the duration of heavy reads (ie: getting the <code>artwork</code> metadata) by <strong>up to ~60%</strong> from switching <code>FileReader.read()</code> to use <code>Buffer.readBytes()</code> instead of <code>Buffer.readUInt8()</code> in a for-loop.</li>
</ul>cyanChilltag:github.com,2008:Repository/803456818/v1.0.02024-05-31T02:48:50Zv1.0.0<p>First "official" release of <code>@missingcore/audio-metadata</code>.</p>
<h2>Added</h2>
<ul>
<li>Support for reading the following metadata tags from <code>.flac</code> (<code>FLAC</code>) & <code>.mp3</code> (<code>ID3v1</code>, <code>ID3v2</code>) files: "album", "artist", "artwork", "name", "track", and "year".</li>
<li>Theoretical support for:
<ul>
<li>Unsynchronisation (ID3v2).</li>
<li>Tags located at the end of the file or before the ID3v1 tag (ID3v2.4).</li>
</ul>
</li>
<li>Support for using either <code>expo-file-system</code> or <code>@dr.pogodin/react-native-fs</code> for file system interactions (ie: should work with or without using Expo).</li>
<li>Support for React Native's <strong>"New Architecture"</strong>.</li>
</ul>
<h2>Changed</h2>
<ul>
<li>Fixed expo install command & add NPM and License links in "README".</li>
</ul>cyanChilltag:github.com,2008:Repository/803456818/v0.1.02024-05-31T01:15:41Zv0.1.0<p>Release 0.1.0</p>cyanChill