Skip to content

Latest commit

 

History

History
446 lines (308 loc) · 12.4 KB

CHANGELOG.md

File metadata and controls

446 lines (308 loc) · 12.4 KB

2.3.0 / 2024-05-18

  • Jumped version 2.2.0 to 2.3.0, to have the same minor-version of oro-functions-client.
  • Updated eslint to flat eslint.config.js.
  • Simplified tsup.config.ts.
  • Re-init package-lock.json.
  • Updated prettier printWidth: 120
  • Updated libs:
    • oro-functions-client from v2.2.2 to v2.3.0.
  • Updated dev libs:
    • @babel/core from v7.24.4 to v7.24.5.
    • @babel/preset-env from v7.24.4 to v7.24.5.
    • eslint-plugin-jest from v28.2.0 to v28.5.0.
    • eslint-plugin-unicorn from v52.0.0 to v53.0.0.
  • Added dev libs:
    • @eslint/js added v9.2.0.
    • globals added v15.2.0.
    • typescript-eslint added v7.9.0.
  • Removed dev libs:
    • @typescript-eslint/eslint-plugin removed.
    • @typescript-eslint/parser removed.
    • eslint-config-alloy removed.
    • eslint-plugin-github removed.
    • eslint-plugin-jest-formatting removed.

2.1.1 / 2024-04-26

  • Improved github cicd replacing actions/--@v3 by actions/--@v4.
  • Fixed prettier endOfLine: 'lf'
  • Updated libs:
    • oro-functions-client from v2.2.0 to v2.2.2.
    • zip-lib from v1.0.0 to v1.0.4.
  • Added dev libs:
    • eslint-plugin-github@^4.10.2
  • Updated dev libs:
    • @babel/core from v7.23.9 to v7.24.4.
    • @babel/preset-env from v7.23.9 to v7.24.4.
    • @babel/preset-typescript from v7.23.3 to v7.24.1.
    • @typescript-eslint/eslint-plugin from v7.0.2 to v7.7.1.
    • @typescript-eslint/parser from v7.0.2 to v7.7.1.
    • eslint-plugin-jest from v27.9.0 to v28.2.0.
    • eslint-plugin-unicorn from v51.0.1 to v52.0.0.
    • typescript from v5.3.3 to v5.4.5.

2.1.0 / 2024-03-09

  • Updated some functions:
    • Updated obtainingConfig, obtainOConfigSync using by default the file oconfig.json.
    • Added in console process write:
      • consts PROCESS_WRITE_COLORS, PROCESS_WRITE_COLOR_NUMBER, PROCESS_WRITE_BACKGROUND_NUMBER.
      • types ProcessWriteColorNumber, ProcessWriteBackgroundNumber.
  • Setted a deprecated some functions:
    • obtainOroConfig, use obtainOConfig with oconfig.json as default file instead.
    • obtainOroConfigSync, use obtainOConfigSync with oconfig.json as default file instead.
    • isPortAvailable, use isPortFree instead.
  • Fixed let by const when it's required.
  • Added coverage for testing.
  • Added watcher for coding.
  • Improved github cicd replacing npm install to npm ci.
  • Improved export declarations in index files.
  • Enhanced linter adding some extensions.
  • Enhanced prettier adding import-sorter.
  • Improved tests migrating every test to the same level as their source file.
  • Enhanced testing to achieve the ~95% of coverage (yay!).
  • Updated libs:
    • fs-extra from v11.1.1 to v11.2.0.
    • get-port-please from ^3.1.1 to v3.1.2.
    • oro-functions-client from v2.1.2 to v2.2.0.
    • zip-lib from v0.7.3 to v1.0.0.
  • Updated dev libs:
    • @babel/core from v7.23.3 to v7.23.9.
    • @babel/preset-env from v7.23.3 to v7.23.9.
    • @types/jest from v29.5.10 to v29.5.12.
    • @typescript-eslint/eslint-plugin from v6.12.0 to v7.0.2.
    • @typescript-eslint/parser from v6.12.0 to v7.0.2.
    • eslint from v8.54.0 to v^8.57.0.
    • eslint-plugin-unicorn from v49.0.0 to v50.0.1.
    • husky from v8.0.3 to v9.0.11.
    • prettier from v3.1.0 to v3.2.5.
    • tsup from v8.0.1 to v8.0.2.
    • typescript from v5.2.2 to v5.3.3.
  • Added dev libs:
    • @trivago/prettier-plugin-sort-imports
    • eslint-plugin-jest-formatting
    • eslint-config-prettier
    • eslint-plugin-jest
    • nodemon

2.0.3 / 2023-11-23

  • Updated lib: oro-functions-client from v2.1.1 to v2.1.2.

