Skip to content

Latest commit

 

History

History
1359 lines (1217 loc) · 91.8 KB

CHANGELOG.md

File metadata and controls

1359 lines (1217 loc) · 91.8 KB

v3.6.3 (Wed Jan 22 2025)

🐛 Bug Fix

🔩 Dependency Updates

Authors: 2


v3.6.2 (Wed Nov 15 2023)

🐛 Bug Fix

🔩 Dependency Updates

Authors: 3


v3.6.1 (Tue Sep 19 2023)

🐛 Bug Fix

Authors: 1


v3.6.0 (Wed Aug 23 2023)

🚀 Enhancement

🔩 Dependency Updates

Authors: 3


v3.2.0 (Mon Mar 20 2023)

🚀 Enhancement

🐛 Bug Fix

Authors: 2


v3.1.1 (Sat Feb 25 2023)

🐛 Bug Fix

  • chore: added "port" arg to serve command #58 (@jorinho)

🔩 Dependency Updates

Authors: 2


v3.1.0 (Thu Jan 12 2023)

🚀 Enhancement

🐛 Bug Fix

Authors: 2


v3.0.3 (Thu Jan 12 2023)

🐛 Bug Fix

Authors: 1


v3.0.2 (Wed Sep 28 2022)

⚠️ Pushed to master

Authors: 1


v4.0.0 (Wed Sep 28 2022)

💥 Breaking Change

🐛 Bug Fix

  • Merge pull request #47 #47 (@jorinho)
  • Updated changelog #47 (@jorinho)
  • 2.6.2 #47 (@jorinho)
  • Moved middlewares setup in a more appropriate place #47 (@jorinho)
  • Small documentation fixes #47 (@jorinho)
  • static images #45 (@jorinho)
  • Feature/exxxtend #40 (@tadaii)
  • Feature/remove UI and www #39 (@tadaii)
  • Feature/ws #38 (@tadaii)
  • Feature/prevent exit on unhandled failed promises #37 (@tadaii)
  • Merge pull request #36 #36 (@jorinho)
  • #29 Reworked the proxy workflow to modularize response hooks + used http-proxy-middleware built-in response handler + added a proxy response hook to transform hateoas links and remove their baseUrl #36 (@jorinho)
  • Document advanced proxy settings #35 (@tadaii)
  • Merge pull request #34 #34 (@jorinho)
  • Merge pull request #33 #33 (@jorinho)
  • Added a 'rs' command to restart the server (node-supervisor style) #34 (@jorinho)
  • Simplified drosse startup command #33 (@jorinho)
  • Feature/remove bodyparser #23 (@tadaii)
  • core: adapt scraper with advanced proxy config #22 (@tadaii)
  • Feature/emil for president #21 (@tadaii @jorinho)
  • various improvements, mostly db loading #18 (@jorinho)
  • added support for assets directories (aka served by express.static) + dedicated example #16 (@jorinho)
  • Feature/iomprovements #13 (@tadaii)
  • writings #12 (@jorinho)
  • Update README.md #8 (@tadaii @jorinho @dependabot[bot])
  • Update README.md #9 (@tadaii)
  • Merge pull request #5 #5 (@jorinho)
  • Split stderr msgs + improve exit msg #5 (@tadaii)
  • Fix log msgs from forked process skipping newline #5 (@tadaii)
  • Remove console log #5 (@tadaii)
  • Fix discover advertise not sent #5 (@tadaii)
  • Fork app in child process to fix reload issues from UI #5 (@tadaii)
  • Use ansi-colors instead of chalk, send logger msgs to ui, clear middlewares and templates during start, customize process title #5 (@tadaii)
  • Feature/templates and errors #4 (@tadaii)
  • Feature/session middleware example #3 (@tadaii)
  • added a throttle middleware to each route + handle cascade definition of throttling from the very top to the verb itself #2 (@jorinho)

