# Update Log

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

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

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

### v2.3.1 (09/25/2022)

* Added name property
* Added [`bash()`](/2/miscellaneous.md#bash) method
* Added [`iterate()`](/2/miscellaneous.md#iterate) method
* Fixed [config file issue](https://github.com/coolstone-tech/dubnium/issues/7)
* Some functions will now work with other file types in the dir
* Removed `record.data` & `db.exists()` (use `record.content` & `db.has()` respectively)
* Reworked [plugins](/2/plugins.md)
* Added `useConfig` param when initializing
* Some internal functions are now exported (fullPath, searchArray, iterateDir)
* Other small changes & improvements

### v2.3.0 (09/03/2022)

* Added [plugins](/2/plugins.md)
* Added [`realpath`](/2/get.md#path) property
* Renamed `data` to `content`
* Added [`Record()`](/2/manage.md#create) method
* Config file
* Removed `watch()`/`unwatch()`, in favor of [events](/2/events.md)
* `exists()` is now [`has()`](/2/get.md#exists)
* Other small changes and fixes, including removing random callback params

Read all the changes [here](https://github.com/coolstone-tech/dubnium/commit/f02fa5a5ef70e73426ebbd9327a20587a9359a60)

### v2.2.3 (08/11/2022)

* Fixed [`db.get(...).custom()` issue](https://github.com/coolstone-tech/dubnium/issues/4)
* Fixed [`Template.use()` issue](https://github.com/coolstone-tech/dubnium/issues/5)
* Removed `size` property&#x20;
* Changed [`stats()`](/2/miscellaneous.md#get-stats) to a property
* More size options for [`deleteLarge()`](/2/manage.md#delete-large-records)
* Deprecated `watch()` / `unwatch()`
* Other small improvements

### v2.2.2 (08/08/2022)

* Fixed [`other()` issue](https://github.com/coolstone-tech/dubnium/issues/2)
* [Added `custom()` ](/2/miscellaneous.md#other-1)to run a custom function without leaving the Record Editor API.
* New events

### v2.2.1 (07/30/2022) <a href="#v2.2.1" id="v2.2.1"></a>

* Fixed [`setValue` issue](https://github.com/coolstone-tech/dubnium/issues/1)
* `locateRecord()` is now `find()`&#x20;
* Bug fixes & small improvements&#x20;
* New events
* [Added `other()` ](/2/miscellaneous.md#other-1)to run any `fs` method on the Record

### v2.2.0 (07/28/2022) <a href="#v2.2.0" id="v2.2.0"></a>

* Removed index.mjs (index.js can be used by ESM & Commonjs)
* `options` param for [`create()`](/2/manage.md#create) which is passed into `writeFile` (optional)
* [`deleteLarge()`](/2/manage.md#delete-large-records) will delete Records larger than the specified size (in bytes, for now)&#x20;
* &#x20;[`exit()`](/2/miscellaneous.md#exit) will return to the Dubnium class.
* [Added `truncate()`](/2/modify.md#length) to shorten the Record
* [Added `append()`](/2/modify.md#append) to append data to the Record
* More [search options](/2/get.md#search-content)
* `size` property for Records.
* Other small improvements & bug fixes

### v2.1.0 (07/26/2022) <a href="#v2.1.0" id="v2.1.0"></a>

* &#x20;Added index.mjs.

### v2.0.1 (07/24/2022) <a href="#v2.0.1" id="v2.0.1"></a>

* Bug fixes
* More methods can be called after [`wipe`](/2/manage.md#wipe) and [`close`](/2/manage.md#close)
* `template.new()` is now [`template.use()`](/2/templates.md#use)
* Redesigned docs

### v2.0.0 (07/16/2022) <a href="#v2.0.0" id="v2.0.0"></a>

* New API style
* New methods:\
  [`syncWith`](/2/modify.md#syncwith), [`stats`](/2/miscellaneous.md#get-stats), `watch`/`unwatch`, [`createSymlink`](/2/miscellaneous.md#create-symlink), & more
* [Templates](/2/templates.md)
* Bug fixes
* Other small improvements
* [Github repository](https://github.com/coolstone-tech/dubnium)
* Short descriptions in supported IDEs

![](/files/a5X0APlTlJxwFrlCdfXz)


---

# 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/2/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.
