Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Feat/angular 13 - work in progress... #1006

Open
wants to merge 48 commits into
base: feat/use-angular-13
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
6826172
feat(dependencies): allow Angular 13 (#886)
Haroenv Jan 18, 2022
512c060
chore: release v4.1.0 (#887)
instantsearch-bot Jan 18, 2022
9e0952c
chore(examples): update instantsearch (#890)
Haroenv Jan 26, 2022
33b7be3
feat(highlight): use helper from is.js instead of custom implementati…
dhayab Jan 26, 2022
6a45385
chore: update shipjs config to work with master (#893)
FabienMotte Jan 26, 2022
fbe9f59
feat: add `<ais-reverse-highlight>`, `<ais-snippet>` and `<ais-revers…
dhayab Jan 27, 2022
4565c06
feat(widgets): support $$widgetType metadata (#950)
dhayab May 16, 2022
3bc7e00
chore: release v4.2.0 (#951)
dhayab May 18, 2022
6d499cd
chore: update peer dependencies range to allow angular 14 (#956)
dhayab Jun 13, 2022
ac79fa0
fix(widgets): remove private access modifier on widgets inputs (#955)
dhayab Jun 13, 2022
5200cba
chore: release v4.2.1 (#957)
dhayab Jun 13, 2022
bf835b7
fix(ais-hierarchical-menu): show full hierarchical parent values (#958)
dhayab Jun 17, 2022
8440a41
fix(searchbox): prevent concurrent query updates from state while inp…
dhayab Jul 19, 2022
cef0b75
feat(search-box): add loading indicator + `showLoadingIndicator` prop…
aymeric-giraudet Aug 12, 2022
2671f0c
chore: release v4.3.0 (#963)
aymeric-giraudet Aug 17, 2022
9599f27
chore: update `instantsearch.js` and fix typings (#964)
aymeric-giraudet Aug 31, 2022
5a37fdb
chore: update `instantsearch.js` (#968)
Oct 18, 2022
77f7f37
fix(dependencies): update instantsearch.js
Haroenv Oct 18, 2022
1a12f5e
chore: release v4.3.1 (#972)
instantsearch-bot Oct 18, 2022
f31a01f
fix(pagination): use pages computed in connector (#978)
flevi29 Nov 8, 2022
852ad61
chore: release v4.3.2 (#979)
instantsearch-bot Nov 8, 2022
d59bf21
feat: support angular 15 through peerDependencies (#980)
Karman40 Nov 30, 2022
ef78e59
chore: release v4.4.0 (#981)
instantsearch-bot Dec 5, 2022
bd5fd63
ci(renovate): disable
Haroenv Jan 4, 2023
23b1a94
ci: use environment variables from context (#983)
dhayab Jan 6, 2023
e19ecf2
fix(SSR): extend history router and inject document into searchBox (#…
aymeric-giraudet Feb 27, 2023
747ef87
chore: release v4.4.1 (#991)
aymeric-giraudet Apr 6, 2023
045e128
build(shipjs): update PR team reviewer (#992)
aymeric-giraudet Apr 17, 2023
517fa7c
introducing partial compilation mode
johan-- Dec 11, 2023
0cbe3b7
using Angular 12.1.0
johan-- Dec 11, 2023
65f16e1
running on angular 12.2.0
johan-- Dec 11, 2023
834d777
reverted to angular 12.1.0
johan-- Dec 11, 2023
99caf90
node modules updated
johan-- Dec 11, 2023
8909af6
temp wip commit
johan-- Dec 11, 2023
2b57255
updated angular to 12.2.1 in media example
johan-- Dec 12, 2023
83d5184
e-commerce angular updated to 12.2.1
johan-- Dec 12, 2023
b4da96b
temp wip commit
johan-- Dec 12, 2023
9e4e675
debugging compilation
johan-- Dec 12, 2023
0fcf7e2
debugging dist/bundles issue...
johan-- Dec 12, 2023
e21e39c
temp wip commit
johan-- Dec 12, 2023
f874e93
temp wip commit
johan-- Dec 12, 2023
554a956
added angular cli to the mix (to facilitate npx update)
johan-- Dec 12, 2023
5297741
removed v3 types (temp)
johan-- Dec 12, 2023
b784ca6
ts-jest update
johan-- Dec 12, 2023
a06a209
post yarn install
johan-- Dec 12, 2023
45a1cce
npx update...
johan-- Dec 12, 2023
2291156
further node module updates
johan-- Dec 12, 2023
fc0a823
debugging build process
johan-- Dec 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
{
"env": {
"development" : {
"compact": false
}
},

"compact" : false,

"presets": [
"env",
"stage-0",
"stage-0"
],
"plugins": [
"transform-decorators-legacy"
Expand Down
8 changes: 8 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2

workflows:
version: 2
ci:
jobs:
- build:
context: fx-libraries

jobs:
build:
docker:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
package-lock.json

.vscode/
.angular/

node_modules/

Expand Down
81 changes: 81 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,84 @@
## [4.4.1](https://github.com/algolia/angular-instantsearch/compare/4.4.0...4.4.1) (2023-04-06)


### Bug Fixes

* **SSR:** inject `document` into searchBox rather than using global in Node environments ([#986](https://github.com/algolia/angular-instantsearch/issues/986)) ([e19ecf2](https://github.com/algolia/angular-instantsearch/commit/e19ecf26e2672608479263972b49f6e8fe003250))



# [4.4.0](https://github.com/algolia/angular-instantsearch/compare/4.3.2...4.4.0) (2022-12-05)


### Features

* support angular 15 through peerDependencies ([#980](https://github.com/algolia/angular-instantsearch/issues/980)) ([d59bf21](https://github.com/algolia/angular-instantsearch/commit/d59bf21397c0d48f96fd634fca71abc4f6f7fd5a))



## [4.3.2](https://github.com/algolia/angular-instantsearch/compare/4.3.1...4.3.2) (2022-11-08)


### Bug Fixes

* **pagination:** use pages computed in connector ([#978](https://github.com/algolia/angular-instantsearch/issues/978)) ([f31a01f](https://github.com/algolia/angular-instantsearch/commit/f31a01fe479c281e4fcaa0d6420a333dac1cf5e8))



## [4.3.1](https://github.com/algolia/angular-instantsearch/compare/4.3.0...4.3.1) (2022-10-18)


### Bug Fixes

* **dependencies:** update instantsearch.js ([77f7f37](https://github.com/algolia/angular-instantsearch/commit/77f7f375063d4b34e27bfacf8372f64808ab4066))



# [4.3.0](https://github.com/algolia/angular-instantsearch/compare/4.2.1...4.3.0) (2022-08-16)


### Bug Fixes

* **ais-hierarchical-menu:** show full hierarchical parent values ([#958](https://github.com/algolia/angular-instantsearch/issues/958)) ([bf835b7](https://github.com/algolia/angular-instantsearch/commit/bf835b76f70650b308bd432371ea7134fbf60c06))
* **searchbox:** prevent concurrent query updates from state while input is focused ([#960](https://github.com/algolia/angular-instantsearch/issues/960)) ([8440a41](https://github.com/algolia/angular-instantsearch/commit/8440a414d3b93c931ca1ae65cacc3a7dc8d1ebc0))


### Features

* **search-box:** add loading indicator + `showLoadingIndicator` prop ([#962](https://github.com/algolia/angular-instantsearch/issues/962)) ([cef0b75](https://github.com/algolia/angular-instantsearch/commit/cef0b75e04df728c8593cff2f32930e48ef86d4f))



## [4.2.1](https://github.com/algolia/angular-instantsearch/compare/4.2.0...4.2.1) (2022-06-13)


### Bug Fixes

* **widgets:** remove private access modifier on widgets inputs ([#955](https://github.com/algolia/angular-instantsearch/issues/955)) ([ac79fa0](https://github.com/algolia/angular-instantsearch/commit/ac79fa07a383492a6cdecdbb209767bd922a5a83))
* update peer dependencies range to allow angular 14 ([#956](https://github.com/algolia/angular-instantsearch/issues/956)) ([6d499cd](https://github.com/algolia/angular-instantsearch/commit/6d499cda1001e700f5c8af3c0dcc5d7f8ba3d0de))



# [4.2.0](https://github.com/algolia/angular-instantsearch/compare/4.1.0...4.2.0) (2022-05-17)


### Features

* **widgets:** support `$$widgetType` metadata ([#950](https://github.com/algolia/angular-instantsearch/issues/950)) ([4565c06](https://github.com/algolia/angular-instantsearch/commit/4565c068e3c42cc4c95505d8728d3ddcdd88b6c7))
* add `<ais-reverse-highlight>`, `<ais-snippet>` and `<ais-reverse-snippet>` components ([#891](https://github.com/algolia/angular-instantsearch/issues/891)) ([fbe9f59](https://github.com/algolia/angular-instantsearch/commit/fbe9f59b43eadf282051bf29bd979ff602a039a4))
* **highlight:** use helper from InstantSearch.js instead of custom implementation ([#888](https://github.com/algolia/angular-instantsearch/issues/888)) ([33b7be3](https://github.com/algolia/angular-instantsearch/commit/33b7be3cd68382828aaf37dfe24edfa513fd4a9d))



# [4.1.0](https://github.com/algolia/angular-instantsearch/compare/4.0.1...4.1.0) (2022-01-18)


### Features

* **dependencies:** allow Angular 13 ([#886](https://github.com/algolia/angular-instantsearch/issues/886)) ([6826172](https://github.com/algolia/angular-instantsearch/commit/68261725cfb9bf67750e6bb2910313fac1a24e94)), closes [#885](https://github.com/algolia/angular-instantsearch/issues/885)



## [4.0.1](https://github.com/algolia/angular-instantsearch/compare/4.0.0...4.0.1) (2021-10-20)


Expand Down
3 changes: 3 additions & 0 deletions examples/e-commerce/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
/tmp
/out-tsc

.angular
.angular/

# dependencies
/node_modules

Expand Down
1 change: 1 addition & 0 deletions examples/e-commerce/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
}
},
"cli": {
"analytics": false,
"warnings": {}
}
}
28 changes: 14 additions & 14 deletions examples/e-commerce/package.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
{
"name": "e-commerce",
"version": "0.0.0",
"version": "0.0.3",
"license": "MIT",
"scripts": {
"start": "ng serve",
"build": "ng build --configuration production --base-href '.' --no-progress"
},
"private": true,
"dependencies": {
"@angular/animations": "12.0.3",
"@angular/common": "12.0.3",
"@angular/compiler": "12.0.3",
"@angular/core": "12.0.3",
"@angular/forms": "12.0.3",
"@angular/platform-browser": "12.0.3",
"@angular/platform-browser-dynamic": "12.0.3",
"@angular/router": "12.0.3",
"@angular/animations": "13.3.11",
"@angular/common": "13.3.11",
"@angular/compiler": "13.3.11",
"@angular/core": "13.3.11",
"@angular/forms": "13.3.11",
"@angular/platform-browser": "13.3.11",
"@angular/platform-browser-dynamic": "13.3.11",
"@angular/router": "13.3.11",
"algoliasearch": "4.10.3",
"angular-instantsearch": "file:../../dist",
"core-js": "2.4.1",
"instantsearch.js": "4.25.0-experimental-typescript.0",
"instantsearch.js": "4.37.3",
"nouislider": "10.1.0",
"rxjs": "6.6.7",
"tslib": "^2.0.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~12.0.3",
"@angular/cli": "12.0.3",
"@angular/compiler-cli": "12.0.3",
"@angular/language-service": "12.0.3",
"@angular-devkit/build-angular": "~13.3.11",
"@angular/cli": "13.3.11",
"@angular/compiler-cli": "13.3.11",
"@angular/language-service": "13.3.11",
"@types/node": "^12.11.1",
"codelyzer": "^6.0.0",
"ts-node": "3.2.2",
Expand Down
6 changes: 6 additions & 0 deletions examples/e-commerce/src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -339,3 +339,9 @@ mark {
display: none;
}
}


.footer{
font-size: 0.75rem;
padding-top: 2rem;
}
13 changes: 5 additions & 8 deletions examples/e-commerce/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
<div class="header-searchbox">
<ais-search-box placeholder="Product, brand, color, …"></ais-search-box>
</div>
<div class="footer">
v0.0.13 | angular 13.1.2
</div>
</header>

<main class="container">
Expand Down Expand Up @@ -154,16 +157,10 @@ <h2>Filters</h2>
{{ item.categories && item.categories[0] }}
</p>
<h1>
<ais-highlight
attribute="name"
[hit]="item"
></ais-highlight>
<ais-highlight attribute="name" [hit]="item"></ais-highlight>
</h1>
<p class="hit-description">
<app-snippet
attribute="description"
[hit]="item"
></app-snippet>
<ais-snippet attribute="description" [hit]="item"></ais-snippet> •
</p>

<footer>
Expand Down
9 changes: 1 addition & 8 deletions examples/e-commerce/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,11 @@ import { NgAisModule } from 'angular-instantsearch';

import { AppComponent } from './app.component';
import { RatingMenu } from './rating-menu/rating-menu.component';
import { Snippet } from './snippet/snippet.component';
import { ResetFiltersMobile } from './reset-filters-mobile/reset-filters-mobile.component';
import { NoResults } from './no-results/no-results.component';

@NgModule({
declarations: [
AppComponent,
RatingMenu,
Snippet,
ResetFiltersMobile,
NoResults,
],
declarations: [AppComponent, RatingMenu, ResetFiltersMobile, NoResults],
imports: [BrowserModule, NgAisModule.forRoot()],
providers: [],
bootstrap: [AppComponent],
Expand Down
20 changes: 0 additions & 20 deletions examples/e-commerce/src/app/snippet/snippet.component.ts

This file was deleted.

1 change: 1 addition & 0 deletions examples/e-commerce/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
</head>
<body>
<app-root></app-root>

</body>
</html>
Loading