⚠️ Pushed to master

  • docs: fix broken cusotm assets path + add bmac button (@tadaii)
  • Merge branch 'develop' (@jorinho)
  • fix CHANGELOG (@jorinho)
  • 2.7.1 (@jorinho)
  • update packages (@jorinho)
  • 2.7.0 (@jorinho)
  • Added new POST /CMD endpoint to handle internal commands (@jorinho)
  • Small bugfix to avoid a crash when a static file is not found (@jorinho)
  • Better proxy error handling + new package-lock structure (@jorinho)
  • Update drosse logo url (@tadaii)
  • Remove netlify config file => not used anymore (@tadaii)
  • 2.5.1 (@tadaii)
  • Update changelog and prevent npm to prefix version with "v". (@tadaii)
  • Merge branch 'release/2.5.0' (@tadaii)
  • Bump version to 2.4.0 (@tadaii)
  • v2.3.5 (@tadaii)
  • Improve example, update doc and changelog (@tadaii)
  • Merge tag '2.3.4' into develop (@jorinho)
  • Merge branch 'release/2.3.4' (@jorinho)
  • Replace wrong registry in package-lock files (@tadaii)
  • Update nvmrc (@tadaii)
  • Merge branch 'release/2.3.3' (@jorinho)
  • Merge tag '2.3.3' into develop (@jorinho)
  • v2.3.3 (@jorinho)
  • Proxy did send GET request with a wrong Content-Length header. Fixed. (@jorinho)
  • remove some console.log (@jorinho)
  • Merge branch 'release/2.3.2' (@jorinho)
  • Merge tag '2.3.2' into develop (@jorinho)
  • updated CHANGELOG (@jorinho)
  • v2.3.2 (@jorinho)
  • Update CHANGELOG (@tadaii)
  • Fix vorpal exit command not killing sub-process (@tadaii)
  • Merge branch 'hotfix/2.3.1' (@jorinho)
  • Merge tag '2.3.1' into develop (@jorinho)
  • updated changelog (@jorinho)
  • version bump (@jorinho)
  • added a 'hotfix' script to version patch drosse (@jorinho)
  • fix a restart issue (context lost if the function doesn't return) (@jorinho)
  • Merge tag '2.3.0' into develop (@jorinho)
  • Merge branch 'release/2.3.0' (@jorinho)
  • Updated changelog and readme (@jorinho)
  • v2.3.0 (@jorinho)
  • ui: update deps + remove local eslint config (@tadaii)
  • Use lts version of node (@tadaii)
  • www: fix spacing in summary (@tadaii)
  • Fix most deps vulnerability, 1 still to be fixed (@tadaii)
  • Layout improvements (bigger fonts) (@tadaii)
  • Add plausible analytics script (@tadaii)
  • Update code-block.pcss (@tadaii)
  • Update README.md (@tadaii)
  • www: update terminal "drosse serve" command output (@tadaii)
  • Add TOC in README (@tadaii)
  • core: allow advanced proxy config as http-proxy options (@tadaii)
  • core: make npm script runnable on windows (@tadaii)
  • core: fix dynamic file name in staticjson example (@tadaii)
  • Update deps (@tadaii)
  • Merge branch 'master' into develop (@tadaii)
  • www: fix netlify publish folder path (@tadaii)
  • www: move netlify config to repo root + remove useless configs (@tadaii)
  • Added log message if the .drosserc.js file isn't loaded for some reason. (@jorinho)
  • Merge tag '2.2.0' into develop (@jorinho)
  • Merge branch 'release/2.2.0' (@jorinho)
  • update version (@jorinho)
  • updated CHANGELOG.md (@jorinho)
  • www fix terminal text colors + improve build script (@tadaii)
  • www layout + styling fixes (@tadaii)
  • feat(www with zola+svelte): add netlify build config for www (@tadaii)
  • Fix user defined errorHandler not being loaded (@jorinho)
  • fix vulnerabilities in dependencies (@jorinho)
  • Merge branch 'release/2.1.0' (@jorinho)
  • Merge tag '2.1.0' into develop (@jorinho)
  • bump version (@jorinho)
    • added support for loki persistence adapters (@jorinho)
    • display drosse version on startup (@jorinho)
    • handle errors in services properly (@jorinho)
    • added restart function in CLI context (@jorinho)
  • Merge branch 'release/2.0.0' (@jorinho)
  • Merge tag '2.0.0' into develop (@jorinho)
  • Update README.md (@jorinho)
    • small refactoring and cleaning (@jorinho)
    • configured inter-process communication to run commands from vorpal or not (@jorinho)
  • Merge branch 'develop' into feature/command-me (@jorinho)
  • www: add icon + better color for scraping (@tadaii)
  • Always wrap app in a child process, currently breaks vorpal commands (WIP) (@tadaii)
  • update website - added new block for scraping (@jorinho)
  • Merge branch 'release/1.13.2' (@jorinho)
  • Merge tag '1.13.2' into develop (@jorinho)
  • added basePath configuration (@jorinho)
  • Merge branch 'develop' of https://github.com/jota-one/drosse into develop (@tadaii)
  • Fix READMEs (@tadaii)
  • Merge tag '1.13.1' into develop (@jorinho)
  • Merge branch 'release/1.13.1' (@jorinho)
  • updated changelog and documentation (@jorinho)
  • fix typo in website (@jorinho)
  • added a baseUrl config (@jorinho)
  • Merge branch 'release/1.13.0' (@jorinho)
  • Merge tag '1.13.0' into develop (@jorinho)
  • changelog (@jorinho)
    • converted io to a useIo hook (@jorinho)
  • www: fix audit vulnerabilities, wiating for [email protected] patch from @11ty/eleventy (@tadaii)
  • fixed CHANGELOG (@jorinho)
  • renamed 'hoover' feature into the more understandable 'scraper' (@jorinho)
  • Merge branch 'release/1.12.0' (@jorinho)
  • Merge tag '1.12.0' into develop (@jorinho)
  • hoover proxied routes (@jorinho)
  • pass drosse config and db to the vorpal CLI (@jorinho)
  • Merge branch 'release/1.11.3' (@jorinho)
  • Merge tag '1.11.3' into develop (@jorinho)
  • Added new configureExpress property in .drosserc.js to define custom configurations on the express app instance. (@jorinho)
  • Merge branch 'release/1.11.2' (@jorinho)
  • Merge tag '1.11.2' into develop (@jorinho)
  • App middlewares can now take a fourth argument (at the first place) and will then be curried and having the drosse API injected into the middleware function (@jorinho)
  • Merge branch 'release/1.11.1' (@jorinho)
  • Merge tag '1.11.1' into develop (@jorinho)
  • support async services (@jorinho)
  • Merge tag '1.11.0' into develop (@jorinho)
  • Merge branch 'release/1.11.0' (@jorinho)
  • update changelog (@jorinho)
  • bump to 1.11.0 (@jorinho)
    • Allow throttle for proxied routes (@jorinho)
  • www: use light background in temrinal in light mode + improve styling (@tadaii)
  • www: update authors + license (@tadaii)
  • core: improve session middleware example (@tadaii)
  • Update main README + logo images (@tadaii)
  • www: add theme switcher + copy npm install command in clipboard (@tadaii)
  • Merge tag '1.10.5' into develop (@tadaii)
  • Merge branch 'release/1.10.5' (@tadaii)
  • v1.10.5 (@tadaii)
  • www: use better app name in terminal animation (@tadaii)
  • Merge tag '1.10.4' into develop (@tadaii)
  • Merge branch 'release/1.10.4' (@tadaii)
  • v1.10.4 (@tadaii)
  • www: improve terminal animation (@tadaii)
  • Merge tag '1.10.3' into develop (@tadaii)
  • Merge branch 'release/1.10.3' (@tadaii)
  • v1.10.3 (@tadaii)
  • www: fix github links (@tadaii)
  • Merge tag '1.10.2' into develop (@tadaii)
  • Merge branch 'release/1.10.2' (@tadaii)
  • Merge tag '1.10.0' into develop (@tadaii)
  • v1.10.2 (@tadaii)
  • www: fix terminal animation (@tadaii)
  • Merge branch 'release/1.10.0' (@tadaii)
  • v1.10.1 (@tadaii)
  • Fix package name in www package (@tadaii)
  • v1.10.0 (@tadaii)
  • Set the correct name in package.json... (@tadaii)
  • www: update og image + add typing in terminal (@tadaii)
  • New website based on eleventy and tailwind (@tadaii)
  • Webslide for Drosse (wip) (@jorinho)
  • update CHANGELOG.md (@jorinho)
  • Added db drop command in the REPL CLI. (@jorinho)
  • fix db.get.byRef to not overwrite custom content with generic content (@jorinho)
  • added cleanFields argument in db.get.byRef query (@jorinho)
  • changed default database name to mocks.json (for easier lookup in IDE) (@jorinho)
  • update proxy example (@jorinho)
  • fix readme image (@jorinho)
  • rework proxy configuration to make them more intuitive (BREAKING CHANGE) (@jorinho)
  • added main repo readme file (@jorinho)
  • Merge tag '1.9.0' into develop (@jorinho)
  • Merge branch 'release/1.9.0' (@jorinho)
  • add package-lock for drosse core (@jorinho)
  • moved drosse into core package + configured lerna (@jorinho)
  • fix www after merge (@jorinho)
  • Merge remote-tracking branch 'site/develop' into develop (@jorinho)
  • prepare for migration into drosse monorepo ([email protected])
  • Merge remote-tracking branch 'ui/develop' into develop (@jorinho)
  • monorepo structure preparation (@jorinho)
  • move everything inside a subdirectory (before merging into drosse repo) (@jorinho)
  • Merge branch 'release/1.8.0' (@jorinho)
  • Merge tag '1.8.0' into develop (@jorinho)
  • 1.8.0 (@jorinho)
  • Added a REPL CLI with an extensible commands system (@jorinho)
  • Avoid errors in case of silent:false configuration in the child-process (@jorinho)
  • Merge branch 'release/1.7.0' (@jorinho)
  • Merge tag '1.7.0' into develop (@jorinho)
  • 1.7.0 (@jorinho)
  • Added a config property (aka state.get()) in the exposed API. (@jorinho)
  • Merge tag '1.6.0' into develop (@jorinho)
  • Merge branch 'release/1.6.0' (@jorinho)
  • 1.6.0 (@jorinho)
  • Updated changelog (@jorinho)
  • Added support for loki 'where()' method in both get and list namespaces from db API (@jorinho)
  • Added possibility to "cancel" an inherited template by passing "template": null in the DROSSE config (@jorinho)
  • Added "responseType" DROSSE config with 'file' as possible value (@jorinho)
  • Merge tag '1.5.0' into develop (@jorinho)
  • Merge branch 'release/1.5.0' (@jorinho)
  • 1.5.0 (@jorinho)
  • Merge tag '1.4.1' into develop (@tadaii)
  • Merge branch 'release/1.4.1' (@tadaii)
  • 1.4.1 (@tadaii)
  • Update changelog (@tadaii)
  • Fix routes creation order (@tadaii)
  • Merge branch 'master' into develop (@jorinho)
  • Update CHANGELOG.md (@jorinho)
  • Merge tag '1.4.0' into develop (@jorinho)
  • Merge branch 'release/1.4.0' (@jorinho)
  • handle collection as a JSON (@jorinho)
  • Update vue to v3.0.3 and adpated emits + fix Proxy issue on webkit (@tadaii)
  • Sort drosses asc/desc on home view (@tadaii)
  • Update README.md and Drosse logo (@tadaii)
  • Add pkg dev dependency (@tadaii)
  • Linting (@tadaii)
  • Fix discovery issue in server, currently a bit muddled, could need some refactoring to make use-cases clearer (@tadaii)
  • Move Logger and Editor cmpts to detail folder + use table/tr/td for routes table + implement verb filter + styling improvements (@tadaii)
  • Add Dockerfile (@tadaii)
  • Add pkg config (@tadaii)
  • Add pkg dep + config (@tadaii)
  • Add CHANGELOG.md (@tadaii)
  • Exclude pkg folder (@tadaii)
  • Add drosse-serve bin entry (@tadaii)
  • Refactor routes toggler + rename Middleware to Plugin (@tadaii)
  • New handler implementation WIP (@tadaii)
  • Remove console.log (@tadaii)
  • Show ancestors during routes filter + fix lost console logs on detail view (@tadaii)
  • Skip reserved routes in morgan + remove old logging module (@tadaii)
  • Finish routes flat/tree view switch + open/close all switch (@tadaii)
  • Add Switch component for tree/flat view + misc improvemets (@tadaii)
  • Add ribbon + "edit mode not yet implemented" alert where applicable + use 0.1s on animations instead of 0.2s (@tadaii)
  • Remove + icon in tabbar + use "crafted by Jota" svg icon in footer (@tadaii)
  • Sort drosses in home (WIP) + filter routes (WIP) + add new list view icons + hide unimplemented action buttons (@tadaii)
  • Merge tag '1.3.0' into develop (@tadaii)
  • Merge branch 'release/1.3.0' (@tadaii)
  • 1.3.0 (@tadaii)
  • added cleanFields in get requests (@jorinho)
  • more flexible update function (@jorinho)
  • use the service.collection() method in the service methods (@jorinho)
  • Merge branch 'release/1.2.0' (@jorinho)
  • Merge tag '1.2.0' into develop (@jorinho)
  • /!\ BREAKING CHANGE - new db API. Splitted 'query' namespace into 'list' and 'get' namespaces. (@jorinho)
  • Merge branch 'release/1.1.0' (@jorinho)
  • Merge tag '1.1.0' into develop (@jorinho)
  • #11 committed uuid file (@jorinho)
  • Update text => v1.0 is out! ([email protected])
  • Kill forked process on server stop (@tadaii)
  • update drosse dep ([email protected])
  • Import and forked start done (@tadaii)
  • Merge tag '1.0.0' into develop (@tadaii)
  • Merge branch 'release/1.0.0' (@tadaii)
  • 1.0.0 (@tadaii)
  • Making drosse forkable from UI (@tadaii)
  • Add describe command + rename bin/exec to bin/serve (@tadaii)
  • partly undo some brutal reordering :) (@jorinho)
  • Remove "all" verb useless code (@tadaii)
  • Display inherited handlers and middlewares with less opacity (@tadaii)
  • #10 added some inherited info for UI (@jorinho)
  • FileBrowser for new and import done (@tadaii)
  • Remove Add component (@tadaii)
  • Code reordering (@tadaii)
  • Use open cors on /UI route (@tadaii)
  • Display template + fix throttle always active (@tadaii)
  • Send routesFile and collectionsPath to drosse-ui (@tadaii)
  • Display rc and routes files + open them in editor on click (@tadaii)
  • Fix skipped routes + missing verbds (@tadaii)
  • Remove drosse from home view (@tadaii)
  • Auto-increase port if not defined (@tadaii)
  • sort routes correctly (was sorting the wrong way) (@jorinho)
  • .drosserc.js is always a JS file (@jorinho)
  • added default value for name property in state. (@jorinho)
  • added a getIdMap method in db API to retrieve customized maps for an entire collection (@jorinho)
  • linting (@jorinho)
  • proper configuration for eslint/prettier (@jorinho)
  • handle cancelled request in logger (@jorinho)
  • handle collections to be overriden on every app restart (@jorinho)
  • refactoring (@jorinho)
  • Improve handler (WIP) + open file in os-dedicated app when clicking on handler filename (@tadaii)
  • Lint! (@tadaii)
  • improved static file name guessing (@jorinho)
  • expose the 'clean' method in the API (@jorinho)
  • updated lodash + expose a 'chain' method in db API to allow custom chain queries over loki (@jorinho)
  • Use 5000 - 9999 ports range for backend (@tadaii)
  • added a 'morgan' logger middleware for nicer console logging (@jorinho)
  • expose loadStatic to the service API (@jorinho)
  • added possibility to overwrite the statically defined 'id' in a ref by some dynamic identifier (@jorinho)
  • Merge ref object with result in getRef (@tadaii)
  • Fix db update (@tadaii)
  • Remove DROSSE key in getRef (@tadaii)
  • Add db fields clean + getRef methods (@tadaii)
  • Remove console log + increase font-size in Logger (@tadaii)
  • Add logger component (WIP) + route gihlighting on request (WIP) + handler/middlewrae inheritance (WIP) (@tadaii)
  • Add query.byField + byFields methods + use DROSSE.ids key for find/update byId (@tadaii)
  • Fix error when no proxy defined (@tadaii)
  • fix merge conflicts (@tadaii)
  • Give some colors to console logs (@tadaii)
  • Fix proxies registration (@tadaii)
  • Filter non json files when loading content in db + add basic update by id method in db api. (@tadaii)
  • 0.1.13 (@tadaii)
  • Hem... (@tadaii)
  • Rollbakc logo (almost) (@tadaii)
  • Update logo in README (@tadaii)
  • made middlewares configurable and per-instance overridable from any drosserc.js file (@jorinho)
  • Ignore all mocks.db files (@tadaii)
  • Set correct verb in express route during setRoute (@tadaii)
  • Fix droos up tests in server (@tadaii)
  • explicit async methods and avoid race conditions (@jorinho)
  • remove useless header (@jorinho)
  • updated main file in package.json (@jorinho)
  • Fix drosse up on app start (@tadaii)
  • refactored route creation (@jorinho)
  • added 'start by ui' log (@jorinho)
  • Use drosse v0.1.12 (@tadaii)
  • Fix flatten routes icon (@tadaii)
  • Start, stop and restart instance on DrosseIcon click (@tadaii)
  • Define proxy targets dynamically (@tadaii)
  • 0.1.12 (@tadaii)
  • Handle start, stop and restart from UI (@tadaii)
  • added logs to understand better which static files have been tried (@jorinho)
  • update licence in package.json (@jorinho)
  • update replacer dependency (@jorinho)
  • fix method name + dump version (@jorinho)
  • Fix editor font + verb handling in service handler filename (@tadaii)
  • Handle verb in service handler filename (@tadaii)
  • Fixes shwoVirtual + undefined selected route bugs (@tadaii)
  • Use latest drosse version (@tadaii)
  • Handle middlewares (@tadaii)
  • use new jota-one/replacer lib (@jorinho)
  • Handle post service + pass res object in api (@tadaii)
  • Remove app name left margin in tabbar (@tadaii)
  • Centralize endpoints in config file + catch io errors (@tadaii)
  • Fix editor not hidden on route toggle (@tadaii)
  • Add start script for browser mode (@tadaii)
  • Exclude desktop folder (temporarily for testing) (@tadaii)
  • Load editor once in app component, persist routes, add io module (@tadaii)
  • Nested routes + edit handler (read mode) done with some issues here and there (@tadaii)
  • Use drosse routes parser + minor style fixes (@tadaii)
  • Refactor parser for reuse in drosse-ui (@tadaii)
  • Communication with drosses + read mode done except for routes and drosses sorting on home (@tadaii)
  • UI integration: add uuid, rename use files, prevent using reserved routes, handle process exit communication with ui (@tadaii)
  • Add Home view, use native css variables + switchable light/dark theme (@tadaii)
  • Use local sockjs client js file (@tadaii)
  • Use drosse.dev as homepage (@tadaii)
  • Use dynamic port for backend in development and production modes (@tadaii)
  • Add drosse favicon (@tadaii)
  • Styling improvements (@tadaii)
  • Improve client websocket logging (@tadaii)
  • Fix "by jota" alignement ([email protected])
  • Remove duplicates images ([email protected])
  • Add some spacing ([email protected])
  • Fix a11y and icons styling issues ([email protected])
  • Use @2x and @3x images for HR devices ([email protected])
  • Fix og image size + bg ([email protected])
  • Fix og image path (again) ([email protected])
  • Fix of image path ([email protected])
  • Coming soon version done ([email protected])
  • Add index.html ([email protected])
  • Use MIT License (@tadaii)
  • Add MIT LIcense (@tadaii)
  • Initial commit (@tadaii)
  • Listen to localhostas well as local ip address (@tadaii)
  • Add ip address + broadcast requests (@tadaii)
  • Add complex routes example (@tadaii)
  • Concurrently run server and ui in dev mode (@tadaii)
  • Log drosse instance up / down infos (@tadaii)
  • Add basic cors and /UI route for ui access + advertise more detailed infos (@tadaii)
  • Code style fix (@tadaii)
  • Add server with discover system and websocket (@tadaii)
  • Small styling fixes (@tadaii)
  • Add discover for drosse-ui (@tadaii)
    • allow connection from outside the host (0.0.0.0) (@jorinho)
    • dynamic mock service -> first shot ! (@jorinho)
    • added collections system with autoloader into loki (@jorinho)
    • added a fix to allow proxying POST (and hopefully PUT) requests (@jorinho)
  • Add jota footer (@tadaii)
  • Buttons focus in pink (@tadaii)
  • Add title to handler buttons + add route delete button + make handler take column full width (@tadaii)
  • Fix z-index on route modifier left border (@tadaii)
  • Improve fluid input size update (@tadaii)
  • Fix input prop type (@tadaii)
  • Add "add route" component (@tadaii)
  • Route static styling done (@tadaii)
  • Improve meta infos (@tadaii)
  • Add new help blue + go on with route styling (@tadaii)
  • Add help (@tadaii)
  • Refactor buttons + start styling route (@tadaii)
  • Move to vue 3 (@tadaii)
  • Colors, fonts, basic tabbar and server view, fluid inputs (@tadaii)
  • init (@tadaii)
  • 🏗️ (init) added proxy feature for not found requests (@jorinho)
  • 🏗️ (init) register bin in package.json to use with npx (@jorinho)
  • 🏗️ (init) try to make the script executable + renaming (@jorinho)
  • 🏗️ (init) base features and architecture (@jorinho)
  • Cleanup logo (@tadaii)
  • Add logo (@tadaii)
  • 🏗️ (init) Basic project configuration (@jorinho)
  • first commit (@tadaii)

