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.
- …
- …
- …
- …
- …
- …
1.0.0 - 2023-03-07
- core: FRONTEND-4243 :: Feature :: Harmony-typescript
NetworkDataSource
(#131) - angular: TS-8897 :: Feature :: Deprecate
createAngularProviders
in favor ofangularProvidersBuilder
(#139)angularProvidersBuilder
added. The old method failed on production builds as it used strings to derive the method name.- Usage:
- 1: Create the builder, pass the Angular provider for the pure TS Harmony provider
- 2: In short form, set the class to provide and how to retrieve it from the provider
- 3: If custom deps are needed, pass an array as third parameter. Note that the Harmony provider must go in the first position
- 4: Build the Angular providers array.
@NgModule({ // 1. providers: angularProvidersBuilder({ provide: ExampleProvider, useFactory: () => new ExampleDefaultProvider(), }) // 2. .add(GetCountriesInteractor, (p) => p.provideGetCountries()) // 3. .add(PutCountryInteractor, (p, common) => p.providePutCountry(common.provideStorage()), [ ExampleProvider, CommonProvider, ]) // 4. .build(), }) export class ExampleProviderModule {}
- angular: TS-8897 :: Feature :: Deprecate
createAngularProviders
in favor ofangularProvidersBuilder
(#139)createAngularProviders
is removed in favor ofangularProvidersBuilder
, see Added section.
- bugfender: FRONTEND-7941 :: Bug :: Remove
@bugfender/common
requirement (#135) - all: FRONTEND-8163 :: Bug :: Fix invalid
main
field error (#136) - core: FRONTEND-9706 :: Feature :: Allow void as a return type for NetworkDataSource (#141)
0.12.0 - 2023-01-19
- core: FRONTEND-8367 :: Feature Internal :: Add a Changelog (#132)
- core: FRONTEND-8139 :: Feature Internal :: Tweak log tags rendering (#128)
- core: FRONTEND-3555 :: Feature :: Merge Logger & AbstractLogger and improve API (#124).
- core: FRONTEND-1702 :: Feature Internal :: Tweak tooling configuration (#118).
- core: FRONTEND-7708 :: Feature Internal :: Remove createCacheDecorator in favor of self contained
Cached
decorator (#127). - core: FRONTEND-3575 :: Feature Internal :: Refactor InMemoryDataSource to use
Map
(#129)
- core: BACKEND-3553 :: Feature :: Harmony TS | Queries deprecation (#121).
0.11.0-0.11.2 - 2022-12-02
- examples: BACKEND-1431 :: Feature Internal :: Harmony TS | Add
API.http
documentation for backend example (#112). - examples: FRONTEND-5167 :: Feature Internal :: Refactor Angular sample to use view-states (#115).
- FRONTEND-2716 :: Feature Internal :: Add owners to Harmony-TS - Github (#117).
- angular: FRONTEND-1215 :: Feature :: Add createAngularProviders in a similarway to
createNestProviders
(#119).
- core: Remove optionals (
?
) from SQL query signatures (#72). - core: Improve StorageDataSource (#73).
- core: Fix "put" pipeline signatures (#75).
- core: Enable strict mode (#76).
- core: Repurpose
Repository
&DataSource
to express the combination of get/put/delete types (#108). - core: BACKEND-1429 :: Feature-Internal :: Use abstract classes for SQLInterface & SQLDialect (for DI) (#111).
- core: FRONTEND-1411 :: Feature Internal :: Change harmony-core
class-transformer
dependency into apeerDependency
(#114).
- core: ALL-8972 :: Feature :: Delete/deprecate getAll and putAll from Harmony (#97).
- core: Deprecated
deleteAll
removed (#69).
- core: FRONTEND-3512 :: Bug :: Relax
Type<T>
andHttpRequestBuilder
return types (#123). - core: FRONTEND-3523 :: Bug :: Fix
HttpRequestBuilder.setResponseConstructor
for array generics (#125).
- core: Upgrade dependencies.
- core: BACKEND-1205 :: Feature Internal :: Update bcrypt cost factor (#113).
0.10.0 - 2021-09-16
- core: Upgrade dependencies.
0.9.0 - 2020-08-04
- bugfender: Add
@mobilejazz/harmony-bugfender
package.
- core: Clean-up project.
0.8.0-0.8.2 - 2021-04-07
- angular: Add option to set FormData.
- core: Implements cache operation fallback.
- core:
UrlBuilder.prepareQueryParameters
handle falsy values.
- core: Auditing all packages and removing all vulnerabilities.
0.7.0 - 2020-12-04
- core: New SQL Params paradigm (#49).
0.6.0-0.6.7 - 2020-12-03
- core: Adding support for better sql params support.
- core: Update to Bugfender Web SDK 1.x
- core: Allow empty SQLWhere Queries.
- core: Fixing SQLRowCounter to support empty SQLWhere queries.
0.5.0-0.5.1 - 2020-07-15
- core: Add linting.
- core: Implementing soft delete and error codes.
0.4.1 - 2020-05-13
- core: Add Bugfender logger
0.3.0-0.3.4 - 2020-04-08
- core, nest: Support for PostgresSQL and MySQL.
- core: Add test infrastructure.
- nest: Adding token invalidation support.
- core: Use ES5 target instead of ES6 for maximum browser compatibility.
- core: Removing offset limit limitation if where querery is not paginated.
- core: Add
deleteAll
deprecation notices.
- core: Security fixes &
package-lock.json
update.
0.2.0 - 2020-01-10
- core: Add
Logger
implementation. - core: Adding new Forbidden error.
- core: Adding sql interface.
- typeorm: Added the new typeorm sql interface.
- core: Adding sql data source.
- nest: Adding oauth sql script.
- core: Cleaning datasource and repository interfaces from ids.
- core: Upgrading typescript to new datasource interface.
- core: Modifying lerna scripts with canary option.
- core: Improving constructors implementation.
- nest: Moving crypto utils to harmony-nest.
- core: Change library target compilation to ES2015 to have better browsers support.
- core: Update dependencies.
0.1.0-0.1.3 - 2019-11-07
First release! 🥳
- core: Base project structure.
- core: Add JsonSerializer/Deserializer Mapper + Network/Storage Operations + Dictionary refactor + Core errors + Angular package.
- typeorm: Added method that parse every condition expressed as array and add an
In
clause before - angular: Added Parameter Type including arrays.
- core: Make Operation optional for
DeleteAll
andPutAll
interactors. - core: Adding new features as
MockDataSource
orVoidDataSource
. - core: Implementing in-memory data-source and cache repository.
- core: Adding InvalidArgumentError.
- core: Change delete related return types to
void
. - core: Cache repository to throw
OperationNotSupportedError
instead ofMethodNotImplementedError
. - core: Improve constructors code.
- angular: Fix
setUrlParameters
method. - core: Fix cache repository.
- core: Fix cache issue on
getAll
.