Revamp Demo and Minor fixes
[18.5.0] — 2026-06-03
Fixed
- Scoped
NguiAutoCompleteServiceper-component instance (was a module singleton — multiple simultaneous
<ngui-auto-complete>components overwrote each other'ssourceproperty causing a runtime crash) isLoadingno longer stays stucktrueafter a failed HTTP request —errorhandler now resets itngOnDestroysubscription teardown: replaced invalidEventEmitter.unsubscribe()calls with proper
RxJSSubscriptionmanagement viadropdownSubs- Replaced
UntypedFormControl/UntypedFormGroupwith typedFormControl/FormGroup - Root
.eslintrc.jsonreferenced non-existente2e/tsconfig.json— removed - Project ESLint configs used file-relative tsconfig paths — changed to workspace-root-relative
demo:prefixinangular.jsonwasdocsinstead ofapp- Removed broken
ctCypress component-test target from the libraryangular.jsonentry
(referenced non-existentauto-complete:servetarget) auto-select-first-itemdemo was missing[auto-select-first-item]="true"— feature was never active
Changed
- Replaced deprecated
karma-coverage-istanbul-reporterwithkarma-coverage - Removed unused
@types/jasminewd2(Protractor artefact, not needed with Cypress) - Pinned
cypressto^13.0.0instead of"latest" - Demo Observable source example replaced from Marvel API (broken auth) to Open Library (free, no key)
- Demo HTTP source examples replaced from Google Maps (requires key) to Nominatim/OpenStreetMap (free, no key)
- RTL demo updated to use Arabic city names with
dir="rtl"scoped to the demo area only
Added
- Angular Material toolbar in demo app with library title and links to GitHub / npm
- Demo examples use
<mat-card>layout in a responsive CSS grid (2-column desktop, 1-column mobile) - Collapsible "View Template" expansion panel per demo example
MatToolbarModule,MatCardModule,MatExpansionModule,MatButtonModuleadded to demo module- Revamped
styles.scss: indigo-pink Material theme, global typography, dark code-block styling - Descriptive subtitles and usage hints on all directive and component demo examples
- Restructured README: badges, API reference table, version-compatibility table, updated dev instructions
What's Changed
- Update app.service.ts by @almothafar in #450
- Bump cookie, socket.io and express by @dependabot[bot] in #451
- Bump postcss and @angular-devkit/build-angular by @dependabot[bot] in #453
- Bump fast-uri from 3.0.1 to 3.1.2 by @dependabot[bot] in #452
- Bump follow-redirects from 1.15.9 to 1.16.0 by @dependabot[bot] in #455
- Bump lodash from 4.17.21 to 4.18.1 by @dependabot[bot] in #456
- Bump ip-address and socks by @dependabot[bot] in #457
- Bump minimatch from 3.1.2 to 3.1.5 by @dependabot[bot] in #458
- Bump flatted from 3.3.1 to 3.4.2 by @dependabot[bot] in #459
- Bump qs, body-parser and @cypress/request by @dependabot[bot] in #460
- Phase 1: pre-upgrade cleanup + demo revamp (v18.5.0) by @almothafar in #464
Full Changelog: 18.0.0...18.5.0