- ✅ Ticket 1.1: Estructura Clean Architecture en backend - ✅ Ticket 1.2: Schemas Zod compartidos - ✅ Ticket 1.3: Refactorización drugs.ts (1362 → 8 archivos modulares) - ✅ Ticket 1.4: Refactorización procedures.ts (3583 → 6 archivos modulares) - ✅ Ticket 1.5: Eliminación de duplicidades (~50 líneas) Cambios principales: - Creada estructura Clean Architecture en backend/src/ - Schemas Zod compartidos en backend/src/shared/schemas/ - Refactorización modular de drugs y procedures - Utilidades genéricas en src/utils/ (filter, validation) - Eliminados scripts obsoletos y documentación antigua - Corregidos errores: QueryClient, import test-error-handling - Build verificado y funcionando correctamente
1.1 KiB
1.1 KiB
2.1.0
- fix: issue where
clear()is still keeping references to the elements (#47) - refactor: performance optimizations for growth and array copy (#43)
- refactor: performance optimizations for toArray and fromArray (#46)
- test: add additional benchmarks for queue growth and
toArray(#45)
2.0.1
- fix(types): incorrect return type on
size()
2.0.0
- fix!:
push&unshiftnow acceptundefinedvalues to match behaviour ofArray(fixes #25) (#35)- This is only a BREAKING change if you are currently expecting
push(undefined)andunshift(undefined)to do nothing - the new behaviour now correctly adds undefined values to the queue. - Note: behaviour of
push()&unshift()(no arguments) remains unchanged (nothing gets added to the queue). - Note: If you need to differentiate between
undefinedvalues in the queue and the return value ofpop()then check the queue.lengthbefore popping.
- This is only a BREAKING change if you are currently expecting
- fix: incorrect methods in types definition file
1.5.1
- perf: minor performance tweak when growing queue size (#29)
1.5.0
- feat: adds capacity option for circular buffers (#27)