2.0.2 / 2023-11-22

  • Fixed github action npm_publish_on_pr_merge_to_master.
  • Updated libs:
    • fast-glob from v3.3.1 to v3.3.2.
    • oro-functions-client from v2.1.0 to v2.1.1.
  • Updated dev libs:
    • @babel/core from v7.23.2 to v7.23.3.
    • @babel/preset-env from v7.23.2 to v7.23.3.
    • @babel/preset-typescript from v7.23.2 to v7.23.3.
    • @types/atob from v2.1.3 to v2.1.4.
    • @types/fs-extra from v11.0.3 to v11.0.4.
    • @types/jest from v29.5.7 to v29.5.10.
    • @typescript-eslint/eslint-plugin from v6.9.1 to v6.12.0.
    • @typescript-eslint/parser from v6.9.1 to v6.12.0.
    • eslint from v8.52.0 to v8.54.0.
    • prettier from v3.0.3 to v3.1.0.
    • tsup from v7.2.0 to v8.0.1.

2.0.1 / 2023-11-03

  • Fixed typescript output definition of fn getFileJsonRecursively, getFileJsonRecursivelySync to simplify their use (removing {}).
  • Updated dev libs:
    • @types/jest from v29.5.6 to v29.5.7.
    • @typescript-eslint/eslint-plugin from v6.9.0 to v6.9.1.
    • @typescript-eslint/parser from v6.9.0 to v6.9.1.
    • eslint-plugin-unicorn from v48.0.1 to v49.0.0.
  • Deleted non-use dev libs:
    • @types/crypto-js.
    • @types/express.
    • @types/lodash.clonedeep.

2.0.0 / 2023-10-27