🔩 Dependency Updates

Authors: 6


v3.0.0 (Wed Sep 28 2022)

💥 Breaking Change

🐛 Bug Fix

  • Merge pull request #47 #47 (@jorinho)
  • Updated changelog #47 (@jorinho)
  • 2.6.2 #47 (@jorinho)
  • Moved middlewares setup in a more appropriate place #47 (@jorinho)
  • Small documentation fixes #47 (@jorinho)
  • static images #45 (@jorinho)
  • Feature/exxxtend #40 (@tadaii)
  • Feature/remove UI and www #39 (@tadaii)
  • Feature/ws #38 (@tadaii)
  • Feature/prevent exit on unhandled failed promises #37 (@tadaii)
  • Merge pull request #36 #36 (@jorinho)
  • #29 Reworked the proxy workflow to modularize response hooks + used http-proxy-middleware built-in response handler + added a proxy response hook to transform hateoas links and remove their baseUrl #36 (@jorinho)
  • Document advanced proxy settings #35 (@tadaii)
  • Merge pull request #34 #34 (@jorinho)
  • Merge pull request #33 #33 (@jorinho)
  • Added a 'rs' command to restart the server (node-supervisor style) #34 (@jorinho)
  • Simplified drosse startup command #33 (@jorinho)
  • Feature/remove bodyparser #23 (@tadaii)
  • core: adapt scraper with advanced proxy config #22 (@tadaii)
  • Feature/emil for president #21 (@tadaii @jorinho)
  • various improvements, mostly db loading #18 (@jorinho)
  • added support for assets directories (aka served by express.static) + dedicated example #16 (@jorinho)
  • Feature/iomprovements #13 (@tadaii)
  • writings #12 (@jorinho)
  • Update README.md #8 (@tadaii @jorinho @dependabot[bot])
  • Update README.md #9 (@tadaii)
  • Merge pull request #5 #5 (@jorinho)
  • Split stderr msgs + improve exit msg #5 (@tadaii)
  • Fix log msgs from forked process skipping newline #5 (@tadaii)
  • Remove console log #5 (@tadaii)
  • Fix discover advertise not sent #5 (@tadaii)
  • Fork app in child process to fix reload issues from UI #5 (@tadaii)
  • Use ansi-colors instead of chalk, send logger msgs to ui, clear middlewares and templates during start, customize process title #5 (@tadaii)
  • Feature/templates and errors #4 (@tadaii)
  • Feature/session middleware example #3 (@tadaii)
  • added a throttle middleware to each route + handle cascade definition of throttling from the very top to the verb itself #2 (@jorinho)

