Bot releases are hidden (Show)
We are excited to announce several significant updates in this release, aimed at enhancing functionality, improving developer experience, and ensuring higher code quality. Below are the key changes included:
Enhanced Search Functionality: The search
function has been updated to support an optional generic type. This enhancement allows for more precise type specification, improving code readability and maintainability.
Improved Type Completion with keys
Array: We've made a significant update to the keys
array, which is now an array of generic type keys. This change drastically improves type completion and reduces the likelihood of mistakes by ensuring that the keys are of the expected type.
New Testing Framework Integration: To further our commitment to code quality, we've integrated a comprehensive testing framework into our project. This addition, coupled with its integration into the CI workflow, means that we can now automatically verify the integrity and reliability of our codebase with each push, ensuring that any changes meet our high standards for quality.
This update happens thanks to @mlbonniec's efforts. Their contribution has been instrumental in bringing these enhancements to life. We deeply appreciate their hard work and dedication to improving our project.
We believe these updates will significantly improve your development workflow and look forward to your feedback.
Full Changelog: https://github.com/SMAKSS/search/compare/v2.0.1...v2.1.0
Published by SMAKSS 10 months ago
Published by SMAKSS 10 months ago
Published by SMAKSS 10 months ago
Published by SMAKSS 11 months ago
We are thrilled to announce the release of version X.Y.Z of our Search functionality. This update introduces significant improvements in code organization, readability, and documentation, making your search experience smoother and more efficient.
types.ts
, utils.ts
, searchLogic.ts
, search.ts
).To migrate from a previous version, please consider the following steps:
import { search } from './search';
.Here's a quick example of how to use the new search functionality:
import search from './search';
import { SearchItem } from './types';
// Sample data
const items: SearchItem[] = [{ name: 'John Doe', age: 30 }, { name: 'Jane Smith', age: 25 }];
// Perform a search
const results = search({
searchText: 'John',
searchItems: items,
keys: ['name'],
include: true,
exact: false
});
console.log(results); // Expected output: [{ name: 'John Doe', age: 30 }]
Your feedback is crucial to us. Please let us know if you encounter any issues or have suggestions for future improvements.
Published by SMAKSS 11 months ago
Published by SMAKSS 12 months ago
Published by SMAKSS 12 months ago
Published by SMAKSS 12 months ago
Published by SMAKSS almost 2 years ago