domainnameapi 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d999c1d6cbe3a6132491d9be402e03e7b65ea72aa77e5e63e6070221e05437ed
4
- data.tar.gz: aa6302bf7826fc9f74ef1e04504ca3e148b60087d7cd2e6e644ecc4503dac9a3
3
+ metadata.gz: 93a0f0240f006e62a4e07646f35b4be5116d19d4b2dd9bdef31f9007e2590dd8
4
+ data.tar.gz: 4156028762312555c6519776fedd744fd6e9cc4394fc28ee143824fab298f31d
5
5
  SHA512:
6
- metadata.gz: c5b3039c358299ada8ae6ef3320d9bd38846985aa2aca8fddf0c0d4ed9f4dd406c64c8939fe16367d8f164c770bb39a6b8ad0750add9e28a7ed4ed30fe6d4c7b
7
- data.tar.gz: 8caaa0c8f97cf7f9b1c0146703c4064dd799037d90162c3b66aca4780d809fd2433ba33c7b55639c818887e58da48ae606355752593902b4e617661e5cf309f8
6
+ metadata.gz: 67ae0199573b634930c010ffd6fda6fde01021101c167b35dfb148e9827d3d19654012ebb9910e27b257355c292c30d8be4922ccd0223fbdd2d3f89f7a381ab6
7
+ data.tar.gz: 206c55fb9f73206df68c0a8004525b334423edfed82ccbfd3101a7a24bd3876dcdf75812d26d0a58176ce995ad2b0ad2131a78c0274cbeb9530161431b3e3260
data/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ All notable changes to this project are documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [1.0.1] - 2026-11-14
8
+
9
+ ### Changed
10
+
11
+ - Error reporting now has its own Sentry project: `DEFAULT_SENTRY_DSN` points to DomainNameAPI's
12
+ ruby-dna project, so telemetry is active by default as documented. Turn it off with
13
+ `set_error_reporting_enabled(false)`; `sentry_dsn:` still overrides the target.
14
+
7
15
  ## [1.0.0] - 2026-11-09
8
16
 
9
17
  First release: a faithful Ruby port of [php-dna](https://github.com/domainreseller/php-dna)
data/README.md CHANGED
@@ -31,7 +31,7 @@ Register, renew and transfer domains, manage contacts, nameservers, child namese
31
31
 
32
32
  ```ruby
33
33
  # Gemfile
34
- gem 'domainnameapi', git: 'https://github.com/domainreseller/ruby-dna.git', tag: 'v1.0.0'
34
+ gem 'domainnameapi', git: 'https://github.com/domainreseller/ruby-dna.git', tag: 'v1.0.1'
35
35
  ```
36
36
 
37
37
  ```bash
@@ -40,10 +40,10 @@ bundle install
40
40
 
41
41
  ### B) Gem file from the release
42
42
 
43
- Download `domainnameapi-1.0.0.gem` from the [latest release](https://github.com/domainreseller/ruby-dna/releases/latest), then:
43
+ Download `domainnameapi-1.0.1.gem` from the [latest release](https://github.com/domainreseller/ruby-dna/releases/latest), then:
44
44
 
45
45
  ```bash
46
- gem install ./domainnameapi-1.0.0.gem
46
+ gem install ./domainnameapi-1.0.1.gem
47
47
  ```
48
48
 
49
49
  ### C) Manual usage
@@ -139,8 +139,6 @@ Pass `true` as the third constructor argument to use the OTE test gateway (`http
139
139
 
140
140
  When an API call fails, the library can send an error report to DomainNameAPI's own error tracker (Sentry). A small random share of successful calls (4%, plus every call slower than 1 second) can be sent as a performance record. This helps DomainNameAPI find and fix problems. Error reporting is **on by default**.
141
141
 
142
- > ℹ️ In version 1.0.0 the Sentry project for ruby-dna does not exist yet, so the built-in DSN is empty and **nothing is sent**. Reports start once a release ships the DSN. `DomainNameApi::Client.new(id, key, false, sentry_dsn: '...')` sets one explicitly.
143
-
144
142
  **What is sent:**
145
143
 
146
144
  - error code and message
@@ -12,8 +12,8 @@ module DomainNameApi
12
12
  # last request/response state. Telemetry never raises into the caller and
13
13
  # never blocks it: events are posted from a background thread.
14
14
  module Telemetry
15
- # The Sentry DSN for ruby-dna; filled in when the Sentry project exists.
16
- DEFAULT_SENTRY_DSN = ''
15
+ # DomainNameAPI's Sentry project for ruby-dna; set_error_reporting_enabled(false) turns reporting off.
16
+ DEFAULT_SENTRY_DSN = 'https://f73e957c11c042414614660c5fe09889@sentry.atakdomain.com/18'
17
17
 
18
18
  APPLICATION = 'DomainNameAPI-Ruby'
19
19
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module DomainNameApi
4
4
  # Library version, reported in the User-Agent and in telemetry.
5
- VERSION = '1.0.0'
5
+ VERSION = '1.0.1'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: domainnameapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - DomainNameAPI