⚠️ Pushed to master

  • Merge branch 'develop' (@jorinho)
  • fix CHANGELOG (@jorinho)
  • 2.7.1 (@jorinho)
  • update packages (@jorinho)
  • 2.7.0 (@jorinho)
  • Added new POST /CMD endpoint to handle internal commands (@jorinho)
  • Small bugfix to avoid a crash when a static file is not found (@jorinho)
  • Better proxy error handling + new package-lock structure (@jorinho)
  • Update drosse logo url (@tadaii)
  • Remove netlify config file => not used anymore (@tadaii)
  • 2.5.1 (@tadaii)
  • Update changelog and prevent npm to prefix version with "v". (@tadaii)
  • Merge branch 'release/2.5.0' (@tadaii)
  • Bump version to 2.4.0 (@tadaii)
  • v2.3.5 (@tadaii)
  • Improve example, update doc and changelog (@tadaii)
  • Merge tag '2.3.4' into develop (@jorinho)
  • Merge branch 'release/2.3.4' (@jorinho)
  • Replace wrong registry in package-lock files (@tadaii)
  • Update nvmrc (@tadaii)
  • Merge branch 'release/2.3.3' (@jorinho)
  • Merge tag '2.3.3' into develop (@jorinho)
  • v2.3.3 (@jorinho)
  • Proxy did send GET request with a wrong Content-Length header. Fixed. (@jorinho)
  • remove some console.log (@jorinho)
  • Merge branch 'release/2.3.2' (@jorinho)
  • Merge tag '2.3.2' into develop (@jorinho)
  • updated CHANGELOG (@jorinho)
  • v2.3.2 (@jorinho)
  • Update CHANGELOG (@tadaii)
  • Fix vorpal exit command not killing sub-process (@tadaii)
  • Merge branch 'hotfix/2.3.1' (@jorinho)
  • Merge tag '2.3.1' into develop (@jorinho)
  • updated changelog (@jorinho)
  • version bump (@jorinho)
  • added a 'hotfix' script to version patch drosse (@jorinho)
  • fix a restart issue (context lost if the function doesn't return) (@jorinho)
  • Merge tag '2.3.0' into develop (@jorinho)
  • Merge branch 'release/2.3.0' (@jorinho)
  • Updated changelog and readme (@jorinho)
  • v2.3.0 (@jorinho)
  • ui: update deps + remove local eslint config (@tadaii)
  • Use lts version of node (@tadaii)
  • www: fix spacing in summary (@tadaii)
  • Fix most deps vulnerability, 1 still to be fixed (@tadaii)
  • Layout improvements (bigger fonts) (@tadaii)
  • Add plausible analytics script (@tadaii)
  • Update code-block.pcss (@tadaii)
  • Update README.md (@tadaii)
  • www: update terminal "drosse serve" command output (@tadaii)
  • Add TOC in README (@tadaii)
  • core: allow advanced proxy config as http-proxy options (@tadaii)
  • core: make npm script runnable on windows (@tadaii)
  • core: fix dynamic file name in staticjson example (@tadaii)
  • Update deps (@tadaii)
  • Merge branch 'master' into develop (@tadaii)
  • www: fix netlify publish folder path (@tadaii)
  • www: move netlify config to repo root + remove useless configs (@tadaii)
  • Added log message if the .drosserc.js file isn't loaded for some reason. (@jorinho)
  • Merge tag '2.2.0' into develop (@jorinho)
  • Merge branch 'release/2.2.0' (@jorinho)
  • update version (@jorinho)
  • updated CHANGELOG.md (@jorinho)
  • www fix terminal text colors + improve build script (@tadaii)
  • www layout + styling fixes (@tadaii)
  • feat(www with zola+svelte): add netlify build config for www (@tadaii)
  • Fix user defined errorHandler not being loaded (@jorinho)
  • fix vulnerabilities in dependencies (@jorinho)
  • Merge branch 'release/2.1.0' (@jorinho)
  • Merge tag '2.1.0' into develop (@jorinho)
  • bump version (@jorinho)
    • added support for loki persistence adapters (@jorinho)
    • display drosse version on startup (@jorinho)
    • handle errors in services properly (@jorinho)
    • added restart function in CLI context (@jorinho)
  • Merge branch 'release/2.0.0' (@jorinho)
  • Merge tag '2.0.0' into develop (@jorinho)
  • Update README.md (@jorinho)
    • small refactoring and cleaning (@jorinho)
    • configured inter-process communication to run commands from vorpal or not (@jorinho)
  • Merge branch 'develop' into feature/command-me (@jorinho)
  • www: add icon + better color for scraping (@tadaii)
  • Always wrap app in a child process, currently breaks vorpal commands (WIP) (@tadaii)
  • update website - added new block for scraping (@jorinho)
  • Merge branch 'release/1.13.2' (@jorinho)
  • Merge tag '1.13.2' into develop (@jorinho)
  • added basePath configuration (@jorinho)
  • Merge branch 'develop' of https://github.com/jota-one/drosse into develop (@tadaii)
  • Fix READMEs (@tadaii)
  • Merge tag '1.13.1' into develop (@jorinho)
  • Merge branch 'release/1.13.1' (@jorinho)
  • updated changelog and documentation (@jorinho)
  • fix typo in website (@jorinho)
  • added a baseUrl config (@jorinho)
  • Merge branch 'release/1.13.0' (@jorinho)
  • Merge tag '1.13.0' into develop (@jorinho)
  • changelog (@jorinho)
    • converted io to a useIo hook (@jorinho)
  • www: fix audit vulnerabilities, wiating for [email protected] patch from @11ty/eleventy (@tadaii)
  • fixed CHANGELOG (@jorinho)
  • renamed 'hoover' feature into the more understandable 'scraper' (@jorinho)
  • Merge branch 'release/1.12.0' (@jorinho)
  • Merge tag '1.12.0' into develop (@jorinho)
  • hoover proxied routes (@jorinho)
  • pass drosse config and db to the vorpal CLI (@jorinho)
  • Merge branch 'release/1.11.3' (@jorinho)
  • Merge tag '1.11.3' into develop (@jorinho)
  • Added new configureExpress property in .drosserc.js to define custom configurations on the express app instance. (@jorinho)
  • Merge branch 'release/1.11.2' (@jorinho)
  • Merge tag '1.11.2' into develop (@jorinho)
  • App middlewares can now take a fourth argument (at the first place) and will then be curried and having the drosse API injected into the middleware function (@jorinho)
  • Merge branch 'release/1.11.1' (@jorinho)
  • Merge tag '1.11.1' into develop (@jorinho)
  • support async services (@jorinho)
  • Merge tag '1.11.0' into develop (@jorinho)
  • Merge branch 'release/1.11.0' (@jorinho)
  • update changelog (@jorinho)
  • bump to 1.11.0 (@jorinho)
    • Allow throttle for proxied routes (@jorinho)
  • www: use light background in temrinal in light mode + improve styling (@tadaii)
  • www: update authors + license (@tadaii)
  • core: improve session middleware example (@tadaii)
  • Update main README + logo images (@tadaii)
  • www: add theme switcher + copy npm install command in clipboard (@tadaii)
  • Merge tag '1.10.5' into develop (@tadaii)
  • Merge branch 'release/1.10.5' (@tadaii)
  • v1.10.5 (@tadaii)
  • www: use better app name in terminal animation (@tadaii)
  • Merge tag '1.10.4' into develop (@tadaii)
  • Merge branch 'release/1.10.4' (@tadaii)
  • v1.10.4 (@tadaii)
  • www: improve terminal animation (@tadaii)
  • Merge tag '1.10.3' into develop (@tadaii)
  • Merge branch 'release/1.10.3' (@tadaii)
  • v1.10.3 (@tadaii)
  • www: fix github links (@tadaii)
  • Merge tag '1.10.2' into develop (@tadaii)
  • Merge branch 'release/1.10.2' (@tadaii)
  • Merge tag '1.10.0' into develop (@tadaii)
  • v1.10.2 (@tadaii)
  • www: fix terminal animation (@tadaii)
  • Merge branch 'release/1.10.0' (@tadaii)
  • v1.10.1 (@tadaii)
  • Fix package name in www package (@tadaii)
  • v1.10.0 (@tadaii)
  • Set the correct name in package.json... (@tadaii)
  • www: update og image + add typing in terminal (@tadaii)
  • New website based on eleventy and tailwind (@tadaii)
  • Webslide for Drosse (wip) (@jorinho)
  • update CHANGELOG.md (@jorinho)
  • Added db drop command in the REPL CLI. (@jorinho)
  • fix db.get.byRef to not overwrite custom content with generic content (@jorinho)
  • added cleanFields argument in db.get.byRef query (@jorinho)
  • changed default database name to mocks.json (for easier lookup in IDE) (@jorinho)
  • update proxy example (@jorinho)
  • fix readme image (@jorinho)
  • rework proxy configuration to make them more intuitive (BREAKING CHANGE) (@jorinho)
  • added main repo readme file (@jorinho)
  • Merge tag '1.9.0' into develop (@jorinho)
  • Merge branch 'release/1.9.0' (@jorinho)
  • add package-lock for drosse core (@jorinho)
  • moved drosse into core package + configured lerna (@jorinho)
  • fix www after merge (@jorinho)
  • Merge remote-tracking branch 'site/develop' into develop (@jorinho)
  • prepare for migration into drosse monorepo ([email protected])
  • Merge remote-tracking branch 'ui/develop' into develop (@jorinho)
  • monorepo structure preparation (@jorinho)
  • move everything inside a subdirectory (before merging into drosse repo) (@jorinho)
  • Merge branch 'release/1.8.0' (@jorinho)
  • Merge tag '1.8.0' into develop (@jorinho)
  • 1.8.0 (@jorinho)
  • Added a REPL CLI with an extensible commands system (@jorinho)
  • Avoid errors in case of silent:false configuration in the child-process (@jorinho)
  • Merge branch 'release/1.7.0' (@jorinho)
  • Merge tag '1.7.0' into develop (@jorinho)
  • 1.7.0 (@jorinho)
  • Added a config property (aka state.get()) in the exposed API. (@jorinho)
  • Merge tag '1.6.0' into develop (@jorinho)
  • Merge branch 'release/1.6.0' (@jorinho)
  • 1.6.0 (@jorinho)
  • Updated changelog (@jorinho)
  • Added support for loki 'where()' method in both get and list namespaces from db API (@jorinho)
  • Added possibility to "cancel" an inherited template by passing "template": null in the DROSSE config (@jorinho)
  • Added "responseType" DROSSE config with 'file' as possible value (@jorinho)
  • Merge tag '1.5.0' into develop (@jorinho)
  • Merge branch 'release/1.5.0' (@jorinho)
  • 1.5.0 (@jorinho)
  • Merge tag '1.4.1' into develop (@tadaii)
  • Merge branch 'release/1.4.1' (@tadaii)
  • 1.4.1 (@tadaii)
  • Update changelog (@tadaii)
  • Fix routes creation order (@tadaii)
  • Merge branch 'master' into develop (@jorinho)
  • Update CHANGELOG.md (@jorinho)
  • Merge tag '1.4.0' into develop (@jorinho)
  • Merge branch 'release/1.4.0' (@jorinho)
  • handle collection as a JSON (@jorinho)
  • Update vue to v3.0.3 and adpated emits + fix Proxy issue on webkit (@tadaii)
  • Sort drosses asc/desc on home view (@tadaii)
  • Update README.md and Drosse logo (@tadaii)
  • Add pkg dev dependency (@tadaii)
  • Linting (@tadaii)
  • Fix discovery issue in server, currently a bit muddled, could need some refactoring to make use-cases clearer (@tadaii)
  • Move Logger and Editor cmpts to detail folder + use table/tr/td for routes table + implement verb filter + styling improvements (@tadaii)
  • Add Dockerfile (@tadaii)
  • Add pkg config (@tadaii)
  • Add pkg dep + config (@tadaii)
  • Add CHANGELOG.md (@tadaii)
  • Exclude pkg folder (@tadaii)
  • Add drosse-serve bin entry (@tadaii)
  • Refactor routes toggler + rename Middleware to Plugin (@tadaii)
  • New handler implementation WIP (@tadaii)
  • Remove console.log (@tadaii)
  • Show ancestors during routes filter + fix lost console logs on detail view (@tadaii)
  • Skip reserved routes in morgan + remove old logging module (@tadaii)
  • Finish routes flat/tree view switch + open/close all switch (@tadaii)
  • Add Switch component for tree/flat view + misc improvemets (@tadaii)
  • Add ribbon + "edit mode not yet implemented" alert where applicable + use 0.1s on animations instead of 0.2s (@tadaii)
  • Remove + icon in tabbar + use "crafted by Jota" svg icon in footer (@tadaii)
  • Sort drosses in home (WIP) + filter routes (WIP) + add new list view icons + hide unimplemented action buttons (@tadaii)
  • Merge tag '1.3.0' into develop (@tadaii)
  • Merge branch 'release/1.3.0' (@tadaii)
  • 1.3.0 (@tadaii)
  • added cleanFields in get requests (@jorinho)
  • more flexible update function (@jorinho)
  • use the service.collection() method in the service methods (@jorinho)
  • Merge branch 'release/1.2.0' (@jorinho)
  • Merge tag '1.2.0' into develop (@jorinho)
  • /!\ BREAKING CHANGE - new db API. Splitted 'query' namespace into 'list' and 'get' namespaces. (@jorinho)
  • Merge branch 'release/1.1.0' (@jorinho)
  • Merge tag '1.1.0' into develop (@jorinho)
  • #11 committed uuid file (@jorinho)
  • Update text => v1.0 is out! ([email protected])
  • Kill forked process on server stop (@tadaii)
  • update drosse dep ([email protected])
  • Import and forked start done (@tadaii)
  • Merge tag '1.0.0' into develop (@tadaii)
  • Merge branch 'release/1.0.0' (@tadaii)
  • 1.0.0 (@tadaii)
  • Making drosse forkable from UI (@tadaii)
  • Add describe command + rename bin/exec to bin/serve (@tadaii)
  • partly undo some brutal reordering :) (@jorinho)
  • Remove "all" verb useless code (@tadaii)
  • Display inherited handlers and middlewares with less opacity (@tadaii)
  • #10 added some inherited info for UI (@jorinho)
  • FileBrowser for new and import done (@tadaii)
  • Remove Add component (@tadaii)
  • Code reordering (@tadaii)
  • Use open cors on /UI route (@tadaii)
  • Display template + fix throttle always active (@tadaii)
  • Send routesFile and collectionsPath to drosse-ui (@tadaii)
  • Display rc and routes files + open them in editor on click (@tadaii)
  • Fix skipped routes + missing verbds (@tadaii)
  • Remove drosse from home view (@tadaii)
  • Auto-increase port if not defined (@tadaii)
  • sort routes correctly (was sorting the wrong way) (@jorinho)
  • .drosserc.js is always a JS file (@jorinho)
  • added default value for name property in state. (@jorinho)
  • added a getIdMap method in db API to retrieve customized maps for an entire collection (@jorinho)
  • linting (@jorinho)
  • proper configuration for eslint/prettier (@jorinho)
  • handle cancelled request in logger (@jorinho)
  • handle collections to be overriden on every app restart (@jorinho)
  • refactoring (@jorinho)
  • Improve handler (WIP) + open file in os-dedicated app when clicking on handler filename (@tadaii)
  • Lint! (@tadaii)
  • improved static file name guessing (@jorinho)
  • expose the 'clean' method in the API (@jorinho)
  • updated lodash + expose a 'chain' method in db API to allow custom chain queries over loki (@jorinho)
  • Use 5000 - 9999 ports range for backend (@tadaii)
  • added a 'morgan' logger middleware for nicer console logging (@jorinho)
  • expose loadStatic to the service API (@jorinho)
  • added possibility to overwrite the statically defined 'id' in a ref by some dynamic identifier (@jorinho)
  • Merge ref object with result in getRef (@tadaii)
  • Fix db update (@tadaii)
  • Remove DROSSE key in getRef (@tadaii)
  • Add db fields clean + getRef methods (@tadaii)
  • Remove console log + increase font-size in Logger (@tadaii)
  • Add logger component (WIP) + route gihlighting on request (WIP) + handler/middlewrae inheritance (WIP) (@tadaii)
  • Add query.byField + byFields methods + use DROSSE.ids key for find/update byId (@tadaii)
  • Fix error when no proxy defined (@tadaii)
  • fix merge conflicts (@tadaii)
  • Give some colors to console logs (@tadaii)
  • Fix proxies registration (@tadaii)
  • Filter non json files when loading content in db + add basic update by id method in db api. (@tadaii)
  • 0.1.13 (@tadaii)
  • Hem... (@tadaii)
  • Rollbakc logo (almost) (@tadaii)
  • Update logo in README (@tadaii)
  • made middlewares configurable and per-instance overridable from any drosserc.js file (@jorinho)
  • Ignore all mocks.db files (@tadaii)
  • Set correct verb in express route during setRoute (@tadaii)
  • Fix droos up tests in server (@tadaii)
  • explicit async methods and avoid race conditions (@jorinho)
  • remove useless header (@jorinho)
  • updated main file in package.json (@jorinho)
  • Fix drosse up on app start (@tadaii)
  • refactored route creation (@jorinho)
  • added 'start by ui' log (@jorinho)
  • Use drosse v0.1.12 (@tadaii)
  • Fix flatten routes icon (@tadaii)
  • Start, stop and restart instance on DrosseIcon click (@tadaii)
  • Define proxy targets dynamically (@tadaii)
  • 0.1.12 (@tadaii)
  • Handle start, stop and restart from UI (@tadaii)
  • added logs to understand better which static files have been tried (@jorinho)
  • update licence in package.json (@jorinho)
  • update replacer dependency (@jorinho)
  • fix method name + dump version (@jorinho)
  • Fix editor font + verb handling in service handler filename (@tadaii)
  • Handle verb in service handler filename (@tadaii)
  • Fixes shwoVirtual + undefined selected route bugs (@tadaii)
  • Use latest drosse version (@tadaii)
  • Handle middlewares (@tadaii)
  • use new jota-one/replacer lib (@jorinho)
  • Handle post service + pass res object in api (@tadaii)
  • Remove app name left margin in tabbar (@tadaii)
  • Centralize endpoints in config file + catch io errors (@tadaii)
  • Fix editor not hidden on route toggle (@tadaii)
  • Add start script for browser mode (@tadaii)
  • Exclude desktop folder (temporarily for testing) (@tadaii)
  • Load editor once in app component, persist routes, add io module (@tadaii)
  • Nested routes + edit handler (read mode) done with some issues here and there (@tadaii)
  • Use drosse routes parser + minor style fixes (@tadaii)
  • Refactor parser for reuse in drosse-ui (@tadaii)
  • Communication with drosses + read mode done except for routes and drosses sorting on home (@tadaii)
  • UI integration: add uuid, rename use files, prevent using reserved routes, handle process exit communication with ui (@tadaii)
  • Add Home view, use native css variables + switchable light/dark theme (@tadaii)
  • Use local sockjs client js file (@tadaii)
  • Use drosse.dev as homepage (@tadaii)
  • Use dynamic port for backend in development and production modes (@tadaii)
  • Add drosse favicon (@tadaii)
  • Styling improvements (@tadaii)
  • Improve client websocket logging (@tadaii)
  • Fix "by jota" alignement ([email protected])
  • Remove duplicates images ([email protected])
  • Add some spacing ([email protected])
  • Fix a11y and icons styling issues ([email protected])
  • Use @2x and @3x images for HR devices ([email protected])
  • Fix og image size + bg ([email protected])
  • Fix og image path (again) ([email protected])
  • Fix of image path ([email protected])
  • Coming soon version done ([email protected])
  • Add index.html ([email protected])
  • Use MIT License (@tadaii)
  • Add MIT LIcense (@tadaii)
  • Initial commit (@tadaii)
  • Listen to localhostas well as local ip address (@tadaii)
  • Add ip address + broadcast requests (@tadaii)
  • Add complex routes example (@tadaii)
  • Concurrently run server and ui in dev mode (@tadaii)
  • Log drosse instance up / down infos (@tadaii)
  • Add basic cors and /UI route for ui access + advertise more detailed infos (@tadaii)
  • Code style fix (@tadaii)
  • Add server with discover system and websocket (@tadaii)
  • Small styling fixes (@tadaii)
  • Add discover for drosse-ui (@tadaii)
    • allow connection from outside the host (0.0.0.0) (@jorinho)
    • dynamic mock service -> first shot ! (@jorinho)
    • added collections system with autoloader into loki (@jorinho)
    • added a fix to allow proxying POST (and hopefully PUT) requests (@jorinho)
  • Add jota footer (@tadaii)
  • Buttons focus in pink (@tadaii)
  • Add title to handler buttons + add route delete button + make handler take column full width (@tadaii)
  • Fix z-index on route modifier left border (@tadaii)
  • Improve fluid input size update (@tadaii)
  • Fix input prop type (@tadaii)
  • Add "add route" component (@tadaii)
  • Route static styling done (@tadaii)
  • Improve meta infos (@tadaii)
  • Add new help blue + go on with route styling (@tadaii)
  • Add help (@tadaii)
  • Refactor buttons + start styling route (@tadaii)
  • Move to vue 3 (@tadaii)
  • Colors, fonts, basic tabbar and server view, fluid inputs (@tadaii)
  • init (@tadaii)
  • 🏗️ (init) added proxy feature for not found requests (@jorinho)
  • 🏗️ (init) register bin in package.json to use with npx (@jorinho)
  • 🏗️ (init) try to make the script executable + renaming (@jorinho)
  • 🏗️ (init) base features and architecture (@jorinho)
  • Cleanup logo (@tadaii)
  • Add logo (@tadaii)
  • 🏗️ (init) Basic project configuration (@jorinho)
  • first commit (@tadaii)

