v0.0.6 - 2024-03-25
- Added a new function
update
to thebase.clj
file, allowing for update items in the Deta Base.
- Updated library description in
README.md
to reflect interaction with Deta Base and Deta Drive services. - Updated project version in
project.clj
to0.0.6
. - Included
lein-cloverage
plugin for project coverage inproject.clj
. - Enhanced
base.clj
with anupdate
function to update existing objects in the database.
- No items removed in this version.
0.0.5 - 2024-03-14
- No additions in this version.
- Change in the
insert
function insrc/deta/base.clj
to check if the query is a vector instead of a list. - Fix the fetch function in
src/deta/base.clj
to handle 200 status responses and extract pagination and items information from the JSON response. - Update of tests in
test/deta/base_test.clj
to reflect changes in the fetch function. - Library version update to 0.0.5 in
README.md
andproject.clj
.
- No removals in this version.
0.0.4 - 2024-03-13
- Added a new function
fetch
to thebase.clj
file, allowing for custom queries to the Deta database with support for pagination, sorting, and limiting results. - Added tests for the
fetch
function in thebase_test.clj
file, covering various scenarios such as valid and non-matching queries, handling multiple queries, and pagination. - Added a new section to the README.md file for documentation, including a link to the project's documentation hosted on GitHub Pages.
- Added a new section to the README.md file for a table of contents, improving the navigation of the documentation.
- Added detailed descriptions and examples to the README.md file for better understanding of the library's features and usage.
- Updated the project version in
project.clj
from0.0.3
to0.0.4
. - Updated the dependency version in
project.clj
from0.0.1
to0.0.3
. - Updated the README.md file with new sections and links for better documentation and usage instructions.
- Updated the
fetch
function inbase.clj
to handle more complex queries and parameters, enhancing the library's functionality.
- Removed the
doc/intro.md
,doc/reference.md
, anddoc/usage.md
files, as they have been consolidated into the docs branch for improved documentation structure.
0.0.3 - 2024-03-12
- Added new sections to
README.md
for documentation structure and updated links to reflect the new documentation paths. - Introduced
base/insert
function for inserting data into the database with optional key specification. - Added
base/delete
function for removing items from the database by key. - Updated documentation in
doc/intro.md
,doc/reference.md
, anddoc/usage.md
to include the newinsert
anddelete
functions. - Added tests for
base/delete
andbase/insert
functions intest/deta/base_test.clj
.
- Updated the
base
function to simplify the condition for checking the validity of thedeta-key
. - Updated the
get
function to use a more concise condition for checking the validity of the key. - Updated the
README.md
to correct the installation instructions and to include a note on setting theDETA_KEY
environment variable for testing. - Updated the documentation in
doc/usage.md
to include detailed usage examples for thedelete
andinsert
functions. - Updated the
test/deta/base_test.clj
to include tests for thedelete
andinsert
functions.
- Removed the old documentation structure references from
README.md
. - Removed the old
base/put
function documentation fromdoc/reference.md
.
0.0.2 - 2024-03-11
- Initial project setup with Clojure namespace and required dependencies.
- Basic structure for Deta database operations, including
base
andput
functions. - Initial implementation of
base
function to validate and construct a base URL for Deta database operations. put
function to insert data into a Deta database, with support for optional key and handling of different data types.- Refined error handling in
base
function to provide more specific error messages. - Enhanced
put
function to handle different data formats and include an optional key for data items. - Documentation for installation, getting started, example usage, and testing.
- New
get
function to retrieve data from the Deta database. - Test cases for
get
function to ensure reliability and correctness.
- Updated installation instructions to include Leiningen/Boot, Clojure CLI/deps.edn, Gradle, and Maven methods.
- Simplified the process of initializing a database connection by providing a single example.
- Improved error handling in
put
function to better manage invalid inputs and server responses. - Updated the
base
function to include:throw-exceptions false
in the request headers, preventing exceptions from being thrown on server errors.
- Removed redundant installation instructions from the README.
- Removed outdated or unused code snippets and examples.
0.0.1 - 2024-03-11
- Initial project setup with Clojure namespace and required dependencies.
- Basic structure for Deta database operations, including
base
andput
functions. - Initial implementation of
base
function to validate and construct a base URL for Deta database operations. put
function to insert data into a Deta database, with support for optional key and handling of different data types.- Refined error handling in
base
function to provide more specific error messages. - Enhanced
put
function to handle different data formats and include an optional key for data items.