Releases: googleapis/nodejs-dlp
v0.8.1
v0.8.0
v0.7.0
v0.6.0
v0.5.0
v0.4.0
Features
In this minor release we made some compatible updates to the v2
protos. The existing code will work without any changes.
v0.3.0
Features
In this release the default endpoint changes to v2
endpoint of the Google Cloud Data Loss Prevention service. This is a major change and your existing code will likely require some changes as well. If you need to use the old endpoint, v2beta1
, you can still do so for now by specifying the endpoint:
const dlp = require('@google-cloud/dlp').v2beta1;
but we recommend that you upgrade your code to use the default v2
endpoint as it's going to be the last incompatible change before this library is released to General Availability.
@google-cloud/dlp v0.2.0
⚠️ Breaking Changes!
New client class
The client object is no longer initialized with require('@google-cloud/dlp')()
. This used to return a function that built and returned an internal class.
We now expose an ES6 class directly; there are no wrappers or obfuscation. Basic usage looks like this:
// Import the language module.
const dlp = require('@google-cloud/dlp');
// Instantiate a client class.
let client = new dlp.DlpServiceClient();
Note that the API itself is in beta, and backwards incompatible changes there are possible. When the stable v2
of the API is released, the next client library update will use that version by default. If you wish to pin to the v2beta1
version, you can do so with:
// Import a specific backend version of the language module.
const dlp = require('@google-cloud/dlp').v2beta1;
Features
Release level
The DLP API is now supported at the beta release level.
Runnable samples
There are now runnable samples in the samples/
directory. These samples demonstrate the use of this API and offer an additional resource for getting started. These also power the readme, and are automatically tested to ensure that they are up-to-date and correct.
New methods
- Add
analyzeDataSourceRisk
method. - Add
deidentifyContent
method. - Add
inspectContent
support for BigQuery tables.
Implementation Details
- Change to a new linter (ESLint) and code style formatter (prettify).
- Update docs to use JSDoc 3.
- Migrate to the
googleapis/nodejs-dlp
repository.
Refer to the nodejs-dlp API reference documentation for details.
@google-cloud/dlp v0.1.1
@google-cloud/dlp v0.1.0
Digital Loss Prevention
The DLP API lets you understand and manage sensitive data. It provides fast, scalable classification and optional redaction for sensitive data elements like credit card numbers, names, social security numbers, passport numbers, US and selected international driver’s license numbers, and phone numbers. The API classifies this data using more than 50 predefined detectors to identify patterns, formats, and checksums, and even understands contextual clues. The API supports text and images – just send data to the API or specify data stored on your Google Cloud Storage, BigQuery, and Cloud Datastore instances.