🔩 Dependency Updates

Authors: 6


Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

2.7.1 - 2022-09-17

Fixed

Some dependencies fixes

2.7.0 - 2022-08-31

Added

Added new reserved endpoint /CMD which can receive a POST call to trigger some internal or custom Drosse command.

2.6.2 - 2022-05-17

Fixed

  • Apply custom middlewares after body parsing in order to have a defined req.body in the middlewares

2.6.1 - 2022-04-24

Fixed

  • Small fix to avoid app crash when a static file is not found

2.6.0 - 2022-03-30

Added

  • Added support for file types other than JSON in static mocks

2.5.2 - 2022-03-14

Changed

  • If a proxied call fails, it will now fallback to the body value of the proxied route if any, or to an empty JSON object.
  • Changed development node and npm version to LTS and therefore changed the package-lock.json format to v2.

2.5.1 - 2021-12-17

Removed

  • Removed tags prefixed with v.

2.5.0 - 2021-12-17

Added

  • SockJS example to demonstrate how Drosse can be extended on the http Server instance.

Changed

  • BREAKING CHANGE: The configureExpress now takes the object { server, app, db} as argument instead of just app as it used to be until now, which allows users to hook into the http server before it starts (check the sockjs example).

2.4.0 - 2021-12-06

Added

  • Support for websocket connections.
  • Websocket example to demonstrate how Drosse can be extended to mock a realtime backend with websocket.

