# Update Log

## Get the latest version <a href="#get" id="get"></a>

{% tabs %}
{% tab title="Update" %}
Already have Dubnium in your project? Update it!

```bash
npm update dubnium
```

{% endtab %}

{% tab title="Install" %}
Want to get started using Dubnium in your projects? Install it!

```bash
npm i dubnium@latest
```

{% endtab %}
{% endtabs %}

## Update History <a href="#header" id="header"></a>

### v3.0.3 (2/11/2024)

* Fixed `getAll()`

### v3.0.2 (2/3/2024)

* Bug fixes
* Helper functions are now exported at `require('dubnium').Helpers`
* Deprecated `filter()`
* New `exact` parameter for [`getFromValue()`](https://db.coolstone.dev/3/api/get#from-value) &[ ](#user-content-fn-1)[^1][`getFromKeyValue()`](https://db.coolstone.dev/3/api/get#get-from-key-value-pair)
* Added `DubniumTemplateError` for template-related errors
* Limits for search queries. These are optional. Set to `0` to not limit.
* Added `tagOnly` param to [`getAll()`](https://db.coolstone.dev/3/api/get#get-all-records) to easily get an array of Tags. `list()` was also added as a shorthand way to do this.
* [`isEmpty`](https://db.coolstone.dev/3/api/edit#check-if-a-record-is-empty) is now a property, not a function
* Fixed functions that rely on `walkDir()`
* Added `requireRoot` config parameter
* Added [`modify()`](https://db.coolstone.dev/3/api/edit#modify-a-key)
* Added `required` to [JSON Templates](https://db.coolstone.dev/3/templates/json)
* Added `template` config parameter

### v3.0.1 (05/20/2023)

* Fixed a lot of issues
* Get, delete, edit, change tag, by a Record's index. Set the `tag` parameter to the index.
* Removed `createFromFile()`. Set content to a string containing the path to an existing file to create from a file. Set `options.notFromFile` to skip this.
* Added extension [filter lists](https://db.coolstone.dev/3/extensions/setup#2.-define-permissons).
* Added [`read()`](https://db.coolstone.dev/3/api/get#read)

### v3.0.0 (05/07/2023)

* Basic Record Editor API methods are now exported at the database level. (eg: `db.delete()`)
* Bug fixes & rewritten
* Extensions (removed plugins)
* Config is now stored in `/.dubnium/config.json`
* Function aliases
* Removed `returnType`, all return arrays now
* Added[`beautify()`](https://db.coolstone.dev/3/api/edit#beautify-json)
* Added [`save()`](https://db.coolstone.dev/3/api/edit#content)
* overwrite is now [`edit()`](https://db.coolstone.dev/3/api/edit#overwrite)
* Added [`getFromKeyValue()`](https://db.coolstone.dev/3/api/get#get-from-key-value-pair), and modified [`getFromValue()`](https://db.coolstone.dev/3/api/get#from-value)
* [Middleware](https://db.coolstone.dev/3/api/middleware)
* [Versioning](https://db.coolstone.dev/3/api/versioning)
* New/revised [events](https://db.coolstone.dev/3/events)
* \+ more

[^1]:
