Skip to content

Commit feefe3f

Browse files
authored
Release 1.39.0 (#222)
1 parent b724a50 commit feefe3f

File tree

3 files changed

+26
-25
lines changed

3 files changed

+26
-25
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changes
22

3+
## 1.39.0 / 2020-02-04
4+
5+
* [Added] Allow Setting Proxy without Using HTTP_PROXY, etc.. See [#180](https://github.com/DataDog/dogapi-rb/pull/180). Thanks [KingAlex42](https://github.com/KingAlex42).
6+
* [Added] [capistrano] Add ability to use `etc.getpwuid` instead of `etc.getlogin` to get the user name. See [#146](https://github.com/DataDog/dogapi-rb/pull/146). Thanks [rkul](https://github.com/rkul).
7+
* [Fixed] Check exit code of `hostname -f` for failures. See [#219](https://github.com/DataDog/dogapi-rb/pull/219).
8+
* [Added] Add `validate_tags` util to check that `tags` is an array of strings. See [#218](https://github.com/DataDog/dogapi-rb/pull/218).
9+
* [Added] Added function to deal with redirection of HTTP requests. See [#200](https://github.com/DataDog/dogapi-rb/pull/200).
10+
* [Added] Add Synthetics support. See [#210](https://github.com/DataDog/dogapi-rb/pull/210).
11+
* [Added] Add dashboard read_only option. See [#135](https://github.com/DataDog/dogapi-rb/pull/135). Thanks [tjoyal](https://github.com/tjoyal).
12+
* [Added] Add options for force delete monitors. See [#213](https://github.com/DataDog/dogapi-rb/pull/213).
13+
314
## 1.38.0 / 2019-12-13
415

516
* [BUGFIX] Fix setting keys in both query params and headers. See [#194][]

RELEASING.md

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Releasing
2-
32
This document summarizes the process of doing a new release of this project.
43
Release can only be performed by Datadog maintainers of this repository.
54

@@ -9,7 +8,6 @@ This project does not have a strict release schedule. However, we would make a r
98
- Releases may be done more frequently than the above mentioned window.
109

1110
## Prerelease checklist
12-
1311
* Check and upgrade dependencies where it applies and makes sense.
1412
- Create a distinct pull request and test your changes since it may introduce regressions.
1513
- While using the latest versions of dependencies is advised, it may not always be possible due to potential compatibility issues.
@@ -18,39 +16,31 @@ This project does not have a strict release schedule. However, we would make a r
1816
- Locally and in the continuous integration system.
1917
* Manually test changes included in the new release.
2018
* Make sure documentation is up-to-date.
21-
* [Update changelog](#update-changelog)
22-
- Create a distinct pull request.
23-
24-
## Update Changelog
25-
26-
### Prerequisite
27-
28-
- Install [datadog_checks_dev](https://datadog-checks-base.readthedocs.io/en/latest/datadog_checks_dev.cli.html#installation) using Python 3.
29-
30-
### Commands
31-
32-
- See changes ready for release by running `ddev release show changes .` at the root of this project. Add any missing labels to PRs if needed.
33-
- Run `ddev release changelog . <NEW_VERSION>` to update the `CHANGELOG.md` file at the root of this repository
34-
- Commit the changes to the repository in a release branch and get it approved/merged.
3519

3620
## Release Process
37-
3821
### Prerequisite
39-
4022
Install [bundler](https://bundler.io/) and setup your RubyGems credentials:
4123
1. Register an account on https://rubygems.org/
42-
1. *Datadog Admins only* - Be assigned to Datadog's RubyGems gems by an owner*.
24+
1. *Datadog Admins only* - Be assigned to Datadog's RubyGems gems by an owner.
4325
1. Set a `~/.gem/credentials` file as the following:
4426
```
4527
---
4628
:rubygems_api_key: $RUBYGEMS_APIKEY
4729
```
30+
1. Install [datadog_checks_dev](https://datadog-checks-base.readthedocs.io/en/latest/datadog_checks_dev.cli.html#installation) using Python 3.
4831

49-
### Release
32+
### Update Changelog
33+
#### Commands
34+
- See changes ready for release by running `ddev release show changes .` at the root of this project. Add any missing labels to PRs if needed.
35+
- Run `ddev release changelog . <NEW_VERSION>` to update the `CHANGELOG.md` file at the root of this repository
36+
- Commit the changes to the repository in a release branch. Do not merge yet.
5037

51-
1. Tag the release with an annotated tag (based on your generated changelog), e.g.: `git tag -m"1.30" 1.30 `.
52-
1. Update the gem version number in `lib/dogapi/version.rb`, create a PR and merge it.
38+
### Release
39+
1. Update the gem version number in `lib/dogapi/version.rb`, push it to your changelog PR.
40+
1. Merge the PR to master.
41+
1. Create the release in the [Github releases page](https://github.com/DataDog/dogapi-rb/releases).
42+
1. Checkout the tag created at the previous step.
5343
1. Build the gem: `bundle exec gem build dogapi.gemspec`.
5444
1. Push the gem: `bundle exec gem push dogapi-x.x.x.gem`.
55-
1. Create a release in the [Github releases page](https://github.com/DataDog/dogapi-rb/releases), it's ok to copy&paste from the changelog directly.
56-
1. Check [Ruby Gem is published](https://rubygems.org/gems/dogapi).
45+
1. Check that the [Ruby Gem is published](https://rubygems.org/gems/dogapi).
46+
1. Bump the version again in `lib/dogapi/version.rb` to a dev version (e.g. `1.39.0` -> `1.40.0.dev`), open a PR and merge it to master.

lib/dogapi/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
# Copyright 2011-Present Datadog, Inc.
44

55
module Dogapi
6-
VERSION = '1.38.0'
6+
VERSION = '1.39.0'
77
end

0 commit comments

Comments
 (0)