Skip to content

Latest commit

 

History

History
334 lines (178 loc) · 16.6 KB

CHANGELOG.md

File metadata and controls

334 lines (178 loc) · 16.6 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

17.0.2 (2023-11-12)

Bug Fixes

  • adapt to @angular-devkit/build-angular:application builder (#88) (8d06efe), closes #87
  • correct sideEffects path (aeaf3bf)

17.0.1 (2023-11-08)

Bug Fixes

  • align @schematics/angular version (4468665)

17.0.0 (2023-11-08)

17.0.0-next.1 (2023-11-04)

17.0.0-next.0 (2023-11-04)

⚠ BREAKING CHANGES

  • Upgrade to Angular 17

Features

  • rename browserTarget to buildTarget and add migration (#86) (9ff1e18)
  • upgrade to Angular 17 (#85) (6e45fe9)

16.0.0 (2023-05-03)

⚠ 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)

15.1.0 (2023-03-22)

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)

15.0.2 (2022-11-24)

Bug Fixes

15.0.1 (2022-11-19)

Bug Fixes

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

15.0.0 (2022-11-18)

⚠ 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

14.0.1 (2022-06-04)

Bug Fixes

  • update peer dependencies version range (04d6f55)

14.0.0 (2022-06-04)

⚠ BREAKING CHANGES

  • Update to Angular 14

  • update to Angular 14 (875ce64)

13.2.1 (2022-04-14)

13.2.0 (2022-04-14)

Features

13.1.0 (2022-02-06)

Features

  • add --nginx flags for native cli command (#67) (bbcda62)
  • implement substitute command for the native CLI (#65) (f234c6b), closes #64

Bug Fixes

  • mark process and ng-env imports as having side effects (#66) (bae19f1)

13.0.0 (2021-11-18)

⚠ BREAKING CHANGES

  • This also refactors the ngsscbuild builder extensively. This breaking change will only affect you, if you used the internals of this library.
  • Switch to Ivy and the new Angular Package Format.

Features

  • enable VariableDetector to also detect index access usages (702dac3)
  • implement experimental builders for build (browser) and server (dev-browser) targets (5b5c022)
  • update to Angular 13 (df5949f)

Bug Fixes

  • deprecate NG_ENV variant (501ee6c)

12.0.0 (2021-05-18)

⚠ BREAKING CHANGES

  • Updated to support version 12 of Angular

  • update to Angular 12 (e9c7378)

11.0.2 (2020-12-03)

Bug Fixes

  • don't use deprecated default options for non aotSupport builds (e0b431e)

11.0.1 (2020-11-16)

11.0.0 (2020-11-16)

10.2.0 (2020-10-25)

Features

  • update download url of Dockerfiles if available (368e5eb)

10.1.0 (2020-10-18)

Features

  • add ngsw.json detection and updating to native cli (1dd77fa)

10.0.1 (2020-07-05)

Bug Fixes

10.0.0 (2020-07-05)

⚠ BREAKING CHANGES

  • Updating to Angular 10.

Features

  • add ngssc binaries for OSX (darwin) (0561921)

  • update to Angular 10 (2b3e6b7)

9.0.2 (2020-03-03)

Bug Fixes

  • export schematics factories named (8c44ff3)

9.0.1 (2020-03-02)

Bug Fixes

  • export ngsscBuild as a function and builder as default (dc2ae70)

9.0.0 (2020-02-07)

9.0.0-next.0 (2020-02-01)

Features

  • make insert commands idempotent (3c55e34)
  • upgrade to angular 9-rc (f948ae5)

8.2.1 (2020-01-23)

Bug Fixes

  • mark new filePattern option as optional (b43ca20)

8.2.0 (2020-01-23)

Features

  • add filePattern option to builder (e7d51be), closes #37

8.1.3 (2020-01-20)

Bug Fixes

  • tokenizer should not short circuit (d849f6c), closes #38

8.1.2 (2020-01-12)

Bug Fixes

  • bump handlebars from 4.1.2 to 4.5.3 (#35) (de53338)

8.1.1 (2019-10-23)

Refactor

  • No longer changing working directory in the cli

8.1.0 (2019-10-23)

Features

  • Add uncompressed binaries

8.0.0 (2019-08-25)

Bugfix

  • Fixed issue with native cli --recursive

8.0.0-beta.4 (2019-07-19)

Bugfix

  • Fixed iife insertion

8.0.0-beta.3 (2019-07-19)

Bugfix

  • Fixed dependency issue with glob-to-regexp

8.0.0-beta.2 (2019-07-19)

Features

  • Implemented insert function (import { insert } from 'angular-server-side-configuration';)

Bugfix

  • Fixed issue in native cli

8.0.0-beta.1 (2019-07-14)

Features

  • Added additionalEnvironmentVariables to builder options
  • Implemented ng update migration

8.0.0-beta.0 (2019-06-30)

Features

  • Rewrote the library to use Angular schematics and builders
  • Added --recursive flag to the native CLI

Breaking Changes

  • Removed the npm CLI and most of the existing internal implementation
  • Dropped support for configuration embedded in html

2.0.0 (2019-04-14)

Features

  • Added documentation for the native cli

2.0.0-beta.1 (2019-04-13)

The detection and insertion of environment variables has been separated. Detection is now executed at build time by wrapping the ng build command (e.g. ngssc ng build). This will generate an ngssc.json file, which can be used by the ngssc insert command. See the README for more information.

Features

  • New command ngssc for detecting environment variable usage

Breaking Changes

  • The ngssc wrap-aot has been merged into the ngssc command as an optional flag --wrap-aot.
  • The ngssc insert command requires an ngssc.json file or embedded configuration in the html files.

2.0.0-beta.0 (2019-03-10)

Features

  • Implemented NG_ENV variant as an alternative for process.env

Breaking Changes

  • Removed deprecated ProcessEnvConfiguration

1.3.0 (2019-03-09)

Features

  • Created ProcessEnvConfiguration, which will replace EnvironmentVariablesConfiguration
  • Created class Configuration, which is the base implementation for ProcessEnvConfiguration and EnvironmentVariablesConfiguration

Deprecation

  • EnvironmentVariablesConfiguration has been deprecated. Use ProcessEnvConfiguration instead

Internal Changes

  • Switched testing framework from mocha/chai/nyc to jest