2.3.4 - 2021-11-25

Fixed

  • Fix ERR_HTTP_HEADERS_SENT during proxyRes callback.

2.3.3 - 2021-10-08

Fixed

  • Proxy did send GET request with a wrong Content-Length header. Fixed.

2.3.2 - 2021-09-08

Fixed

  • The curly braces parameters are really replaced inside static json now.

Changed

  • Reworked the proxy workflow to modularize response hooks + used http-proxy-middleware built-in response handler.

Added

  • Added a proxy response hook to transform hateoas links and remove their baseUrl (useful to avoid CORS issue when calling an hateoas API through Drosse's proxy)

2.3.1 - 2021-08-31

Fixed

  • Fix an issue when running the exit command in CLI. A node sub-process was staying alive when it should have been killed.
  • Fix an issue when running the rs command in CLI. The server was restarted with CLI context lost.

2.3.0 - 2021-08-30

Added

  • Added log message if the .drosserc.js file isn't loaded for some reason.
  • Added new 'rs' command in CLI to restart the server

Changed

  • Simplified startup script. If no -r or --root param is provided, the first term passed after the command name will be taken as root directory.

2.2.0 - 2021-05-25

Fixed

  • custom errorHandler was not loaded
  • dependencies issues

2.1.0 - 2021-04-17

Added

  • Added a 'restart' function in the CLI context
  • Added drosse version on startup
  • Added a dbAdapter config property to allow database persistence adapter change. Supports custom adapters.

Fixed

  • Error handling in services

2.0.0 - 2021-03-22

Changed

  • Drosse runs now at 2 different layers. When it's started, it will start the express app in a child process and keep the CLI on the parent process. This will be helpful to offer a better control on the express app from external tools, like e2e testing frameworks or the upcoming Drosse-UI. And this separates as well the CLI (vorpal) layer, which needs to stay an Interface and not be mixed with business logic, from the pure app commands layer.

1.13.2 - 2021-03-10

Added

  • added a basePath config

1.13.1 - 2021-03-09

Added

  • added a baseUrl config

1.13.0 - 2021-03-05

Added

  • auto scraping mode, no service needed
  • fallback from static files to scraped files

Changed

  • renamed 'hoover' feature to 'scraper'

1.12.0 - 2021-02-26

Added

  • new route option 'hoover' to use along with 'proxy'. Allow to save proxied route response body as a drosse mock content.

Changed

  • Pass drosse config (state) and db to the vorpal CLI. Which allows to make db queries in CLI commands.

1.11.3 - 2021-02-25

Added

  • Added new configureExpress property in .drosserc.js to define custom configurations on the express app instance.

1.11.2 - 2021-02-24

Changed

  • App middlewares can now take a fourth argument (at the first place) and will then be curried and having the drosse API injected into the middleware function

1.11.1 - 2021-02-18

Added

  • Support for async services

1.11.0 - 2021-02-12

Added

  • Allow throttle for proxied routes
  • Allow to define throttle only with min or max

1.10.0 - 2021-01-20

Changed

  • Changed the proxy configuration to make it actually usable intuitively. From now, the URL path to where the proxy is defined is removed from the proxied path.

Added

  • Added db drop command in the REPL CLI.
  • Added documentation and examples for the proxy feature.
  • Added documentation for the assets feature.
  • Added documentation for the template feature.
  • Added documentation for the DB api.

Fixed

  • Fix db.get.byRef to not overwrite custom content with generic content

1.9.0 - 2021-01-13

Changed

  • Changed the Drosse repository to a monorepo. Now it holds as well drosse UI and drosse website.

1.8.0 - 2021-01-05

Added

  • Added a REPL CLI with an extensible command system.

Fixed

  • Avoid errors in case of silent:false configuration in the child-process

1.7.0 - 2020-12-30

Added

  • Added a config property (aka state.get()) in the exposed API.

1.6.0 - 2020-12-24

Added

  • Added responseType DROSSE config with "file" as possible value.
  • Added possibility to cancel an inherited template by passing "template": null in the DROSSE config object.
  • Added support for loki where() method in both db.get and db.list namespaces from db API.

1.5.0 - 2020-12-18

Added

  • Support for static assets through the assets keyword in DROSSE object.

1.4.1 - 2020-12-01

Fixed

  • Fix routes creation order

1.4.0 - 2020-12-01

Added

  • Add drosse-serve bin entry in package.json
  • A collection can be defined as a unique JSON file containing an array of objects.

Changed

  • Skip reserved routes in logging module
  • Improved logging on startup

Removed

  • Remove old logging module

1.3.0 - 2020-11-19

TODO

1.2.0 - 2020-11-17

TODO

1.1.0 - 2020-11-10

TODO

1.0.0 - 2020-10-28

TODO