# 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()`](/3/api/get.md#from-value) &[ ](#user-content-fn-1)[^1][`getFromKeyValue()`](/3/api/get.md#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()`](/3/api/get.md#get-all-records) to easily get an array of Tags. `list()` was also added as a shorthand way to do this.
* [`isEmpty`](/3/api/edit.md#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()`](/3/api/edit.md#modify-a-key)
* Added `required` to [JSON Templates](/3/templates/json.md)
* 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/pages/TkdFc8Kbpc8HBkDGELNX#2.-define-permissons).
* Added [`read()`](/3/api/get.md#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()`](/3/api/edit.md#beautify-json)
* Added [`save()`](/3/api/edit.md#content)
* overwrite is now [`edit()`](/3/api/edit.md#overwrite)
* Added [`getFromKeyValue()`](/3/api/get.md#get-from-key-value-pair), and modified [`getFromValue()`](/3/api/get.md#from-value)
* [Middleware](/3/api/middleware.md)
* [Versioning](/3/api/versioning.md)
* New/revised [events](/3/events.md)
* \+ more

[^1]:


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://db.coolstone.dev/3/log.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