NOTE:
⚠️ It's not valid anymore:
const Ofn = require('oro-functions'),
✔️ use the following instead:
const { Ofn } = require('oro-functions')

  • Added method osIsAndroid.
  • Updated method isPortFree adding a second param host (by default localhost) to check specific port.
  • Updated method getPortFree adding a third param host (by default localhost) to get free port.
  • Refactored *.js to src/*.ts.
  • Improved typescript output declarations.
  • Updated package as type: "module".
  • Added tsup and now package is compiled to cjs (common) and mjs (module).
  • Added github actions:
    • validate_pr_to_master
    • npm_publish_on_pr_merge_to_master.
  • Added husky (to ensure only valid commits).
  • Added eslint (and applied it).
  • Added prettier (and applied it).
  • Updated package description
  • Updated libs:
    • fast-glob to v3.3.1
    • get-port-please to v3.1.1
    • oro-functions-client to v2.1.0
  • Updated dev libs:
    • @babel/core to v7.23.2.
    • @babel/preset-env to v7.23.2.
    • @babel/preset-typescript to v7.23.2.
    • @types/express to 4.17.20
    • @types/jest to v29.5.6.
    • babel-jest to v29.7.0.
    • jest to v29.7.0.

1.3.2 / 2023-06-19

  • Improved readme (SResponseOK, SResponseKO).

1.3.1 / 2023-06-17

  • Fixed bad declared import from process-write.

1.3.0 / 2023-06-17

  • Added TS support.
  • Added ts tests.
  • Improved tests.
  • Improved readme.
  • Updated lib fast-glob to v3.2.12.
  • Updated lib fs-extra to v11.1.1.
  • Updated lib get-port-please to v3.0.1.
  • Updated lib oro-functions-client to v1.5.4.
  • Updated lib-dev jest to v29.5.0.
  • Renamed fns obtainOConfig, obtainOConfigSync, isPortFree and deprecated obtainOroConfig, obtainOroConfigSync, isPortAvailable.
  • Allow to get functions individually in /src:
    • const { fn1, fn2, ... } = require( 'oro-functions/src' ) (including 'oro-functions-client')

1.2.1 / 2022-08-16

  • Updated lib oro-functions-client to v1.4.1.

1.2.0 / 2022-08-04

  • Updated Readme and tests/.
  • Added package-lock.json.
  • Changed lib find-free-port to get-port-please.
  • Updated lib oro-functions-client to v1.4.0.
  • Updated lib-dev jest to v28.1.3.

1.1.7 / 2022-06-21

  • Updated lib oro-functions-client to v1.3.7.

1.1.6 / 2022-06-21

  • Updated lib oro-functions-client to v1.3.6.
  • Updated lib-dev jest to v28.1.01.

1.1.5 / 2022-05-25

  • Updated lib fast-glob to v3.2.11.
  • Updated lib fs-extra to v10.1.0.
  • Updated lib oro-functions-client to v1.3.5.
  • Updated lib zip-lib to v0.7.3.
  • Updated lib-dev jest to v28.1.0.

1.1.4 / 2022-03-10

  • Updated lib oro-functions-client to v1.3.4.

1.1.3 & 1.1.2 / 2022-03-10

  • Updated lib oro-functions-client to v1.3.2.

1.1.1 / 2021-12-28

  • Updated lib oro-functions-client to v1.3.1.

1.1.0 / 2021-12-17

  • Added method cryptoGenerateKeyPair from oro-functions-client because it breaks in front frameworks like Vue.

1.0.4 / 2021-12-14

  • Updated lib oro-functions-client to v1.2.1.

1.0.3 / 2021-12-14

  • Updated lib oro-functions-client to v1.2.0.
  • Updated lib jest to v27.4.5.

1.0.2 / 2021-12-07

  • Updated lib oro-functions-client to v1.1.0.

1.0.1 / 2021-09-21

  • Updated lib oro-functions-client to v1.0.1.

1.0.0 / 2021-08-23

  • Added unit testing Jest.
  • Added MIT License.
  • Added package in github.com & npmjs.com.
  • Added methods:
    • pathIsFolder
    • processWrites
  • Updated methods:
    • globFiles and folderIsEmpty has second param default globArgs = { dot: true, unique: true, onlyFiles: true, ignore: [ "node_modules/**", ".zero/**" ] }.
    • zipFolder change library from zip-a-folder to zip-lib and now is allowed to zip folder or file.

0.13.1 / 2021-07-28

  • Update oro-functions-client to v0.23.2.

0.13.0 / 2021-07-20

  • Added method getPortFree.

0.12.0 / 2021-07-20

  • Added method isPortAvailable.

0.11.10 & 0.11.9 / 2021-07-07

  • Update oro-functions-client to v0.23.1.

0.11.8 / 2021-06-29

  • Update oro-functions-client to v0.22.0.

0.11.7 & 0.11.6 / 2021-06-28

  • Update oro-functions-client to v0.21.0.
  • Update oro-functions-client to v0.20.1.

0.11.5 / 2021-06-25

  • Update oro-functions-client to v0.20.0.

0.11.3-0.11.4 / 2021-06-18

  • Update oro-functions-client to v0.19.1.

0.11.2 / 2021-05-18

  • Updated method globFiles, params onlyFiles and ignore now are arguments.
  • Fixed method folderIsEmpty, using globFiles with onlyFiles = false.

0.11.1 / 2021-05-18

  • Update oro-functions-client to v0.18.3.

0.11.0 / 2021-05-19

  • Added method zipFolder.
  • Added in .gitignore the file test.js.

0.10.0 / 2021-05-19

  • Added method folderIsEmpty.

0.9.10 / 2021-05-18

  • Update oro-functions-client to v0.18.2.

0.9.8 / 2021-05-18

  • Update oro-functions-client to v0.18.0.

0.9.7 / 2021-05-17

  • Update oro-functions-client to v0.17.0.

0.9.6 / 2021-05-17

  • Update oro-functions-client to v0.16.0.

0.9.5 / 2021-05-17

  • Update oro-functions-client to v0.15.0.

0.9.4 / 2021-05-14

  • Update oro-functions-client to v0.14.0.

0.9.3 / 2021-05-14

  • Update oro-functions-client to v0.13.0.

0.9.2 / 2021-05-13

  • Update oro-functions-client to v0.12.0.

0.9.1 / 2021-05-06

  • Update oro-functions-client to v0.11.0.

0.9.0 / 2021-05-04

  • Added method processWrite.

0.8.1 / 2021-05-04

  • Changed param:oConfig by param:config in methods obtainOroConfig and obtainOroConfigSync.

0.8.0 / 2021-05-04

  • Added methods obtainOroConfig and obtainOroConfigSync.
  • Updated methods getFileJsonRecursively and getFileJsonRecursivelySync, using Ofn.mergeObjectsDeep instead of Object.asign.

0.7.9 / 2021-04-30

  • Update oro-functions-client to v0.10.1.

0.7.7 / 2021-04-30

  • Update oro-functions-client to v0.9.2.

0.7.5 / 2021-04-23

  • Update oro-functions-client to v0.9.0.

0.7.4 / 2021-04-22

  • Update oro-functions-client to v0.8.1.

0.7.3 / 2021-04-22

  • Update oro-functions-client to v0.8.0.

0.7.2 / 2021-04-22

  • Update oro-functions-client to v0.7.2.

0.7.1 / 2021-04-21

  • Separate oro-functions-client from oro-functions to allow using the lib on client-side.

Note: oro-functions still doing the same, it has only the server-side functions and extends the others fromoro-functions-client.

0.6.1 / 2021-04-21

  • Update library oro-regexp to v0.1.0.

0.6.0 / 2021-04-17

  • Add method sleep.

0.5.2 / 2021-04-15

  • Fix method sanitizePath when filepath is not string.

0.5.1 / 2021-04-14

  • Fix method chunkStringByCharSize when str is number.

0.5.0 / 2021-04-12

  • Add method arraysIntersection.

0.4.0 / 2021-04-12

  • Add method getFunctionName.

0.3.1 / 2021-04-12

  • Fix no param error in setResponseOK.

0.3.0 / 2021-04-08

  • Add method jsonize.

0.2.4 / 2021-04-06

  • Replicate method as sync mode getFileJsonRecursivelySync.

0.2.3 / 2021-03-30

  • Fixed folder of method getFileJsonRecursively.

0.2.2 / 2021-03-29

  • Added npm-atob to ensure method jwkTokenDecode on Windows.

0.2.1 / 2021-03-25

  • Added methods chunkStringByCharSize.

0.1.1 / 2021-03-24

  • Fix tag async of getFileJsonRecursively.

0.1.0 / 2021-03-24

  • Added changelog.
  • Added npm fs-extra.
  • Added methods async getFileJsonRecursively.