Skip to content

Releases: kyubisation/angular-server-side-configuration

v17.0.1

08 Nov 22:04
Compare
Choose a tag to compare

Full Changelog: v17.0.0...v17.0.1

v17.0.0

08 Nov 22:04
Compare
Choose a tag to compare

What's Changed

Full Changelog: v16.0.0...v17.0.0

v17.0.0-next.1

08 Nov 22:04
Compare
Choose a tag to compare
v17.0.0-next.1 Pre-release
Pre-release

What's Changed

Full Changelog: v16.0.0...v17.0.0-next.1

v16.0.0

03 May 23:30
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • In order to improve security (and apply Secure by default), the default for searchPattern has been changed to {sourceRoot}/**/environments/environment*.ts (from {sourceRoot}/**/!(*server*).ts). If your project uses environment variables in other files, update the searchPattern entry in your ngsscbuild block in your angular.json.
  • Update to Angular 16

Features

  • change default search pattern to only include environment files (#82) (f0aef80)
  • upgrade to Angular 16 (#81) (c1f4d02)

Full Changelog: v15.1.0...v16.0.0

v15.1.0

22 Mar 17:48
Compare
Choose a tag to compare

Features

  • add searchPattern as an option and restrict default search pattern (#75) (d701f51)

Bug Fixes

  • use correct path for environment files in ng-add (421b3ff)

Security Notice

With the change in version 15 to search all files for environment variables, a potential information disclosure vulnerability was introduced, as unintended environment variables might be exposed.

You might be affected, if you use environment variables in your angular.json workspace that expose application internals (like used services/tools) or secrets that are also available on the deployed environment (e.g. a monorepo that also contains a Node.js backend, which is deployed in the same system/container/pod as the frontend bundle).

This should have little to no impact, if you only have a simple angular.json workspace without a backend component.

With 15.1 this risk is mitigated, as the lookup path is restricted by adding an option searchPattern which defaults to {sourceRoot}/**/!(server).ts (only search sourceRoot of the related angular.json project and exclude files with server in the name).

Full Changelog: v15.0.2...v15.1.0

v15.0.2

24 Nov 09:26
Compare
Choose a tag to compare

Bug Fixes

v15.0.1

19 Nov 12:58
Compare
Choose a tag to compare

Bug Fixes

  • aggregate detected variables correctly (#72) (b8ed332)

v15.0.0

18 Nov 23:45
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • Angular 15 is now required. With version 15 of the Angular CLI, environment files are no longer generated by default. In order to adapt, using ng add angular-server-side-configuration will try to add the import in either app.module.ts, app.components.ts or main.ts depending on availability. The ngssc builder will also now search all files for environment variable usages instead of just the defined environment file.

Features

v14.0.1

04 Jun 23:47
Compare
Choose a tag to compare

Bug Fixes

  • update peer dependencies version range (04d6f55)

Full Changelog: v14.0.0...v14.0.1

v14.0.0

04 Jun 23:24
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

Full Changelog: v13.2.1...v14.0.0