Skip to content

Commit

Permalink
v2.1 Fixed Bugs and more Enhances (#26)
Browse files Browse the repository at this point in the history
* v2.1 Fixed Bugs and more Enhances

* Update yaml.adapter.ts

* fixed the error

---------

Co-authored-by: ANAS799 <[email protected]>
  • Loading branch information
Marco5dev and ANAS799 authored Jun 4, 2024
1 parent 463e856 commit 90e06ec
Show file tree
Hide file tree
Showing 27 changed files with 3,419 additions and 2,781 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/changlog.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Update Changelog

on:
push:
tags: [ v*.* ] # Triggers on pushing tags starting with "v"

jobs:
update-changelog:
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Get previous tag
id: previousTag
run: |
name=$(git --no-pager tag --sort=creatordate --merged ${{ github.ref_name }} | tail -2 | head -1)
echo "previousTag: $name"
echo "previousTag=$name" >> $GITHUB_ENV
- name: Update CHANGELOG
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ github.token }}
fromTag: ${{ github.ref_name }}
toTag: ${{ env.previousTag }}
writeToFile: true

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4 # Commit the updated changelog
with:
file_pattern: CHANGELOG.md
commit_message: 'Update CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
38 changes: 28 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,39 @@
# Verse.db
# Verse.db [Beta]

### Change log:

## Version v2.1

- Enhanced JSON and YAML adapter supporting complex queries and more helper operations.
- Enhanced update & updateMany & loadAll & find & remove & search & moveData.
- Remodelled Schema to support nested data.
- Recoded batchTasks.
- Added Aggregate method in JSON and YAML and adapter.
- Fixed Types.
- Fixed dropData.
- Fixed search.

## Version v2.0

- Added real-time data store, which's uses db.watch('dataname')
- Added real-time data store, whcihs uses db.watch('dataname')
- Added more operations for each adapter, such as: [batchTasks, dataSize, docCount, search, join].
- Fixed Minor bugs in Connection and types.
- Added back the uniqueKeys for schemeless data.
- Remodeled the Schema for JSON and YAML: use SchemaTypes.String or "String".
- Added back the uniqueKeys for schemaless data.
- Remodelled the Schema for Json and Yaml: use SchemaTypes.String or "String".
- Changed Security into optional setting and non required.
- Added secrets.env to store your keys safely and not to be lost.
- Made `npm create verse.db@latest` for easier setup and configuration for your data connection.
- Added .config folder in dataPath to save your secrets keys for secure.
- Made `npm create verse.db@latest` for easier setup and configuration for your data connection,
- Added More options, and filters for find and load all data.
- Added Move Data for JSON and YAML. now you can move specific query or full data from place to another.
- Added Functionality to remove secure from specific files and store them into their original files.
- File extensions became viewable and can be `json`, `yaml`, and `sql`.
- Added Move Data for json and yaml. now you can move specific query or full data from place to another.
- Added Functionality to remove secure from specifc files and store them into their original files.
- Fixed Bugs in update and updateMany functionality for JSON and YAML adapter.
- Fixed logger became optional.
- Updated SecureData functionality for SQL.
- Improved Schema to have ability to make trees schema.
- Added .config folder in dataPath to save your secrets keys for secure.
- Added more methods for all adapters.
- Enhanced older methods.
- Encryption changed to secure and became optional.

## Version 1.1

Expand All @@ -37,6 +54,7 @@
### Change log:

- Converting the database from `JavaScript` to `TypeScript`
-
- Setup `xlsx` to the database
- Setup `csv` to the database
- Setup `SQL` to the database
Expand All @@ -46,6 +64,6 @@

## Contributors:

- @marco5dev
- @Marco5dev
- @kmoshax
- @ANAS
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Unlock the potential of your data with Verse.db, the premier data management too
- **Performance-Driven**: Experience lightning-fast performance for all your data operations.
- **Real-Time Data Store**: Harness the power of real-time data storage for instantaneous updates and access to your data. Keep your applications synchronized and up-to-date with the latest information.
- **Logging System for Developers**: Streamline your development process with Verse.db's built-in logging system. Gain insights into your application's behavior and track changes effectively. Debugging and troubleshooting become effortless with detailed logs at your disposal.
- **Support for Complex Queries**: Effortlessly execute complex queries with Verse.db's advanced query capabilities. Utilize powerful filtering, sorting, and aggregation functionalities to extract valuable insights from your data with ease.
- **User-Friendly Interface**: Enjoy an intuitive and easy-to-use interface that simplifies data management tasks for developers of all levels. Whether you're a seasoned professional or a beginner, Verse.db ensures a smooth and seamless experience.
- **Continuous Improvement**: Benefit from regular updates and enhancements to ensure Verse.db stays ahead of the curve. Our dedicated team is committed to delivering the best-in-class data management solution tailored to your needs.

Expand Down Expand Up @@ -82,3 +83,4 @@ For detailed information on usage, operations, and methods, visit [Verse.db Docu
### Soon: SQOL

- In the future updates we will introduce our new brand database SQOL: (Structured Query Object Language). Stay tuned ;).
- Check it out its structure on [Git-Hub](https://github.com/jedi-studio/).
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

We are currently supporting the following versions of the `verse.db` package:

- 1.x
- 2.x (now)
- 1.0 ... 1.1
- 1.1 (now)

## Reporting a Vulnerability

Expand Down
Binary file added bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
preset: "ts-jest",
testEnvironment: "node",
verbose: true,
};
103 changes: 6 additions & 97 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 17 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "verse.db",
"version": "2.0.1",
"version": "2.1.0",
"description": "verse.db isn't just a database, it's your universal data bridge. Designed for unmatched flexibility, security, and performance, verse.db empowers you to manage your data with ease.",
"license": "MIT",
"author": "marco5dev (Mark Maher)",
Expand All @@ -27,7 +27,7 @@
"SECURITY.md"
],
"scripts": {
"build": "tsc",
"build": "tsc --build --force",
"test": "jest --forceExit"
},
"funding": "https://github.com/sponsors/jedi-studio",
Expand All @@ -41,7 +41,6 @@
"typescript": "^5.4.2"
},
"dependencies": {
"axios": "^1.6.8",
"yaml": "^2.4.1"
},
"keywords": [
Expand All @@ -50,8 +49,21 @@
"relational database",
"non-relational database",
"sql",
"SQON",
"sqon",
"verse",
"verse.db",
"versedb",
"verse.data",
"verse data",
"verseDatabase",
"verse database",
"verse manager",
"data",
"data management",
"database manager",
"data manager",
"database management",
"SQOL",
"sqol",
"nosql",
"data schema",
"data model",
Expand Down
Loading

0 comments on commit 90e06ec

Please sign in to comment.