Skip to content

Commit 57abb54

Browse files
Merge pull request #1420 from puppetlabs/release-prep
Release prep v3.4.0
2 parents 594f971 + 8195705 commit 57abb54

File tree

4 files changed

+91
-9
lines changed

4 files changed

+91
-9
lines changed

CHANGELOG.md

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,44 @@ All notable changes to this project will be documented in this file.
55

66
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
77

8-
## [v3.3.0](https://github.com/puppetlabs/pdk/tree/v3.3.0) - 2024-09-10
8+
## [v3.4.0](https://github.com/puppetlabs/pdk/tree/v3.4.0) - 2024-11-25
9+
10+
[Full Changelog](https://github.com/puppetlabs/pdk/compare/v3.3.0...v3.4.0)
11+
12+
### Added
13+
14+
- (CAT-2141) Update `json-schema` dependency [#1412](https://github.com/puppetlabs/pdk/pull/1412) ([david22swan](https://github.com/david22swan))
15+
- (CAT-643) Add forge gem upload functionality [#1403](https://github.com/puppetlabs/pdk/pull/1403) ([danadoherty639](https://github.com/danadoherty639))
16+
17+
### Fixed
18+
19+
- (CAT-2162) Remove support for SLES 12 [#1418](https://github.com/puppetlabs/pdk/pull/1418) ([david22swan](https://github.com/david22swan))
20+
- (CAT-2155) Remove metadata_syntax_validator parser swap to `JSON::Pure` [#1415](https://github.com/puppetlabs/pdk/pull/1415) ([david22swan](https://github.com/david22swan))
21+
- (CAT-2128) Remove `json_pure` dependency [#1411](https://github.com/puppetlabs/pdk/pull/1411) ([david22swan](https://github.com/david22swan))
22+
- (maint) Fix Gem::Platform.match() deprecation warning [#1408](https://github.com/puppetlabs/pdk/pull/1408) ([jhbuchanan45](https://github.com/jhbuchanan45))
23+
- (CAT-2007) Update http setting cert to setting ca_file [#1398](https://github.com/puppetlabs/pdk/pull/1398) ([david22swan](https://github.com/david22swan))
24+
- (CAT-2007) Use vendored cert files and VERIFY_PEER wth NET::HTTP on Windows [#1396](https://github.com/puppetlabs/pdk/pull/1396) ([david22swan](https://github.com/david22swan))
25+
- (CAT-2040) pdk spinner inconsistent on windows [#1394](https://github.com/puppetlabs/pdk/pull/1394) ([alex501212](https://github.com/alex501212))
26+
27+
## [v3.3.0](https://github.com/puppetlabs/pdk/tree/v3.3.0) - 2024-09-11
928

1029
[Full Changelog](https://github.com/puppetlabs/pdk/compare/v3.2.0...v3.3.0)
1130

12-
## Added
31+
### Added
1332

33+
- (CAT-1928) Update Supported OS on new module to match what is expected [#1381](https://github.com/puppetlabs/pdk/pull/1381) ([david22swan](https://github.com/david22swan))
34+
- (CAT-1896) - Use puppet-modulebuilder for `PDK build` [#1374](https://github.com/puppetlabs/pdk/pull/1374) ([jordanbreen28](https://github.com/jordanbreen28))
1435
- Skip 'name' validation when in a controlrepo context [#1352](https://github.com/puppetlabs/pdk/pull/1352) ([garrettrowell](https://github.com/garrettrowell))
15-
- (CAT-1896) - Use puppet-modulebuilder for PDK build [#1374](https://github.com/puppetlabs/pdk/pull/1374) ([jordanbreen28](https://github.com/jordanbreen28))
1636

1737
### Fixed
1838

39+
- (CAT-2026) Update how `pdk test unit --list` detects an error [#1388](https://github.com/puppetlabs/pdk/pull/1388) ([david22swan](https://github.com/david22swan))
40+
- Support executable templates on filesystems mounted with `noexec` [#1383](https://github.com/puppetlabs/pdk/pull/1383) ([nabertrand](https://github.com/nabertrand))
41+
- (CAT-1786) Remove Fedora 36 from the and add Fedora 40 to the PDK README [#1379](https://github.com/puppetlabs/pdk/pull/1379) ([LukasAud](https://github.com/LukasAud))
42+
- (CAT-648) - Mark release*.rb files as non-executable [#1378](https://github.com/puppetlabs/pdk/pull/1378) ([jordanbreen28](https://github.com/jordanbreen28))
1943
- (CAT-1643) Update childprocess and remove patch [#1356](https://github.com/puppetlabs/pdk/pull/1356) ([david22swan](https://github.com/david22swan))
20-
- (CAT-2026) Update how pdk test unit --list detects an error [#1388](https://github.com/puppetlabs/pdk/pull/1388) ([david22swan](https://github.com/david22swan))
2144

22-
## [v3.2.0](https://github.com/puppetlabs/pdk/tree/v3.2.0) - 2024-05-02
45+
## [v3.2.0](https://github.com/puppetlabs/pdk/tree/v3.2.0) - 2024-05-08
2346

2447
[Full Changelog](https://github.com/puppetlabs/pdk/compare/v3.1.0...v3.2.0)
2548

@@ -57,6 +80,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
5780
[Full Changelog](https://github.com/puppetlabs/pdk/compare/v2.7.1...v3.0.0)
5881

5982
### Changed
83+
6084
- (CONT-1134) Bump PDK Templates REF [#1264](https://github.com/puppetlabs/pdk/pull/1264) ([chelnak](https://github.com/chelnak))
6185
- (CONT-1154) Disable console command [#1263](https://github.com/puppetlabs/pdk/pull/1263) ([chelnak](https://github.com/chelnak))
6286
- (CONT-1130) Bump PDK gem version [#1260](https://github.com/puppetlabs/pdk/pull/1260) ([chelnak](https://github.com/chelnak))

docs/pdk_known_issues.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# PDK known issues
22

3+
## PDK 3.4.0 - Issue with utilising bundled templates
4+
5+
We have recently begun seeing an issue with the default bundled templates on certain OSs, with the pdk failing to see them as valid as shown in the below error.
6+
7+
```
8+
pdk (FATAL): Unable to find a valid module template to use.
9+
```
10+
11+
Through investigation this seems most likely to be an issue with a dependency brought in throught Git and unfortunately one that we have not been able to resolve in time for this release.
12+
13+
This error is most commonly found when creating a new module or attempting to update a module that was previously created from the default templates, within an airgapped environment.
14+
15+
There is a relatively simple solution to get around this however, though it does require a few extra steps and that is to clone down the pdk-template repo onto your machine and target it manually as shown below.
16+
17+
```
18+
pdk new module example --template-url=file:///Users/example.user/Github/pdk-templates --template-ref=3.4.0
19+
pdk update --template-url=file:///Users/example.user/Github/pdk-templates --template-ref=3.4.0
20+
```
21+
22+
Once the first run has been made, the PDK will store your targeted templates location and so your next run should automatically go to it moving forward, until such time as you target another or clear your .pdk cache.
23+
324
## PDK v3.3.0 requires puppet-modulebuilder
425

526
With the v3.3.0 release of the PDK, it has been updated to utilise the [puppet-modulebuilder](https://github.com/puppetlabs/puppet-modulebuilder) with the previously existing duplicated internal code having been removed. As such anyone who uses `PDK::Module::Build` in their setup will need to update their own code to do the same.
@@ -14,4 +35,4 @@ For more information on how to correct this known issue see the [PDK Troubleshoo
1435

1536
## PDK v3.0.1 Cert expired
1637

17-
This issue was resolved and shipped in PDK v3.1.0, if you are seeing an issue in relation to an expired cert, please upgrade the PDK.
38+
This issue was resolved and shipped in PDK v3.1.0, if you are seeing an issue in relation to an expired cert, please upgrade the PDK.

docs/release_notes_pdk.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,44 @@
22

33
New features, enhancements, and resolved issues for PDK.
44

5+
## PDK 3.4.0
6+
7+
### Deprecations
8+
9+
* Support has been removed for `SLES 12` and packages for it are no being longer built.
10+
11+
### New features and enhancements
12+
13+
* The in built `forge upload` functionality has been replaced with a call to the `puppet_forge` gem.
14+
* `json-schema` dependency updated so as to `~> 5.0` in order for it to be kept it in line with the wider Puppet products.
15+
* Support for `RedHat 8` has been extended to `AARCH64` with new packages built.
16+
17+
### Bug Fixes
18+
19+
* A parser swap to `JSON::Pure` has been removed from the `metadata_syntax_validator` changing the output. This is needed as the parser no longer being supported by the `json`/`json_pure` gem.
20+
* Remove dependency on `json_pure` gem as it is no longer necesary with `json` being added as a default ruby gem.
21+
* Deprecated call `Gem::Platform.match()` replaced with the modern `Gem::Platform.match_spec?` within `puppet_version.rb`.
22+
* Update `vendored_file.rb` to use vendored cert files and `VERIFY_PEER` with `NET::HTTP` on Windows machines.
23+
* The above change to `vendored_file.rb` has been updated to set `http.ca_file` rather than `http.cert`.
24+
* PDK spinner has been updated on Windows to be more consistent, with tick marks now being given upon success.
25+
26+
### Runtime Changes
27+
28+
* Version of `git` gem bundle within runtime set to `2.39.4`.
29+
* `json_pure` gem removed from the runtime.
30+
* `puppet_forge` gem has been added to the runtime pinned to `5.0.4`, with the following dependencies also added:
31+
* Dependency `faraday` pinned to `2.12.0`.
32+
* Dependency `faraday-follow_redirects` pinned to `0.3.0`.
33+
* Dependency `faraday-net_http` pinned to `3.3.0`.
34+
* Dependency `semantic_puppet` pinned to `1.1.0`.
35+
* Dependency `minitar` already present, pin kept at `0.9`.
36+
37+
### Template Changes
38+
39+
* `puppet_blacksmith` gem has been added to the templates, pinned to `~> 7.0`.
40+
* `puppetlabs_spec_helper` gem has been repinned to `~> 8.0`.
41+
* Default `lint` configuration has been updated to match that within `puppetlabs_spec_helper`. Notation added to help ensure they are kept in sync.
42+
543
## PDK 3.3.0
644

745
### New features and enhancements
@@ -21,7 +59,6 @@ New features, enhancements, and resolved issues for PDK.
2159

2260
### Template Changes
2361

24-
* Updated to require `facterdb` 1.26 or newer
2562
* Bolt-related files added to the .gitignore default paths
2663
* `puppetlabs_sec_help` pinned to 7.3 or newer and `.rspec.erb` removed to account
2764
* Pin added for `rexml` to account for Windows issues

lib/pdk/version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module PDK
2-
VERSION = '3.3.0'.freeze
3-
TEMPLATE_REF = '3.3.0.1'.freeze
2+
VERSION = '3.4.0'.freeze
3+
TEMPLATE_REF = '3.4.0'.freeze
44
end

0 commit comments

Comments
 (0)