This repository was archived by the owner on Sep 23, 2025. It is now read-only.
Repository navigation
Releases: AdaiasMagdiel/deta-clojure
Releases · AdaiasMagdiel/deta-clojure
Release list
v0.0.6
v0.0.6 - 2024-03-25
Added
- Added a new function
updateto thebase.cljfile, allowing for update items in the Deta Base.
Changed
- Updated library description in
README.mdto reflect interaction with Deta Base and Deta Drive services. - Updated project version in
project.cljto0.0.6. - Included
lein-cloverageplugin for project coverage inproject.clj. - Enhanced
base.cljwith anupdatefunction to update existing objects in the database.
Removed
- No items removed in this version.
v0.0.5: chore(test/base_test): Refactor base_test.clj file
0.0.5 - 2024-03-14
Added
- No additions in this version.
Changed
- Change in the
insertfunction insrc/deta/base.cljto check if the query is a vector instead of a list. - Fix the fetch function in
src/deta/base.cljto handle 200 status responses and extract pagination and items information from the JSON response. - Update of tests in
test/deta/base_test.cljto reflect changes in the fetch function. - Library version update to 0.0.5 in
README.mdandproject.clj.
Removed
- No removals in this version.
v0.0.4
0.0.4 - 2024-03-13
Added
- Added a new function
fetchto thebase.cljfile, allowing for custom queries to the Deta database with support for pagination, sorting, and limiting results. - Added tests for the
fetchfunction in thebase_test.cljfile, 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.
Changed
- Updated the project version in
project.cljfrom0.0.3to0.0.4. - Updated the dependency version in
project.cljfrom0.0.1to0.0.3. - Updated the README.md file with new sections and links for better documentation and usage instructions.
- Updated the
fetchfunction inbase.cljto handle more complex queries and parameters, enhancing the library's functionality.
Removed
- Removed the
doc/intro.md,doc/reference.md, anddoc/usage.mdfiles, as they have been consolidated into the docs branch for improved documentation structure.
v0.0.3: chore(test): Update test case for duplicated key insertion
0.0.3 - 2024-03-12
Added
- Added new sections to
README.mdfor documentation structure and updated links to reflect the new documentation paths. - Introduced
base/insertfunction for inserting data into the database with optional key specification. - Added
base/deletefunction for removing items from the database by key. - Updated documentation in
doc/intro.md,doc/reference.md, anddoc/usage.mdto include the newinsertanddeletefunctions. - Added tests for
base/deleteandbase/insertfunctions intest/deta/base_test.clj.
Changed
- Updated the
basefunction to simplify the condition for checking the validity of thedeta-key. - Updated the
getfunction to use a more concise condition for checking the validity of the key. - Updated the
README.mdto correct the installation instructions and to include a note on setting theDETA_KEYenvironment variable for testing. - Updated the documentation in
doc/usage.mdto include detailed usage examples for thedeleteandinsertfunctions. - Updated the
test/deta/base_test.cljto include tests for thedeleteandinsertfunctions.
Removed
- Removed the old documentation structure references from
README.md. - Removed the old
base/putfunction documentation fromdoc/reference.md.
v0.0.2
0.0.2 - 2024-03-11
Added
- Initial project setup with Clojure namespace and required dependencies.
- Basic structure for Deta database operations, including
baseandputfunctions. - Initial implementation of
basefunction to validate and construct a base URL for Deta database operations. putfunction to insert data into a Deta database, with support for optional key and handling of different data types.- Refined error handling in
basefunction to provide more specific error messages. - Enhanced
putfunction to handle different data formats and include an optional key for data items. - Documentation for installation, getting started, example usage, and testing.
- New
getfunction to retrieve data from the Deta database. - Test cases for
getfunction to ensure reliability and correctness.
Changed
- 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
putfunction to better manage invalid inputs and server responses. - Updated the
basefunction to include:throw-exceptions falsein the request headers, preventing exceptions from being thrown on server errors.
Removed
- Removed redundant installation instructions from the README.
- Removed outdated or unused code snippets and examples.
v0.0.1
Full Changelog: https://github.com/AdaiasMagdiel/deta-clojure/commits/v0.0.1